From: Andrew Tridgell Date: Mon, 1 Apr 2002 04:53:16 +0000 (+0200) Subject: on -M and -F create cache dir if it doesn't exist X-Git-Tag: v1.4~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b94e2a764e4b9544729b75aade4730852ce37a9a;p=thirdparty%2Fccache.git on -M and -F create cache dir if it doesn't exist --- diff --git a/stats.c b/stats.c index ea75fc158..76445792b 100644 --- a/stats.c +++ b/stats.c @@ -271,6 +271,8 @@ void stats_set_limits(long maxfiles, long maxsize) maxsize /= 16; } + create_dir(cache_dir); + /* set the limits in each directory */ for (dir=0;dir<=0xF;dir++) { char *fname, *cdir;