Text File

Adecvax.209 net.bugs.4bsd utzoo!decvax!shannon Mon May 10 11:27:25 1982 Re: LOG.nnnnnn.0

The reason you have so many LOG.<PID>.0 files laying around is that they are not being merged back into the main LOGFILE because they have mode 222, which indicates they are still in use. They are changed to mode 666 when the program logging to them terminates.

Anyway, the fix to the problem is to add a call to logcls() at the beginning of cleanup() in uux.c. Otherwise any temporary log files used by uux would not be changed to mode 666 when uux terminated.

You may also find a LOG.<PID>.0 file left after a program aborts, use uuclean to get rid of those.

Bill Shannon decvax!shannon DEC UNIX Engineering Group

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.