* lib/fnmatch_loop.c (FCT): Hoist local up one level, to avoid
undefined behavior for goto over a declaration.
Problem reported by Charlie Brown in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-07/msg00009.html>.
2013-07-06 Paul Eggert <eggert@cs.ucla.edu>
+ fnmatch: don't goto over declaration
+ * lib/fnmatch_loop.c (FCT): Hoist local up one level, to avoid
+ undefined behavior for goto over a declaration.
+ Problem reported by Charlie Brown in
+ <http://lists.gnu.org/archive/html/bug-gnulib/2013-07/msg00009.html>.
+
pipe2: decouple from binary-io a bit
This is for Emacs, which needs pipe2 but not binary-io.
* lib/pipe2.c [!GNULIB_BINARY_IO]: Don't include binary-io.h.
c = *p++;
for (;;)
{
+ bool is_range = false;
+
if (!(flags & FNM_NOESCAPE) && c == L_('\\'))
{
if (*p == L_('\0'))
}
else
{
- bool is_range = false;
-
#ifdef _LIBC
bool is_seqval = false;