🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Soren Lundsgaard Tue, 27 Feb 1990 05:24
trap bug?
#1173
Author: Soren Lundsgaard
Date: Tue, 27 Feb 1990 05:24
17 lines
863 bytes
I ran the following script, and typed a ctrl/c in the middle of it.
I got a longjump botch and a core dump.
this is bash 1.03 compiled under ultrix 3.0 and running under ultrix
3.1.  I think that I am using trap correctly.  It runs correctly under
sys5 shell (/bin/sh5 on Ultrix).

Please note that I have NOT tested this in bash 1.04
here is the script.

trap "trap '' 0 ; echo exiting ; exit 0" 0 1 2 3 15
while :
do
echo in the loop
sleep 1
done

skl@uiuc.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads