Charles G Waldman <cgw(a)pgt.com> writes:
Changing src/sysfile to read
#if defined (LINUX) || !defined (USG) && !defined(WINDOWSNT)
causes the fsync to be done, and makes the problem go away.
Since there is no real need to do the fsync since this seems the wrong
solution. Also it is a platform-specific decision.
Fix #2: Change order of close and stat
This would seem to be the correct solution. On other systems it should
not make any difference. The only thing is, why wasn't it done before?
Jan