]> git.ipfire.org Git - thirdparty/squid.git/commit
store_dirs_rebuilding should be initialized to 1
authorwessels <>
Tue, 10 Apr 2007 06:45:10 +0000 (06:45 +0000)
committerwessels <>
Tue, 10 Apr 2007 06:45:10 +0000 (06:45 +0000)
commitb07b21cca5af07ddc4f92555f88e62b63bfe9a61
treea78496af0fe48af7bd1d64ee04eae034cb874f83
parentb4c60416d1a79c0f7f8ab6c8096de88d59436479
store_dirs_rebuilding should be initialized to 1

store_dirs_rebuilding is initialized to _1_ as a hack so that
storeDirWriteCleanLogs() doesn't try to do anything unless _all_
cache_dirs have been read.  For example, without this hack, Squid
will try to write clean log files if -kparse fails (becasue it
calls fatal()).
src/store_dir.cc
src/store_rebuild.cc