From: Paul Eggert Date: Wed, 24 Jan 2007 07:15:57 +0000 (+0000) Subject: * lib/fnmatch_loop.c (internal_fnmatch) [!_LIBC]: #if-out the X-Git-Tag: cvs-readonly~1281 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=ea5d71b964dc25c0b578702bfdbda68b41111acb;p=gnulib.git * lib/fnmatch_loop.c (internal_fnmatch) [!_LIBC]: #if-out the 2004-12-01 change by Jakub Jelinek, since this code won't compile if !LIBC. Problem reported by Bob Proulx. --- diff --git a/ChangeLog b/ChangeLog index 54f93e4b8..62a8e7ee9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-23 Paul Eggert + + * lib/fnmatch_loop.c (internal_fnmatch) [!_LIBC]: #if-out the + 2004-12-01 change by Jakub Jelinek, since this code won't compile + if !LIBC. Problem reported by Bob Proulx. + 2007-01-23 Bruno Haible * lib/striconveh.c: Include c-strcaseeq.h. diff --git a/lib/fnmatch_loop.c b/lib/fnmatch_loop.c index 5f803924b..d1008c247 100644 --- a/lib/fnmatch_loop.c +++ b/lib/fnmatch_loop.c @@ -599,9 +599,12 @@ FCT (const CHAR *pattern, const CHAR *string, const CHAR *string_end, if (!is_range && c == fn) goto matched; +#if _LIBC /* This is needed if we goto normal_bracket; from outside of is_seqval's scope. */ is_seqval = false; +#endif + cold = c; c = *p++; }