$NetBSD: patch-ag,v 1.7 2002/02/01 16:04:39 jlam Exp $ --- src/os/unix/os.c.orig Mon Nov 12 12:36:38 2001 +++ src/os/unix/os.c @@ -132,7 +132,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. + * This is needed so shared modules can be used. + */ +#elif 0 dlclose(handle); #endif