From ea5d71b964dc25c0b578702bfdbda68b41111acb Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 24 Jan 2007 07:15:57 +0000 Subject: [PATCH] * 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. --- ChangeLog | 6 ++++++ lib/fnmatch_loop.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 54f93e4b8..62a8e7ee9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-23 Paul Eggert + + * 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 * lib/striconveh.c: Include c-strcaseeq.h. diff --git a/lib/fnmatch_loop.c b/lib/fnmatch_loop.c index 5f803924b..d1008c247 100644 --- a/lib/fnmatch_loop.c +++ b/lib/fnmatch_loop.c @@ -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++; } -- 2.11.0