patch-src_glob_c 374 B

12345678910111213
  1. $OpenBSD: patch-src_glob_c,v 1.1 2011/04/22 11:37:46 sthen Exp $
  2. --- src/glob.c.orig Sun Apr 17 09:59:32 2011
  3. +++ src/glob.c Sun Apr 17 09:59:38 2011
  4. @@ -48,7 +48,7 @@ int strmatch(const char *str, const char *pat)
  5. switch (*pat)
  6. {
  7. - case NULL: // pattern at end
  8. + case 0: // pattern at end
  9. return (!*str); // String at end ?
  10. case '*': // match all