]> git.ipfire.org Git - thirdparty/coreutils.git/commit
timeout: use the more efficient posix_spawn to invoke the command
authorCollin Funk <collin.funk1@gmail.com>
Sun, 26 Oct 2025 22:33:24 +0000 (15:33 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Mon, 27 Oct 2025 23:54:45 +0000 (16:54 -0700)
commitdac96ce3e3a2424919fea6a17978b6e91e575d86
tree3e7e5f1ddccc43d9e100ef50df8542d7fd5e986c
parentffa2632dcd2ea26823f4bf81e548b1a2a288051f
timeout: use the more efficient posix_spawn to invoke the command

* NEWS: Mention the improvement. Consolidate the posix_spawn
improvements into one item.
* bootstrap.conf (gnulib_modules): Add posix_spawnattr_setsigmask.
* src/timeout.c: Include spawn.h.
(main): Setup signals using a posix_spawnattr_t object. Use posix_spawn
instead of fork and execvp.
NEWS
bootstrap.conf
src/timeout.c