[net.bugs.uucp] Bug in uuclean

terryl (11/05/82)

     This really isn't a bug, but probably a feature? uuclean will check for
the creation time of a file in the spool directory being greater than some
arbitrary time, which does work. However, if your uucp spool directory gets
large, (as ours does at least three or four times a week), it is nice and
very desirable to make a new directory and move the contents of the old
directory into the new directory with mv. There's just one problem with this:
mv changes the creation time of the file, making it appear newer than it
actually is, and of course since uuclean checks for the creation time, the
check to see if it is older than a certain date fails, and the file never
gets removed. There's a quick and easy fix for this, though: just make uuclean
check for the modification time of the file, and not the creation time, since
doing a mv (which is actually doing a link since both file and target are on
the same file system) does not change the modification time of a file. Anybody
see anything wrong with this approach????



				Terry Laskodi
				{ucb,dec}vax!teklabs!terryl	(UUCP)
				terryl@tektronix		(CSNET)
				terryl.tektronix@udel-relay	(ARPA)