diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-11-26 14:27:25 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-11-27 01:30:46 +0000 |
commit | c3523181bd487539f308113620564756c29279cc (patch) | |
tree | 09b2a1039b67a664dc0660fdc0cc51e723597e39 /tests/envvar-check | |
parent | 6b91f64ed9e15c9df0767f4658de9ba4532456cf (diff) | |
download | coreutils-c3523181bd487539f308113620564756c29279cc.tar.xz |
timeout: avoid unlikely issues with --kill-after
* src/timeout.c (cleanup): When calling settimeout() from
this signal handler, ensure we don't call out to error()
or gettext(), which are not async-signal-safe.
Also reset the errno which may be cleared by settimeout().
Diffstat (limited to 'tests/envvar-check')
0 files changed, 0 insertions, 0 deletions