On 2/9/11 9:50 AM, Ingo Molnar wrote:
>
> * Oleg Nesterov <[email protected]> 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 here,
> 100% of the time:
>
> aldebaran:~> ./test-signal-perl.sh
> ^CHehe, I am going to sleep after ^C
>
> [ it waits 100 seconds ]
It's not at all the same thing, as I think later discussion made clear.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/