]> git.ipfire.org Git - thirdparty/coreutils.git/commit
sort: fix SIGPIPE handling
authorPádraig Brady <P@draigBrady.com>
Sat, 27 Dec 2025 15:48:42 +0000 (15:48 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 27 Dec 2025 16:27:43 +0000 (16:27 +0000)
commit6382388da8268b964eb27845c50969c7ac03e4de
treeb30e95442e9d01273a6300df5df358052a588973
parent1b467784fb7fc9d29ef9fb7a4e7866383339e304
sort: fix SIGPIPE handling

* src/sort.c (main): Don't override handler for SIGPIPE
(which we did since commit v9.9-34-ge63131b32),
since we've explicit handling for SIGPIPE.
Also move ignoring of SIGPIPE until after
--help and --version are processed.
src/sort.c