]> git.eshelyaron.com Git - emacs.git/commit
Fix write-region to null device on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Wed, 21 Dec 2022 19:23:51 +0000 (21:23 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 21 Dec 2022 19:23:51 +0000 (21:23 +0200)
commitec9fbad908d5f65f71717506d070a40acca89f5b
treeb056ca7ff98b87b9bb1b5464f7117f734c5cae30
parentf35da111990e17eea84febcff35763c40d3e393a
Fix write-region to null device on MS-Windows

* src/fileio.c (write_region) [WINDOWSNT]: Ignore EBADF errors
from fsync -- this means fsync is not supported for this file.
Happens, for example, with the null device.  (Bug#59545)
src/fileio.c