Hi,
The following patch adds the capability of to specify the last chance error
files location at compile time without edit the sources.
Regards
Guido
Index: src/defines.h
===================================================================
RCS file: /cvsroot/squid/squid/src/defines.h,v
retrieving revision 1.22
diff -u -p -r1.22 defines.h
--- src/defines.h 23 Jun 2002 14:57:13 -0000 1.22
+++ src/defines.h 15 Jul 2002 07:27:11 -0000
@@ -228,7 +228,9 @@
#define N_COUNT_HOUR_HIST (86400 * 3) / (60 * COUNT_INTERVAL)
/* were to look for errors if config path fails */
+#ifndef DEFAULT_SQUID_ERROR_DIR
#define DEFAULT_SQUID_ERROR_DIR "/usr/local/squid/etc/errors"
+#endif
/* iteration for HttpHdrRange */
#define HttpHdrRangeInitPos (-1)
-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Mon Jul 15 2002 - 01:31:36 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:50 MST