version 1.20, 2003/06/25 13:40:27 |
version 1.21, 2003/06/25 15:11:06 |
|
|
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)", |