pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/25471: cscope fails on creating an inverse index ( cscope [-b] -q )
>Number: 25471
>Category: pkg
>Synopsis: cscope fails on creating an inverse index ( cscope [-b] -q )
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 05 12:18:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Kailash Sethuraman
>Release: 1.6ZK
>Organization:
>Environment:
NetBSD harold 1.6ZK NetBSD 1.6ZK (GENERIC_LAPTOP) #1: Sun Mar 14 13:03:13 SGT
2004
root@kasba:/usr/src/nbsd/obj/usr/src/nbsd/src/sys/arch/i386/compile/GENERIC_LAPTOP
i386
>Description:
The cscope program pkgsrc/devel/cscope fails on creating an inverse index
because the program opens a pipe to sort , but supplies sort an invalid,
obsolete option (-y) .
>How-To-Repeat:
run 'cscope -b -q' in a source directory with a populated cscope.files ( find
. -name "*.[ch]" > cscope.files will create this ) . Building an inverse index
will fail with the usage of sort printed.
>Fix:
--- src/build.c.orig 2001-11-22 17:38:19.000000000 +0000
+++ src/build.c
@@ -443,7 +443,7 @@ build(void)
}
(void) fstat(fileno(postings), &statstruct);
(void) fclose(postings);
- (void) sprintf(sortcommand, "env LC_ALL=C sort -y -T %s %s",
tmpdir, temp1);
+ (void) sprintf(sortcommand, "env LC_ALL=C sort -T %s %s",
tmpdir, temp1);
if ((postings = mypopen(sortcommand, "r")) == NULL) {
(void) fprintf(stderr, "cscope: cannot open pipe to
sort command\n");
cannotindex();
>Release-Note:
>Audit-Trail:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index