Subject: pkg/18796: Fix for mtree(8) in bootstrap-pkgsrc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <sketch@rd.bbc.co.uk>
List: netbsd-bugs
Date: 10/25/2002 07:05:46
>Number: 18796
>Category: pkg
>Synopsis: Fix for mtree(8) in bootstrap-pkgsrc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 25 07:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Jonathan Perkin
>Release: 1.6
>Organization:
British Broadcasting Corporation
>Environment:
SunOS desk06 5.9 Generic_112233-01 sun4u sparc SUNW,Ultra-5_10
>Description:
agc recently merged lukemftp strsep() into bootstrap-pkgsrc mtree(8).
Unfortunately, due to merge botch, it's now broke :)
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -g -O2 -c misc.c -o misc.o
misc.c:309: `stringp' undeclared (first use in this function)
misc.c:309: (Each undeclared identifier is reported only once
misc.c:309: for each function it appears in.)
*** Error code 1
>How-To-Repeat:
>Fix:
Index: misc.c
===================================================================
RCS file: /cache/ncvs/othersrc/bootstrap-pkgsrc/mtree/misc.c,v
retrieving revision 1.4
diff -u -r1.4 misc.c
--- misc.c 2002/10/24 10:14:38 1.4
+++ misc.c 2002/10/25 13:55:27
@@ -299,7 +299,7 @@
#ifndef HAVE_STRSEP
/* taken from the version in lukemftp */
char *
-strsep(char **str, const char *delim)
+strsep(char **stringp, const char *delim)
{
char *s;
const char *spanp;
>Release-Note:
>Audit-Trail:
>Unformatted: