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 17:38:45 GMT
bnicholes    2003/02/26 09:38:44

  Modified:    src/main alloc.c
  Log:
  Since NetWare doesn't have processes the entire issue of having to close
  handles before an exec is non-existent.  So just bypass the close on exec
  magic cleanup stuff.
  
  Revision  Changes    Path
  1.141     +3 -3      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.140
  retrieving revision 1.141
  diff -u -r1.140 -r1.141
  --- alloc.c	3 Feb 2003 17:13:20 -0000	1.140
  +++ alloc.c	26 Feb 2003 17:38:44 -0000	1.141
  @@ -1763,9 +1763,9 @@
   
   API_EXPORT(void) ap_cleanup_for_exec(void)
   {
  -#if !defined(WIN32) && !defined(OS2)
  +#if !defined(WIN32) && !defined(OS2) && !defined(NETWARE)
       /*
  -     * Don't need to do anything on NT or OS/2, because I
  +     * Don't need to do anything on NT, NETWARE or OS/2, because I
        * am actually going to spawn the new process - not
        * exec it. All handles that are not inheritable, will
        * be automajically closed. The only problem is with
  @@ -2103,7 +2103,7 @@
   
   API_EXPORT(void) ap_note_cleanups_for_socket_ex(pool *p, int fd, int domagic)
   {
  -#ifdef TPF
  +#if defined(TPF) || defined(NETWARE)
       domagic = 0; /* skip magic (fcntl) for TPF sockets, at least for now */
   #endif
       ap_register_cleanup_ex(p, (void *) (long) fd, socket_cleanup,
  
  
  

Mime
View raw message