[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.20 and 1.21

version 1.20, 2003/06/25 13:40:27 version 1.21, 2003/06/25 15:11:06
Line 264 
Line 264 
                 if (ISDOT(d->d_name) || ISDOTDOT(d->d_name))                  if (ISDOT(d->d_name) || ISDOTDOT(d->d_name))
                     continue;                      continue;
                 (void)strlcpy(cur_name_add, d->d_name,                  (void)strlcpy(cur_name_add, d->d_name,
                     2 * MAXPATHLEN - (MAXPATHLEN - 1));                      sizeof(nextpathbuf) 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.20  
changed lines
  Added in v.1.21