summaryrefslogtreecommitdiff
path: root/www/apache/patches/patch-ag
blob: b8683610031d7475113bf5d862fe2cf23810527d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$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