fsync: Avoid test failure on native Windows.
authorBruno Haible <bruno@clisp.org>
Sat, 4 Feb 2012 13:59:43 +0000 (14:59 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 4 Feb 2012 13:59:43 +0000 (14:59 +0100)
commitc1bd375b4c5cbca0a7947c984e95f2cdd6a19456
treeaeb22cb87e2f50460668899dc510d9b01cde5c23
parent9ec3fe85ad7eebd96024997ae8b2429a4c9d0f1d
fsync: Avoid test failure on native Windows.

* lib/fsync.c (fsync) [Windows]: Don't fail if the handle is merely
read-only.
ChangeLog
lib/fsync.c