filevercmp: handle simple~ and numbered.~3~ backup suffixes
[pspp] / lib / fnmatch_loop.c
index 5f803924be90073b0f3c6636ce0ce0ea427f84f9..d1008c247df2a8553bd9ee5f663c86aa76d7b58d 100644 (file)
@@ -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++;
                      }