Paul Eggert wrote: > 2007-01-23 Paul Eggert <[EMAIL PROTECTED]> > Import the following changes from libc. > 2004-12-01 Jakub Jelinek <[EMAIL PROTECTED]> > * lib/fnmatch_loop.c (internal_fnmatch): Clear is_seqval after > normal_bracket label. > ... > @@ -592,6 +599,9 @@ FCT (const CHAR *pattern, const CHAR *st > if (!is_range && c == fn) > goto matched; > > + /* This is needed if we goto normal_bracket; from > + outside of is_seqval's scope. */ > + is_seqval = false; > cold = c; > c = *p++; > }
This causes the following build failure on HP-UX. source='fnmatch.c' object='fnmatch.o' libtool=no \ DEPDIR=.deps depmode=hp /bin/sh ../build-aux/depcomp \ cc -I. -Ae -O -c fnmatch.c cc: "fnmatch_loop.c", line 604: error 1588: "is_seqval" undefined. make[2]: *** [fnmatch.o] Error 1 make[2]: Leaving directory `/usr/local/build/coreutils/hppa-hpux11.23-hpcc-coreutils/build/lib' It seems that the definition of is_seqval is within an '#ifdef _LIBC'. Bob