]> granicus.if.org Git - apache/commit
mod_disk_cache: Remove the directory path of the cached file as far as possible
authorJustin Erenkrantz <jerenkrantz@apache.org>
Fri, 12 Aug 2005 16:52:28 +0000 (16:52 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Fri, 12 Aug 2005 16:52:28 +0000 (16:52 +0000)
commit8998c32fb623b05d0e2da354f5606d6ef5399f2c
treea942fb550be497f1bf9b2e31ea741eb6ba7e38ad
parent487504d63ba7f1a7723ac3c41122c798b4c518b1
mod_disk_cache: Remove the directory path of the cached file as far as possible
(up to the cache root) to get rid of unused empty directories.

* cache/mod_disk_cache.c
  (remove_url): Try to delete directories; also change two APR_ENOENT to
  APR_STATUS_IS_ENOENT.

(Justin tweaked some comments.)

Submitted by: Rudiger Plum <ruediger.pluem vodafone.com>
Reviewed by: Justin Erenkrantz

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@232334 13f79535-47bb-0310-9956-ffa450edef68
modules/cache/mod_disk_cache.c