fixed 328462 3.2-4
thanks

#cat bug3.sh
#!/bin/bash
sig_int() {
echo "Trapped INT"
}
#trap sig_int INT
while sleep 1; 
do 
        echo "Going"    
done
echo "Gone"

#./bug3.sh
Going
Going
Ctrl^C
#

No seg-fault, just clean exit

With the trap line uncommented the result is
#./bug3.sh
Going
Going
Ctrl^C
Trapped INT
Gone
#

Just as expected.

/Jörgen





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to