diff options
author | Pádraig Brady <P@draigBrady.com> | 2009-12-08 08:48:34 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2009-12-08 15:29:27 +0000 |
commit | f5a97b8269f11f63cf05cca1f31a08dc7567aeb9 (patch) | |
tree | 068974c268ee16418d1b08dc98e1db4e4f4daeab /NEWS | |
parent | 73d46261344d5bd05c0940bc2ec5f9ed9a47db1b (diff) | |
download | coreutils-f5a97b8269f11f63cf05cca1f31a08dc7567aeb9.tar.xz |
sort: fix failure if sort's parent has ignored SIGCHLD
* src/sort.c (main): Reset the SIGCHLD handler to the default
as otherwise wait() could return an error.
* tests/misc/sort-compress: Set the CHLD handler in a subshell
to SIG_IGN to ensure the sort command resets it to SIG_DFL.
* NEWS: Mention the fix.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -13,6 +13,11 @@ GNU coreutils NEWS -*- outline -*- the presence of the empty string argument. [bug introduced in coreutils-8.0] + sort is now immune to the signal handling of its parent. + Specifically sort now doesn't exit with an error message + if it uses helper processes for compression and its parent + ignores CHLD signals. [bug introduced in coreutils-6.9] + timeout is now immune to the signal handling of its parent. Specifically timeout now doesn't exit with an error message if its parent ignores CHLD signals. [bug introduced in coreutils-7.6] |