pkgsrc/www/squid/patches/patch-ai
tron cce3bb6605 Do the metadata rebuild as last step of logfile rotation so that programs
waiting don't have to wait very long until they can safely access the
logfiles.

This fixes the third part of PR pkg/8764 by Luke Mewburn.
1999-11-12 22:32:21 +00:00

16 lines
439 B
Text

$NetBSD: patch-ai,v 1.1 1999/11/12 22:32:22 tron Exp $
--- src/main.c.orig Mon May 10 18:30:37 1999
+++ src/main.c Fri Nov 12 22:22:20 1999
@@ -351,10 +351,10 @@
{
icmpClose();
_db_rotate_log(); /* cache.log */
- storeDirWriteCleanLogs(1);
storeLogRotate(); /* store.log */
accessLogRotate(); /* access.log */
useragentRotateLog(); /* useragent.log */
+ storeDirWriteCleanLogs(1);
icmpOpen();
}