1998-05-30  Karl M. Hegbloom  <karlheg@debian.org>

	* tmpreaper.c (dir_empty_p): Parentheses around assignment used as
 	truth value
	(main): Fix argv index in message, clarify messages.

	* tmpreaper.8: Tell of `find ... -exec rm ...' being fine unless
 	your machine has untrusted users.

	* tmpreaper.c (dir_empty_p): New function
	(cleanupDirectory): Use `dir_empty_p' to check that a buffer is
 	empty prior to trying to rmdir() it.

1998-05-21  Jörg Schuler <jcs@hhi1111.stud.uni-karlsruhe.de, jcs@hatarakibachi.pond.sub.org>

	* debian/cron.daily: add protect for .ki2 and .iroha

	* tmpreaper.c (main): don't glob if no protect pattern is given
	(tmpreaper segfaulted when called without `--protect`).

	(main): new procedure:
		cd into the first tmp-dir, glob, delete files in that
		directory then move on the the next tmp-dir given on the
		command line. Avoids "lstat" errors" when files found in
		one directory are not present in the second.

	(Makefile): changed version number from 1.4.3-SPI to 1.4.7
	
1998-05-17  Karl M. Hegbloom  <karlheg@debian.org>

	* tmpreaper.8: Document the new switch.

	* tmpreaper.c: Implement `--mtime' switch.

1998-05-17  Karl M. Hegbloom  <karlheg@debian.org>

	* tmpreaper.c (cleanupDirectory): pass flags to the
 	FLAGS_PROTECT_P macro.  Before I had just the bare macro, so the
 	block of code inside the `if' could never execute, breaking
 	`--protect'.

	- Fixed several others just like it.
	
	- turns out the real bug was the example in the manual.  The glob
 	pattern never matched, so nothing got protected.

	(cleanupDirectory): initialize `skip' before loop.
	Deleted the `direntry item' and `di_enqueue false starts.

	(cleanupDirectory): Message after recursing down a subdirectory.

	(usage): Changed copyright from SPI back to myself.  No longer
 	support -p, must spell --protect all the way out.
	
	(main): Re arranged so that it will cd into each directory before
 	globbing, so the glob pattern doesn't have to have an absolute
 	path on it.

	* tmpreaper.8: Edit to match changed program functionality.

	* debian/cron.daily: Split the bad brace expression in two.

1998-04-09  Karl M. Hegbloom  <karlheg@bittersweet.inetarena.com>

	* tmpreaper.c (struct flags_s): Flag testing macros.
	(cleanupDirectory): Use the macros in tests.
	(main): New option `--mtime-mt-dir' --> remove empty dirs based on
 	`mtime' rather than `atime'.


Local Variables:
add-log-mailing-address: "karlheg@debian.org"
End:
