From owner-freebsd-ports Thu Sep 5 16:14:31 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 167A837B400; Thu, 5 Sep 2002 16:14:27 -0700 (PDT) Received: from tet.runningwave.com (dsl027-144-067.nyc1.dsl.speakeasy.net [216.27.144.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2951D43E65; Thu, 5 Sep 2002 16:14:21 -0700 (PDT) (envelope-from dsagal@runningwave.com) Received: from tet.runningwave.com (tet.runningwave.com [10.0.0.25] (may be forged)) by tet.runningwave.com (8.12.3/8.12.3) with ESMTP id g85NEJDg006140; Thu, 5 Sep 2002 19:14:19 -0400 (EDT) (envelope-from dsagal@runningwave.com) Received: from localhost (dsagal@localhost) by tet.runningwave.com (8.12.3/8.12.3/Submit) with ESMTP id g85NEIGD006137; Thu, 5 Sep 2002 19:14:19 -0400 (EDT) (envelope-from dsagal@runningwave.com) X-Authentication-Warning: tet.runningwave.com: dsagal owned process doing -bs Date: Thu, 5 Sep 2002 19:14:18 -0400 (EDT) From: Dmitry Sagalovskiy Reply-To: sagalovs@post.harvard.edu To: demon@FreeBSD.org Cc: ports@FreeBSD.org Subject: proposed patch for fvwm95 Message-ID: <20020905185851.R4450-100000@tet.runningwave.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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