Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 10030 invoked by uid 6000); 12 Jul 1999 18:55:09 -0000 Received: (qmail 9916 invoked from network); 12 Jul 1999 18:55:06 -0000 Received: from twinlark.arctic.org (204.107.140.52) by taz.hyperreal.org with SMTP; 12 Jul 1999 18:55:06 -0000 Received: (qmail 22934 invoked by uid 500); 12 Jul 1999 18:55:05 -0000 Date: Mon, 12 Jul 1999 11:55:05 -0700 (PDT) From: Dean Gaudet To: new-httpd@apache.org Subject: Re: cvs commit: apache-2.0/mpm/src/main http_config.c http_main.c In-Reply-To: <378A36A5.DF0292CC@algroup.co.uk> Message-ID: X-Comment: Visit http://www.arctic.org/~dgaudet/legal for information regarding copyright and disclaimer. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Status: O On Mon, 12 Jul 1999, Ben Laurie wrote: > Dean Gaudet wrote: > > > > On Sun, 11 Jul 1999, Ben Laurie wrote: > > > > > Well, if I'm going to preserve the original behaviour as much as I can, > > > yes. The reason being that hooks are defined early on, but I need > > > -DSHOW_HOOKS before they are, but there's also a pre-command-line hook > > > that has to come _after_ hooks have been hooked (obviously). > > > > Maybe the pre_command_line hook shouldn't be there. I forget exactly why > > I wanted it, I think in many ways what I wanted was a hook to initialize > > modules just after they first load... in case they have any memory that > > needs initializing. > > You use it in prefork.c (I think) ... if that's all it's for, you could > do it in register_hooks? Yeah, it just calls INIT_SIGLIST(). Totally -- if register_hooks is guaranteed to be called just once for each module as its loaded, before anything else in the module is called, then that's just about exactly what I was thinking of for pre_command_line. So just do a name change :) Dean