[EMAIL PROTECTED] (Bob Proulx) writes:

>           cc  -I.      -Ae -O -c fnmatch.c
>   cc: "fnmatch_loop.c", line 604: error 1588: "is_seqval" undefined.

Thanks for catching that; I installed this obvious patch.

2007-01-23  Paul Eggert  <[EMAIL PROTECTED]>

        * 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.

--- lib/fnmatch_loop.c  24 Jan 2007 00:15:59 -0000      1.14
+++ lib/fnmatch_loop.c  24 Jan 2007 07:15:44 -0000
@@ -599,9 +599,12 @@ FCT (const CHAR *pattern, const CHAR *st
                        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++;
                      }


Reply via email to