httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cleanups returning void
Date Sat, 20 May 2000 19:03:56 GMT
On Fri, 19 May 2000 rbb@covalent.net wrote:
>...
> 1) ignore errors when cleaning up APR types.
> 2) duplicate code so that the functions to register cleanups don't return
> an error value.
> 3) Use a layer of indirection for cleanups (explained below)
> 4) leave it alone.

I say leave it the way it is -- cleanup functions return a status code.

*) it allows their reuse in other contexts
*) it allows us to detect and log errors in the run-cleanup functions

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/


Mime
View raw message