git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38006 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2011-03-23 14:52:18 +00:00
parent ed0d9b23cc
commit 40ad67e5f1

View File

@ -544,7 +544,7 @@ unsigned long FileName::checksum() const
struct stat info;
if (fstat(fd, &info))
// bug 5891
// fstat fails on samba shares (bug 5891)
return result;
void * mm = mmap(0, info.st_size, PROT_READ,