blob: 148c8f8b32bb7a0a69616465656dbe36c14523d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ag,v 1.8 2004/10/29 13:48:31 abs Exp $
--- src/os/unix/os.c.orig 2004-02-20 21:01:04.000000000 +0000
+++ src/os/unix/os.c
@@ -153,7 +153,12 @@ void ap_os_dso_unload(void *handle)
#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
|