httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apache-1.3/src/main alloc.c
Date Sun, 04 Jul 2004 11:34:36 GMT
trawick     2004/07/04 04:34:36

  Modified:    src      CHANGES
               src/main alloc.c
  Log:
  Win32: Improve error reporting after a failed attempt to spawn a
  piped log process or rewrite map process.
  
  Submitted by: trawick
  Reviewed by:  stoddard, nd
  
  Revision  Changes    Path
  1.1944    +4 -1      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1943
  retrieving revision 1.1944
  diff -u -r1.1943 -r1.1944
  --- CHANGES	11 Jun 2004 07:54:38 -0000	1.1943
  +++ CHANGES	4 Jul 2004 11:34:36 -0000	1.1944
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3.32
   
  +  *) Win32: Improve error reporting after a failed attempt to spawn a 
  +     piped log process or rewrite map process.  [Jeff Trawick]
  +
     *) SECURITY: CAN-2004-0492 (cve.mitre.org)
        Reject responses from a remote server if sent an invalid (negative) 
        Content-Length.  [Mark Cox]
  @@ -16,7 +19,7 @@
        It controls how UseCanonicalName Off determines the port value if
        the client doesn't provide one in the Host header. If defined during
        compilation, UseCanonicalName Off will use the physical port number to
  -     generate the canonical name. If not defined, it trys the current Port
  +     generate the canonical name. If not defined, it tries the current Port
        value followed by the default port for the current scheme.
        [Jim Jagielski]
   
  
  
  
  1.150     +4 -2      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.149
  retrieving revision 1.150
  diff -u -r1.149 -r1.150
  --- alloc.c	16 Feb 2004 22:29:32 -0000	1.149
  +++ alloc.c	4 Jul 2004 11:34:36 -0000	1.150
  @@ -2318,9 +2318,11 @@
   	(void) ap_release_mutex(spawn_mutex);
   	/*
   	 * go on to the end of the function, where you can
  -	 * unblock alarms and return the pid
  +	 * return the pid
   	 */
  -
  +        if (!pid) {
  +            errno = save_errno;
  +        }
       }
   #elif defined(NETWARE)
        /* NetWare currently has no pipes yet. This will
  
  
  

Mime
View raw message