supersede: Fix test failures on native Windows.
commit3fcdcac504be1e4d55cbee0fa185b380712545d7
authorBruno Haible <bruno@clisp.org>
Sun, 20 Sep 2020 22:51:54 +0000 (21 00:51 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 20 Sep 2020 22:52:19 +0000 (21 00:52 +0200)
tree466ba86d0a727d10d04aa0d43ec9ba0e9e5e6156
parente603220f217a101ddfcad645e60949c691ca55ac
supersede: Fix test failures on native Windows.

* lib/supersede.c (open_supersede): Handle non-regular files on native
Windows like on Solaris.
* tests/test-supersede-open.h (test_open_supersede): Use O_BINARY flag.
ChangeLog
lib/supersede.c
tests/test-supersede-open.h