bug#13535: timeout command not working when SIGALRM blocked

2013-01-24 Thread Bernhard Voelker
On 01/25/2013 04:12 AM, Pádraig Brady wrote: > I agree with your patch, and have attached an updated version. +1 if you mention http://bugs.gnu.org/13535. Have a nice day, Berny

bug#13535: timeout command not working when SIGALRM blocked

2013-01-24 Thread Pádraig Brady
On 01/23/2013 05:44 PM, Stephan Krempel wrote: Hi there, If the calling process has SIGALRM blocked, timeout simply never times out. Find attached a small program to demonstrate the problem and a patch to fix it by unblocking the necessary signal (at least on x86/linux). The sigprocmask gnuli

bug#13535: timeout command not working when SIGALRM blocked

2013-01-23 Thread Stephan Krempel
Hi there, If the calling process has SIGALRM blocked, timeout simply never times out. Find attached a small program to demonstrate the problem and a patch to fix it by unblocking the necessary signal (at least on x86/linux). If this is intended behavior, I would suggest to document it explicitly