http://bugs.winehq.org/show_bug.cgi?id=15366
--- Comment #8 from Pink Sloth robert-meier@gmx.net 2008-10-02 16:19:49 --- (In reply to comment #7)
(In reply to comment #6)
(In reply to comment #5)
Does reverting that patch fix it?
How can I revert that patch? But if this help, the last time, with "0 to test after this", was OK.
$ git show b0192cfed382c470e67aaac744de56011fe27bfb | patch -p1 -R
This fixed the problem.
The relevant source from 2245 - 2271: else { /* Linux's fstatvfs is buggy */ #if !defined(linux) || !defined(HAVE_FSTATFS) struct statvfs stfs;
if (fstatvfs( fd, &stfs ) < 0) { io->u.Status = FILE_GetNtStatus(); break; } info->BytesPerSector = stfs.f_frsize; #else struct statfs stfs; if (fstatfs( fd, &stfs ) < 0) { io->u.Status = FILE_GetNtStatus(); break; } info->BytesPerSector = stfs.f_bsize; #endif info->TotalAllocationUnits.QuadPart = stfs.f_blocks; info->AvailableAllocationUnits.QuadPart = stfs.f_bavail; info->SectorsPerAllocationUnit = 1; io->Information = sizeof(*info); io->u.Status = STATUS_SUCCESS; }