Bug in calendar(1)

Edward C. Bennett edward at ukecc.UUCP
Thu Sep 19 00:10:32 AEST 1985


	The calendar program has a slight bug in that it only removes
one of its tmp files. Every morning there is a 'calendar.XXXXX' file
left in /tmp

Here's the fix...

In /usr/src/cmd/calendar/calendar.sh

change
	trap "rm ${_tmp}; trap '' 0; exit" 0 1 2 13 15
to
	trap "rm ${_tmp} /tmp/calander.$$; trap '' 0; exit" 0 1 2 13 15

-- 
Edward C. Bennett

UUCP: ihnp4!cbosgd!ukma!ukecc!edward

/* A charter member of the Scooter bunch */



More information about the Net.bugs.usg mailing list