From: Hans-Bernhard B. <br...@us...> - 2006-02-21 19:55:04
|
Update of /cvsroot/cscope/cscope/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2604/src Modified Files: vpinit.c Log Message: Fix handling of slightly malformed VPATH contents. Index: vpinit.c =================================================================== RCS file: /cvsroot/cscope/cscope/src/vpinit.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** vpinit.c 30 Apr 2004 15:30:51 -0000 1.6 --- vpinit.c 21 Feb 2006 19:54:57 -0000 1.7 *************** *** 100,104 **** vpndirs = 1; for (i = 0; vpath[i] != '\0'; ++i) { ! if (vpath[i] == ':') { ++vpndirs; } --- 100,104 ---- vpndirs = 1; for (i = 0; vpath[i] != '\0'; ++i) { ! if (vpath[i] == ':' && vpath[i + 1]) { ++vpndirs; } |