]> git.eshelyaron.com Git - emacs.git/commit
A better fix for process-tests on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Tue, 29 Dec 2020 19:30:59 +0000 (21:30 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 29 Dec 2020 19:30:59 +0000 (21:30 +0200)
commitbaac3562a669ef4570cc258b5e6fc6472a6c9407
tree019abdc1f967917a3c2ee119ec3e09ff8d057d9b
parent0326cddc7bb2a90924af200057b4e2ef263924c8
A better fix for process-tests on MS-Windows

* src/w32.c (pipe2): When forcibly closing pipe handles due to
overflow of FD_SETSIZE, set the handles to -1, to avoid assertion
violations in emacs_close.

* test/src/process-tests.el (process-tests/fd-setsize-no-crash):
No need to skip this test anymore.
src/w32.c
test/src/process-tests.el