diff options
author | tron <tron@pkgsrc.org> | 1999-11-12 22:32:21 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-11-12 22:32:21 +0000 |
commit | cce3bb6605ccebeb5e8d0df7280e6acc6ad5bfd6 (patch) | |
tree | 0e69fe6fe43b3e9fa40daa50d5eaa446f7ebe9fc /www/squid | |
parent | 19e417b14b3f074d93c0d6d02df224bef80d964c (diff) | |
download | pkgsrc-cce3bb6605ccebeb5e8d0df7280e6acc6ad5bfd6.tar.gz |
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.
Diffstat (limited to 'www/squid')
-rw-r--r-- | www/squid/files/patch-sum | 3 | ||||
-rw-r--r-- | www/squid/patches/patch-ai | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/www/squid/files/patch-sum b/www/squid/files/patch-sum index 1485f27c752..9b3279fe3d8 100644 --- a/www/squid/files/patch-sum +++ b/www/squid/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.3 1999/11/12 22:07:11 tron Exp $ +$NetBSD: patch-sum,v 1.4 1999/11/12 22:32:21 tron Exp $ MD5 (patch-aa) = 6befb071002fb7ced0fb9f388d039cd9 MD5 (patch-ab) = 05ef29847c539ee53d056061ab21ebcf @@ -8,3 +8,4 @@ MD5 (patch-ae) = fa1d2532d75b8e409f225063e6589f4a MD5 (patch-af) = ec14792120b479d910a2a9f2f183564c MD5 (patch-ag) = faf26a08bbaf4998339e37ab9f9b305c MD5 (patch-ah) = 971f5268e79bd6a7b266baa3e5b87ca0 +MD5 (patch-ai) = f4e4dbed017331c46df688543c98fec8 diff --git a/www/squid/patches/patch-ai b/www/squid/patches/patch-ai new file mode 100644 index 00000000000..1d1f589b0c3 --- /dev/null +++ b/www/squid/patches/patch-ai @@ -0,0 +1,16 @@ +$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(); + } + |