Subject: pkg/21463: easytag can't create ~/.easytag/ due to trailing slash
To: None <gnats-bugs@gnats.netbsd.org>
From: Soren Jacobsen <soren@bob.blef.org>
List: netbsd-bugs
Date: 05/05/2003 12:55:15
>Number: 21463
>Category: pkg
>Synopsis: easytag can't create ~/.easytag/ due to trailing slash
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 05 19:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Soren Jacobsen
>Release: NetBSD 1.6.1
>Organization:
>Environment:
pkgsrc from 5/5/2003
>Description:
easytag calls mkdir() with a trailing slash, which fails.
>How-To-Repeat:
Run easytag and try to set some preferences. Notice the many error messages.
>Fix:
Add patch-aa:
$NetBSD$
--- src/setting.c.orig Mon May 5 12:08:19 2003
+++ src/setting.c Mon May 5 12:12:31 2003
@@ -1068,7 +1068,6 @@
easytag_path = g_strconcat(HOME_VARIABLE,
HOME_VARIABLE[strlen(HOME_VARIABLE)-1]!='/'?"/":"",
EASYTAG_DIR,
- EASYTAG_DIR[strlen(EASYTAG_DIR)-1]!='/'?"/":"",
NULL);
if ( (dir=opendir(easytag_path)) == NULL )
Update distinfo, bump PKGREVISION.
I'll feed this upstream as well.
>Release-Note:
>Audit-Trail:
>Unformatted: