#include <config.h>
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <cerrno>
void FileInfo::dostat(bool link)
{
if (link) {
- status = lstat(fname.c_str(), &buf);
+ status = ::lstat(fname.c_str(), &buf);
} else {
- status = stat(fname.c_str(), &buf);
+ status = ::stat(fname.c_str(), &buf);
}
if (status) err = errno;
}
return false;
}
}
+
+
+