Thread View: net.4bsd-bugs
1 messages
1 total messages
Started by ittvaxswatt
Wed, 25 Nov 1981 13:47
awk bug
Author: ittvaxswatt
Date: Wed, 25 Nov 1981 13:47
Date: Wed, 25 Nov 1981 13:47
16 lines
655 bytes
655 bytes
Wed Nov 25 13:19:47 EST 1981 (reported by cox)
[ ] The following script causes awk to core dump with a bus
error:
---------------------------------
# attempt to produce awk core dump
{
print $0 >data0
}
---------------------------------
The fix is:
---------------------------------
cp /usr/src/cmd/awk/run.c /tmp/upd.$$.tmp ; chmod +w /tmp/upd.$$.tmp
ed - /tmp/upd.$$.tmp <<\!xxFUNNYxx
848c
if (files[i].fp && strcmp(x.optr->sval, files[i].fname) == 0)
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