Commit Graph

22 Commits

Author SHA1 Message Date
Peter J. Holzer 473a272066 Assume file has vanished if we can't lstat it
A file might be deleted between the time we read the directory and the
time we get around to check it, so if we can't lstat it, assume that is
what has happened. (It might also have been renamed, but that's
equivalent to this file being deleted and another being created, so we
don't have to treat this specially)
2016-10-04 23:59:58 +02:00
hjp ba64495861 (Nov 12 2009)
Implemented option -c  Consider only the inode change time of the file.
2012-03-02 11:29:42 +00:00
hjp 6e21e0d270 Added --include (-i) and --exclude (-x) options. 2006-08-25 09:57:10 +00:00
hjp 3f46eea7cc Autocreate GNUmake*s. 2006-03-08 18:06:57 +00:00
hjp 029195aa65 Print whole directory at rmdir with verbose output. 2005-04-04 16:05:40 +00:00
hjp e8c3f76218 Critical bug fix: Empty directories were removed even with -n.
Minor cleanup: Message "removing ..." is now the same with and without -n.
2004-11-02 09:01:12 +00:00
hjp 51c015f368 Added rule to create man-page. 2003-08-23 15:38:44 +00:00
hjp e85052e3d6 Added -m option to synopsis. 2003-05-16 14:44:58 +00:00
hjp a6c79cefd9 Included -m (mtime-only) option (CVS is nice, but only if it used).
Improved pod a bit.
2003-05-16 13:38:25 +00:00
hjp 955d49149e Changed tests on skip_fifo to use _ instead of $i. The latter caused
extra calls to stat which clobbered the state of _ which caused spurious
errors/warnings on symlinks.
2003-05-15 10:49:33 +00:00
hjp 609868d588 Added man page to install targets. 2003-05-14 11:52:26 +00:00
hjp 2ce9f5b473 Added yet another patch by Chris Mason.
Added POD.

Changed option processing to use Getopt::Long and Pod::Usage.
2003-05-14 11:49:56 +00:00
hjp 1d321d0f4b Fixed error message in configure. 2002-07-01 10:42:58 +00:00
hjp 878496aeee cleandir is generated from cleandir.pl -> removed. 2002-02-25 23:36:22 +00:00
hjp 78c3f75328 Applied patch from "Chris L. Mason" <cmason@somanetworks.com> to prevent
filesystem traversal.

Return immediately if we cannot chdir back to the directory we came
from.
2002-02-25 23:33:29 +00:00
hjp 60b99b5cde Applied patch from "Chris L. Mason" <cmason@somanetworks.com> to prevent
filesystem traversal.

Return immediately if we cannot chdir back to the directory we came
from.
2002-02-25 23:23:10 +00:00
hjp 6279fc8ad3 Added configure script to figure out perl location. 2001-06-25 17:55:04 +00:00
hjp 6900af48b4 Checks introduced in last version prevented deletion of unused subdirs.
Fixed.
2000-11-20 21:10:08 +00:00
hjp 50a51a6093 Added checks to detect directory/symlink switching attacks. 2000-09-10 16:16:41 +00:00
hjp cd5c076e09 added GNUmakefile. 1999-09-07 21:26:57 +00:00
hjp 715ca2cab9 More levels of verbosity. 1999-08-21 12:37:53 +00:00
hjp 5c8816c0b9 Added cleandir 1999-07-09 21:05:26 +00:00