Re: ash buildin "read" interrupted on SIGCHLD

2017-06-01 Thread Kang-Che Sung
On Thu, Jun 1, 2017 at 5:36 PM, Guido Classen wrote: > I was curious how to catch SIGCHLD using trap and what behavior we should > expect. Could you also provide a test for trap in conjunction with SIGCHLD. I was about to ask the same question, until I realize that the SIGCHLD handling behavior w

Re: ash buildin "read" interrupted on SIGCHLD

2017-06-01 Thread Guido Classen
On 22 May 2017 at 19:43, Denys Vlasenko wrote: >> I am not sure what is the right place to fix this. Any comment on this? >> For me it works to suppress this signal on the corresponding poll() call. > > Well, SIGCHLD may have a trap, so, that would not be correct. > > Fixed in git, please try. Tha

Re: ash buildin "read" interrupted on SIGCHLD

2017-06-01 Thread Guido Classen
On 22 May 2017 at 19:43, Denys Vlasenko wrote: >> I am not sure what is the right place to fix this. Any comment on this? >> For me it works to suppress this signal on the corresponding poll() call. > > Well, SIGCHLD may have a trap, so, that would not be correct. > > Fixed in git, please try. Tha