[BACK]Return to fnmatch.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/fnmatch.c between version 1.15 and 1.16

version 1.15, 1999/09/16 11:44:56 version 1.16, 1999/09/20 04:38:58
Line 74  fnmatch(pattern, string, flags)
Line 74  fnmatch(pattern, string, flags)
   
         _DIAGASSERT(pattern != NULL);          _DIAGASSERT(pattern != NULL);
         _DIAGASSERT(string != NULL);          _DIAGASSERT(string != NULL);
 #ifdef _DIAGNOSTIC  
         if (pattern == NULL || string == NULL)  
                 return (FNM_NOMATCH + 1);  
                         /* per SUS, return non zero but not FNM_NOMATCH */  
 #endif  
   
         for (stringstart = string;;)          for (stringstart = string;;)
                 switch (c = *pattern++) {                  switch (c = *pattern++) {

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

CVSweb <webmaster@jp.NetBSD.org>