Hi,
modperl_module_insert() reads:
static void modperl_module_insert(module *modp)
{
module *m;
/*
* insert after mod_perl, rather the top of the list.
* (see ap_add_module; does not insert into ap_top_module list if
* m->next != NULL)
* this way, modperl config merging happens before this module.
*/
for (m = ap_top_module; m; m=m->next) {
if (m == &perl_module) {
module *next = m->next;
m->next = modp;
modp->next = next;
break;
}
}
}
Isn't that just the same as
modp->next = perl_module.next;
perl_module.next = modp;
without the need to search for perl_module?
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]