Paulo César Pereira de Andrade
2016-09-28 16:31:47 UTC
Hi,
I cannot find the reason of this chunk in
src/cmd/ksh93/bltins/cflow.c when diff'ing
ksh-20100621 and ksh-20120801
The problem is that if one calls:
$ exit 267
ksh will pretend it did sigsegv. It will happen for
other signals as well, for example:
$ ksh
$ exit 286
Power failure
$ ksh
$ exit 273
<< sets SIGCHLD to SIG_DFL and calls pause >>
Is this an intended feature?
Thanks,
Paulo
I cannot find the reason of this chunk in
src/cmd/ksh93/bltins/cflow.c when diff'ing
ksh-20100621 and ksh-20120801
The problem is that if one calls:
$ exit 267
ksh will pretend it did sigsegv. It will happen for
other signals as well, for example:
$ ksh
$ exit 286
Power failure
$ ksh
$ exit 273
<< sets SIGCHLD to SIG_DFL and calls pause >>
Is this an intended feature?
Thanks,
Paulo