[ekg2-commit] ekg2: dynstuff.c (HEAD) [peres]
CVS commit
cvs w toxygen.net
Pon, 7 Maj 2007, 14:41:29 CEST
Module name: ekg2
Changes by: peres 2007-05-07 14:41:27
Modified files:
dynstuff.c
Log message:
Fix cssfind() with sep==0 (trim-match string).
Index: dynstuff.c
===================================================================
RCS file: /home/cvs/ekg2/ekg/dynstuff.c,v
diff -d -u -r1.41 -r1.42
--- dynstuff.c 6 May 2007 13:21:52 -0000 1.41
+++ dynstuff.c 7 May 2007 12:41:27 -0000 1.42
@@ -956,7 +956,7 @@
if (q-p <= xstrspn(p, " \f\n\r\t\v")) /* '<' shouldn't happen */
return comma;
}
- } while ((comma = xstrchr(comma, sep)));
+ } while (sep && (comma = xstrchr(comma, sep)));
return NULL;
#if 0 /* old, exact-match code; uncomment when needed */
Więcej informacji o liście dyskusyjnej ekg2-commit