You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1996/07/27 06:36:49 UTC

CGI patch

Shall we fix this? This is becoming a commonly reported bug.


------- Forwarded Message

Return-Path: owner-new-httpd@hyperreal.com
Received: from taz.hyperreal.com (taz.hyperreal.com [204.152.144.36]) by sierra.zyzzyva.com (8.7.5/8.6.11) with SMTP id JAA17585 for <ra...@zyzzyva.com>; Wed, 17 Jul 1996 09:54:23 -0500 (CDT)
Received: by taz.hyperreal.com (8.6.12/8.6.5) id HAA19676; Wed, 17 Jul 1996 07:53:28 -0700
Received: from us2.imdb.com by taz.hyperreal.com (8.6.12/8.6.5) with ESMTP id HAA19655; Wed, 17 Jul 1996 07:53:24 -0700
Message-Id: <199607171454.IAA12638>
Subject: Re: CGI bug fix
To: slw@as.dial.dux.ru (Slawa V. Olhovchenkov)
Date: Wed, 17 Jul 1996 08:54:04 -0600 (MDT)
In-Reply-To: <96...@as.dial.dux.ru> from "Slawa V. Olhovchenkov" at Jul 17, 96 06:40:14 pm
From: robh@imdb.com (Rob Hartill)
Organization: Internet Movie Database
X-Mailer: ELM [version 2.4 PL24 ME8a]
Content-Type: text
Sender: owner-new-httpd@hyperreal.com
Precedence: bulk
Reply-To: new-httpd@hyperreal.com


Thanks for the patch. I'll it on to the developers for consideration.

cheers,
rob

- -=-=-=-

Slawa V. Olhovchenkov wrote:


*** alloc.c:bug	Tue Jun 18 00:43:45 MSK DST 1996
- --- alloc.c	Wed Jul 17 17:38:35 MSK DST 1996
***************
*** 865,870 ****
- --- 865,871 ----
      /* Child process */
      
      if (pipe_out) {
+       kill_cleanup(p, (void *)STDOUT_FILENO, fd_cleanup);
        close (out_fds[0]);
        dup2 (out_fds[1], STDOUT_FILENO);
        close (out_fds[1]);
***************
*** 871,876 ****
- --- 872,878 ----
      }
  
      if (pipe_in) {
+       kill_cleanup(p, (void *)STDIN_FILENO, fd_cleanup);
        close (in_fds[1]);
        dup2 (in_fds[0], STDIN_FILENO);
        close (in_fds[0]);


- -- 
Rob Hartill (robh@imdb.com)
The Internet Movie Database (IMDb)  http://www.imdb.com/
           ...more movie info than you can poke a stick at.

------- End of Forwarded Message