]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Skip some more close on exec magic for NetWare
authorBradley Nicholes <bnicholes@apache.org>
Wed, 26 Feb 2003 22:24:01 +0000 (22:24 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Wed, 26 Feb 2003 22:24:01 +0000 (22:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98806 13f79535-47bb-0310-9956-ffa450edef68

src/main/alloc.c

index da9bd748524426376d9ff088d70edd412159fd20..8ce98cb7452b596689dd6d3b6c349ae0eee8b39e 100644 (file)
@@ -1858,6 +1858,9 @@ static int fd_magic_cleanup(void *fdv)
 
 API_EXPORT(void) ap_note_cleanups_for_fd_ex(pool *p, int fd, int domagic)
 {
+#if defined(NETWARE)
+    domagic = 0; /* skip magic for NetWare, at least for now */
+#endif
     ap_register_cleanup_ex(p, (void *) (long) fd, fd_cleanup, fd_cleanup,
                            domagic ? fd_magic_cleanup : NULL);
 }
@@ -1974,6 +1977,9 @@ static int file_magic_cleanup(void *fpv)
 
 API_EXPORT(void) ap_note_cleanups_for_file_ex(pool *p, FILE *fp, int domagic)
 {
+#if defined(NETWARE)
+    domagic = 0; /* skip magic for NetWare, at least for now */
+#endif
     ap_register_cleanup_ex(p, (void *) fp, file_cleanup, file_child_cleanup,
                            domagic ? file_magic_cleanup : NULL);
 }