[net.bugs.usg] Bug in calendar

edward@ukecc.UUCP (Edward C. Bennett) (09/18/85)

	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 */