bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fnmatch_loop.c sync from libc


From: Paul Eggert
Subject: Re: fnmatch_loop.c sync from libc
Date: Tue, 23 Jan 2007 23:16:42 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

address@hidden (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  <address@hidden>

        * 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

[Prev in Thread] Current Thread [Next in Thread]