summaryrefslogtreecommitdiff
path: root/scripts/autotools-install
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2013-11-26 02:47:36 +0000
committerPádraig Brady <P@draigBrady.com>2013-11-27 01:21:23 +0000
commit39e0c9ba5d7a37401a30e1304282142e525e334c (patch)
tree2ad5539c95cb1b532f5a467a90ed8b2c778b7fd1 /scripts/autotools-install
parent17bce8c63e9e0f85b48ca62b63413ce9102af5c1 (diff)
downloadcoreutils-39e0c9ba5d7a37401a30e1304282142e525e334c.tar.xz
sort: avoid issues when issuing diagnostics from child processes
* src/sort.c: (async_safe_die): A new limited version of error(), that outputs fixed strings and unconverted errnos to stderr. This is safe to call in the limited context of a signal handler, or in this particular case, between the fork() and exec() of a multithreaded process. (move_fd_or_die): Use the async_safe_die() rather than error(). (maybe_create_temp): Likewise. (open_temp): Likewise. Fixes http://bugs.gnu.org/15970
Diffstat (limited to 'scripts/autotools-install')
0 files changed, 0 insertions, 0 deletions