🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.4bsd-bugs
Article #4

awk bug

#4
From: ittvaxswatt
Date: Wed, 25 Nov 1981 13:47
16 lines
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)
Technical Details
Message-ID: <anews.Aittvax.139>
Path: arc1-ca.pugleaf.net!utzoo!decvax!ittvax!swatt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!decvax!ittvax!swatt
From: ittvax!swatt
Newsgroups: net.4bsd-bugs
Subject: awk bug
Date: Wed, 25 Nov 1981 13:47:30 +0000
Message-ID: <anews.Aittvax.139>