apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject apr_XXX_set_inherit() brokenness
Date Mon, 23 Jul 2001 20:11:12 GMT
two problems, I think:

1) The special cleanup needs to be removed if the apr_foo is closed
   before the pool goes away.

   Example:

     mod_file_cache/mmap-ed file

     open file
     create mmap
     close file

     The inherit cleanup is still in place at this point.

2) Either there should be a no-op plain cleanup or the close-pool code
   should not call plain_cleanup if that ptr is NULL.

   run_cleanups() unconditionally calls cleanup->plain_cleanup(), so
   this tries to branch to zero if this is the inherit cleanup.

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message