openbsd-ports/devel/cscope/patches/patch-src_command_c

13 lines
545 B
Plaintext

$OpenBSD: patch-src_command_c,v 1.1 2004/02/14 16:10:55 avsm Exp $
--- src/command.c.orig 2004-02-13 20:18:23.000000000 +0000
+++ src/command.c 2004-02-13 20:20:00.000000000 +0000
@@ -866,7 +866,7 @@ countrefs(void)
filelen = 4; /* strlen("File") */
fcnlen = 8; /* strlen("Function") */
numlen = 0;
- while ((i = fscanf(refsfound, "%250s%250s%6s %5000[^\n]", file,
+ while ((i = fscanf(refsfound, "%250s%250s%5s %5000[^\n]", file,
function, linenum, tempstring)) != EOF) {
if (i != 4 ||
!isgraph((unsigned char)*file) ||