Changeset 1186 for trunk/lib/rmdirhier.cc
- Timestamp:
- Aug 28, 2010, 12:13:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/rmdirhier.cc
r1090 r1186 70 70 struct stat buf; 71 71 // using lstat because links should not be treated as dirs 72 lstat(dir .c_str(),&buf);72 lstat(dir, &buf); 73 73 // check if dir - if not delete the node 74 74 if (!(buf.st_mode & S_IFDIR)) {
Note: See TracChangeset
for help on using the changeset viewer.