Return to util.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.103, 2007/01/26 11:19:44 | version 1.104, 2007/02/07 23:47:56 | ||
---|---|---|---|
|
|
||
fatal("cvs_rmdir: path truncation"); | fatal("cvs_rmdir: path truncation"); | ||
if (ent->d_type == DT_UNKNOWN) { | if (ent->d_type == DT_UNKNOWN) { | ||
if (stat(fpath, &st) == -1) | if (lstat(fpath, &st) == -1) | ||
fatal("'%s': %s", fpath, strerror(errno)); | fatal("'%s': %s", fpath, strerror(errno)); | ||
switch (st.st_mode & S_IFMT) { | switch (st.st_mode & S_IFMT) { |