stephen@dcl-cs.UUCP (Stephen J. Muir) (08/21/85)
When "expire" is run with no arguments, it doesn't close the file descriptor for the new history file before renaming it. This gives problems when receiving news whilst "expire" is running. Here is a patch: ----------------------------------- cut here ---------------------------------- *** expire.c.orig Wed Aug 21 13:18:58 1985 --- expire.c Wed Aug 21 13:20:53 1985 *************** *** 476,481 pclose(nhfd); free (multhist); } if (dorebuild || !nohistory) { rename(ARTFILE, OARTFILE); --- 476,483 ----- pclose(nhfd); free (multhist); } + else + fclose (nhfd); /* dcl-cs!stephen */ if (dorebuild || !nohistory) { rename(ARTFILE, OARTFILE); -- UUCP: ...!seismo!mcvax!ukc!dcl-cs!stephen DARPA: stephen%lancs.comp@ucl-cs | Post: University of Lancaster, JANET: stephen@uk.ac.lancs.comp | Department of Computing, Phone: +44 524 65201 Ext. 4599 | Bailrigg, Lancaster, UK. Project:Alvey ECLIPSE Distribution | LA1 4YR