httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: apache-1.3/src/main alloc.c
Date Wed, 26 Feb 2003 22:24:04 GMT
bnicholes    2003/02/26 14:24:02

  Modified:    src/main alloc.c
  Log:
  Skip some more close on exec magic for NetWare
  
  Revision  Changes    Path
  1.142     +6 -0      apache-1.3/src/main/alloc.c
  
  Index: alloc.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/alloc.c,v
  retrieving revision 1.141
  retrieving revision 1.142
  diff -u -r1.141 -r1.142
  --- alloc.c	26 Feb 2003 17:38:44 -0000	1.141
  +++ alloc.c	26 Feb 2003 22:24:01 -0000	1.142
  @@ -1858,6 +1858,9 @@
   
   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 @@
   
   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);
   }
  
  
  

Mime
View raw message