[BACK]Return to glob.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/glob.c between version 1.12 and 1.13

version 1.12, 2005/09/13 01:44:09 version 1.13, 2005/09/13 21:38:03
Line 581  glob1(pattern, pglob, limit)
Line 581  glob1(pattern, pglob, limit)
          * we save one character so that we can use ptr >= limit,           * we save one character so that we can use ptr >= limit,
          * in the general case when we are appending non nul chars only.           * in the general case when we are appending non nul chars only.
          */           */
         return(glob2(pathbuf, pathbuf, pathbuf + sizeof(pathbuf) - 1, pattern,          return(glob2(pathbuf, pathbuf,
                        pathbuf + (sizeof(pathbuf) / sizeof(*pathbuf)) - 1,
                        pattern,
             pglob, limit));              pglob, limit));
 }  }
   

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

CVSweb <webmaster@jp.NetBSD.org>