[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fnmatch_loop.c sync from libc
From: |
Bob Proulx |
Subject: |
Re: fnmatch_loop.c sync from libc |
Date: |
Tue, 23 Jan 2007 22:44:05 -0700 |
User-agent: |
Mutt/1.5.9i |
Paul Eggert wrote:
> 2007-01-23 Paul Eggert <address@hidden>
> Import the following changes from libc.
> 2004-12-01 Jakub Jelinek <address@hidden>
> * 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