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?
:->
Cheers,
Ben.
--
http://www.apache-ssl.org/ben.html
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi
|