[BACK]Return to util.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/Attic/util.c between version 1.19 and 1.20

version 1.19, 2003/04/06 22:47:14 version 1.20, 2003/06/25 13:40:27
Line 263 
Line 263 
             for (d = readdir(dp); d != NULL; d = readdir(dp)) {              for (d = readdir(dp); d != NULL; d = readdir(dp)) {
                 if (ISDOT(d->d_name) || ISDOTDOT(d->d_name))                  if (ISDOT(d->d_name) || ISDOTDOT(d->d_name))
                     continue;                      continue;
                 (void)strcpy(cur_name_add, d->d_name);                  (void)strlcpy(cur_name_add, d->d_name,
                       2 * MAXPATHLEN - (MAXPATHLEN - 1));
                 if (lstat(nextpathptr, &st_next) == -1) {                  if (lstat(nextpathptr, &st_next) == -1) {
                     (void)snprintf(pathname, MAXPATHLEN,                      (void)snprintf(pathname, MAXPATHLEN,
                         "getwd: Cannot stat \"%s\" (%s)",                          "getwd: Cannot stat \"%s\" (%s)",

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20