* Ben Laurie <[EMAIL PROTECTED]> 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
randomly.

nd

Reply via email to