#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;
}
}
-long FileInfo::getBlockSize() const
-{
-#ifndef __EMX__
- return buf.st_blksize; /* Preferred I/O block size */
-#else
-#warning May be fixed in 0.13 (SMiyata)
- return 512; /* Assume HPFS */
-#endif
-}
-
-
// should not be in FileInfo
void FileInfo::modeString(char * szString) const
{
return false;
}
}
+
+
+