Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2002 19:14:18 -0400 (EDT)
From:      Dmitry Sagalovskiy <dsagal@runningwave.com>
To:        demon@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   proposed patch for fvwm95
Message-ID:  <20020905185851.R4450-100000@tet.runningwave.com>

next in thread | raw e-mail | index | archive | help
I am not a regular developer, but I found and fixed a bug with
fvwm95-2.0.43a port, which prevents it from displaying a mail-notification
icon if one tries to use a mailbox other than the default one.

The patch is below, it's a one-liner fix. It's almost certainly a problem
with fvwm95 itself (not just the port), but I can't get to their homepage
to tell them about it, so I figured that getting it fixed for FreeBSD
is still way better than nothing.

dmitry

=====================================================================
--- Goodies.c.orig      Wed Dec 11 16:09:20 1996
+++ Goodies.c   Thu Sep  5 19:00:29 2002
@@ -64,7 +64,9 @@
     if (strcasecmp(&tline[Clength+8], "None") == 0) {
       NoMailCheck = True;
     } else {
-      UpdateString(&mailpath, &tline[Clength+11]);
+      /* UpdateString doesn't string spaces or newlines (and +11 is wrong) */
+      /* UpdateString(&mailpath, &tline[Clength+11]); */
+      CopyString(&mailpath, &tline[Clength+8]);
     }
   } else if(strncasecmp(tline,CatString3(Module, "ClockFormat",""),
                          Clength+11)==0) {
=====================================================================



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020905185851.R4450-100000>