You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by rb...@covalent.net on 2001/01/19 15:47:45 UTC

Re: cvs commit: apr/dso/win32 dso.c

>   watch out for a double-unload. one manually from apr_dso_unload(), followed
>   by one through the pool cleanup.
>   1) protect the unload by setting/checking the handle to NULL
>   2) unload "runs" the cleanup to also remove it from the pool cleanup

>        dllhandle  *handle;     /* Handle to the DSO loaded            */
>        int failing_errno;      /* Don't save the buffer returned by
>                                   strerror(); it gets reused          */
>   +    apr_pool_t *pool;

This really belongs at the top of the structure to keep the format the
same for all APR types.


Ryan
_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------