* Chet Ramey wrote:
> > So the above trace is one that my patch would have handled correctly
> > (since it has no EINTR). Maybe a combination of the two approaches
> > would work even better?
>
> I installed what is essentially the union of your changes and mine. Thanks
> for everyone's help w
* Oleg Nesterov wrote:
> That is why I provided another test-case, let me repeat it:
>
> #!./bash
>
> perl -we '$SIG{INT} = sub {exit}; sleep'
>
> echo "Hehe, I am going to sleep after ^C"
> sleep 100
This reliably reproduces the (formerly sporadic) script Ctrl-C bug
* Chet Ramey wrote:
> On 2/8/11 4:17 PM, Oleg Nesterov wrote:
>
> > Once again. If bash gets ^C and at the same time the current foreground
> > child exits normally (either because this jctl signal races with exit()
> > or because the child hooks SIGINT and exits after that) SIGINT is lost.
> >
used bash-3.2-19.fc8 for my tests, on Linux 2.6.24-0.39.rc3.git1.fc9.
Ingo
- Forwarded message from Oleg Nesterov <[EMAIL PROTECTED]> -
Date: Mon, 3 Dec 2007 18:42:51 +0300
From: Oleg Nesterov <[EMAIL PROTECTED]>
To: Ingo Molnar <[EMAIL PROTECTED]>
Subject: Re