* lib/fnmatch_loop.c (internal_fnmatch) [!_LIBC]: #if-out the
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 24 Jan 2007 07:15:57 +0000 (07:15 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 24 Jan 2007 07:15:57 +0000 (07:15 +0000)
2004-12-01 change by Jakub Jelinek, since this code won't compile
if !LIBC.  Problem reported by Bob Proulx.

ChangeLog
lib/fnmatch_loop.c

index 54f93e4..62a8e7e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * 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  <bruno@clisp.org>
 
        * lib/striconveh.c: Include c-strcaseeq.h.
index 5f80392..d1008c2 100644 (file)
@@ -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++;
                      }