httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo>
Subject Re: module load order
Date Sun, 09 Nov 2003 21:44:39 GMT
* Ben Laurie <> wrote:

> Perhaps my memory is failing me, but I thought the module hooks were
> sorted with a stable topological sort, not qsort?

from apr_hooks.c:

static TSort *prepare(apr_pool_t *p,TSortData *pItems,int nItems)
    TSort *pData=apr_palloc(p,nItems*sizeof *pData);
    int n;
    qsort(pItems,nItems,sizeof *pItems,crude_order);

Which means, hooks at the same level with no further specification are ordered


View raw message