]> Savannah Git Hosting - gnulib.git/commit
posix_spawn-internal: Optimize DuplicateHandle calls on native Windows.
authorBruno Haible <bruno@clisp.org>
Sat, 10 Sep 2022 00:27:54 +0000 (02:27 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 10 Sep 2022 00:27:54 +0000 (02:27 +0200)
commitb1820b6fd29a67942d4ed1f6b67f7557d00dae43
tree1ba352cff626617bdc85b8c5f979fd90504e1b5c
parent3b68fa987fef59df34752a117d6df872f1d97b6c
posix_spawn-internal: Optimize DuplicateHandle calls on native Windows.

* lib/spawni.c (open_handle): Return an inheritable HANDLE.
(do_open): Don't call DuplicateHandle. Remove curr_process parameter.
(__spawni): Update.
ChangeLog
lib/spawni.c