httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: CGI bug fix
Date Wed, 17 Jul 1996 15:15:16 GMT
Rob Hartill wrote:
> 
> 
> Thanks for the patch. I'll it on to the developers for consideration.

This isn't really a bug. Although strictly correct, the process is about to do
an exec() so no cleanups will occur anyway. I think.

Cheers,

Ben.

> 
> 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.

-- 
Ben Laurie                  Phone: +44 (181) 994 6435
Freelance Consultant and    Fax:   +44 (181) 994 6472
Technical Director          Email: ben@algroup.co.uk
A.L. Digital Ltd,           URL: http://www.algroup.co.uk
London, England.            Apache Group member (http://www.apache.org)

Mime
View raw message