]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileInfo.C
small changes and two patches from Dekel
[lyx.git] / src / support / FileInfo.C
index 1d2b9b88f4097f862db55551fe75c2cc4d7eb307..3bc18c123120fd13509a765a9d4eb983ba4559d3 100644 (file)
@@ -140,9 +140,9 @@ void FileInfo::init()
 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;
 }
@@ -386,3 +386,6 @@ bool FileInfo::access(int p)
                return false;
        }
 }
+
+
+