mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-29 09:27:56 +00:00
Maybe fixed bug #49412: Signal SIGCHLD received, but no signal handler.
Testing missing.
This commit is contained in:
parent
089fc5b287
commit
ec3767fd5e
|
@ -1210,7 +1210,7 @@ sub check_invalid_option_combinations {
|
||||||
|
|
||||||
sub init_globals {
|
sub init_globals {
|
||||||
# Defaults:
|
# Defaults:
|
||||||
$Global::version = 20160922;
|
$Global::version = 20160924;
|
||||||
$Global::progname = 'parallel';
|
$Global::progname = 'parallel';
|
||||||
$Global::infinity = 2**31;
|
$Global::infinity = 2**31;
|
||||||
$Global::debug = 0;
|
$Global::debug = 0;
|
||||||
|
@ -4357,8 +4357,8 @@ sub reap_usleep {
|
||||||
# When a child dies, wake up from sleep (or select(,,,))
|
# When a child dies, wake up from sleep (or select(,,,))
|
||||||
$SIG{CHLD} = sub { kill "ALRM", $$ };
|
$SIG{CHLD} = sub { kill "ALRM", $$ };
|
||||||
usleep($ms);
|
usleep($ms);
|
||||||
# --compress needs $SIG{CHLD} undefined
|
# --compress needs $SIG{CHLD} unset
|
||||||
delete $SIG{CHLD};
|
$SIG{CHLD} = 'DEFAULT';
|
||||||
exit_if_disk_full();
|
exit_if_disk_full();
|
||||||
if($opt::linebuffer) {
|
if($opt::linebuffer) {
|
||||||
if($opt::keeporder) {
|
if($opt::keeporder) {
|
||||||
|
|
Loading…
Reference in a new issue