]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Add -t option to htcacheclean to clean out empty directories.
authorJustin Erenkrantz <jerenkrantz@apache.org>
Wed, 10 Aug 2005 23:14:57 +0000 (23:14 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Wed, 10 Aug 2005 23:14:57 +0000 (23:14 +0000)
commitc5db9990f3604b607ccbded1ca6d15fb973c03b2
tree4f87d818c028522ec297f0eb2c2111bae7a639d9
parentd971ca4ef87feae17c295d44b5100bc7d8e53855
Add -t option to htcacheclean to clean out empty directories.

* support/htcacheclean.c: Implement -t option.
* docs/man/htcacheclean.8, docs/manual/programs/htcacheclean.html.en,
  docs/manual/programs/htcacheclean.xml: Document -t option.

Justin did some minor tweaks as he agrees with Andreas and Rudiger that
apr_dir_remove should return an error if the directory isn't empty; hence,
remove the apr_dir_read calls.

Submitted by: Colm MacCarthaigh
Reviewed by:  Justin Erenkrantz, Andreas Steinmetz, Rudiger Pluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231351 13f79535-47bb-0310-9956-ffa450edef68
docs/man/htcacheclean.8
docs/manual/programs/htcacheclean.html.en
docs/manual/programs/htcacheclean.xml
support/htcacheclean.c