Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 alpha 4/3/85; site ukecc.UUCP
Path: utzoo!watmath!clyde!cbosgd!ukma!ukecc!edward
From: edward@ukecc.UUCP (Edward C. Bennett)
Newsgroups: net.bugs.usg
Subject: Bug in calendar(1)
Message-ID: <247@ukecc.UUCP>
Date: Wed, 18-Sep-85 10:10:32 EDT
Article-I.D.: ukecc.247
Posted: Wed Sep 18 10:10:32 1985
Date-Received: Fri, 20-Sep-85 04:01:35 EDT
Organization: Univ. of Ky. Engineering Computing Center
Lines: 20


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