Let's try forcing errno to zero before issuing fsync. The current buildfarm

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 9dd6c4686bc496912f1b4958139931ef6a6f029b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-02-22T15:29:46Z
Releases: 9.0.0
Let's try forcing errno to zero before issuing fsync.  The current buildfarm
results claiming EBADF seem improbable enough that I'm not convinced fsync
is really returning that --- could it be failing to set errno at all?

Files

PathChange+/−
src/port/copydir.c modified +4 −1