Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 6831 invoked by uid 500); 3 Apr 2002 14:42:28 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 6778 invoked from network); 3 Apr 2002 14:42:27 -0000 Reply-To: From: "Ryan Bloom" To: Subject: RE: [PATCH] hard-coded paths leftovers... Date: Wed, 3 Apr 2002 06:41:06 -0800 Organization: Covalent Technologies Message-ID: <002601c1db1d$965b1290$0a01230a@KOJ> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > This is for mod_cgid.c > > Index: modules/generators/mod_cgid.c > =================================================================== > RCS file: /home/cvspublic/httpd-2.0/modules/generators/mod_cgid.c,v > retrieving revision 1.125 > diff -U3 -r1.125 mod_cgid.c > --- modules/generators/mod_cgid.c 30 Mar 2002 23:55:16 -0000 1.125 > +++ modules/generators/mod_cgid.c 3 Apr 2002 14:31:29 -0000 > @@ -149,7 +149,12 @@ > > #define DEFAULT_LOGBYTES 10385760 > #define DEFAULT_BUFBYTES 1024 > -#define DEFAULT_SOCKET "logs/cgisock" > + > +/* This is for windows (w/o autoconf we don't generate > ap_config_layout.hi) > */ Mod_cgid doesn't work on Windows, and I'm not really sure that it makes sense. Windows programs don't seem to have the problem that Unix does forking a threaded process, probably because every fork on Windows is a fork/exec, so they don't need to create the threads just to kill them off. > +#ifndef DEFAULT_REL_RUNTIMEDIR > +#define DEFAULT_REL_RUNTIMEDIR "logs" > +#endif > +#define DEFAULT_SOCKET DEFAULT_REL_RUNTIMEDIR "/cgisock" > > #define CGI_REQ 1 > #define SSI_REQ 2 > Ryan