On 02/08, Chet Ramey wrote:
>
> On 2/8/11 7:11 PM, Ingo Molnar wrote:
> >
> > Oleg also found another simple testcase i think - and Thomas (Cc:-ed) 
> > reported
> > similar Ctrl-C problems with Bash as well.
>
> I tried to reproduce it and wasn't able to.  I use Mac OS X.

Strange, but I know nothing about Mac OS...

Hmm. Do you mean the "perl -e" test-case doesn't work too ? Did you
try other test-cases from http://marc.info/?l=linux-kernel&m=129623373208782
(this message was attached) ?

OK, another test-case,

        #!./bash

        perl -we 'kill INT, getppid'

        echo "Hehe, I am going to sleep after ^C"
        sleep 100

("perl -e" just sends SIGINT to the parent)

To clarify, I do not claim this particular case "proves" the shell
is buggy. Just to illustrate the problem: the shell refuses to exit
unless the child was killed by SIGINT too.

Oleg.


Reply via email to