Return to expand.c CVS log | Up to [local] / src / usr.bin / oldrdist |
version 1.13, 2011/04/06 11:36:26 | version 1.14, 2011/07/22 18:26:18 | ||
---|---|---|---|
|
|
||
return; | return; | ||
goto patherr2; | goto patherr2; | ||
} | } | ||
if (fstat(dirp->dd_fd, &stb) < 0) | if (fstat(dirfd(dirp), &stb) < 0) | ||
goto patherr1; | goto patherr1; | ||
if (!ISDIR(stb.st_mode)) { | if (!ISDIR(stb.st_mode)) { | ||
errno = ENOTDIR; | errno = ENOTDIR; |