Ignore:
Timestamp:
Aug 28, 2010, 12:13:37 AM (13 years ago)
Author:
Peter Johansson
Message:

using errno_error. closes #410

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/rmdirhier.cc

    r1090 r1186  
    7070    struct stat buf;
    7171    // using lstat because links should not be treated as dirs
    72     lstat(dir.c_str(),&buf);
     72    lstat(dir, &buf);
    7373    // check if dir - if not delete the node
    7474    if (!(buf.st_mode & S_IFDIR)) {
Note: See TracChangeset for help on using the changeset viewer.