$NetBSD: patch-ag,v 1.4 2000/09/12 14:17:32 jlam Exp $ --- src/os/unix/os.c.orig Sat Jan 15 11:01:09 2000 +++ src/os/unix/os.c @@ -129,7 +129,12 @@ #elif defined(HAVE_DYLD) NSUnLinkModule(handle,FALSE); -#else +/* + * Work around Apache dlclose() bug, where shared objects may be + * dlclose()d before their cleanup procedures are called. + * Fixes mod_perl vs. CGI interaction bug. + */ +#elif 0 dlclose(handle); #endif