httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@ibm.net>
Subject Re: [PATCH] make mod_cgid.c compile
Date Thu, 06 Jul 2000 15:01:32 GMT
> Date: Thu, 6 Jul 2000 13:59:55 -0700 (PDT)
> From: Ed Korthof <ed@apache.org>
> 
> the head of the anoncvs tree has a problem w/ mod_cgid.c ... the attached
> patch makes it compile.  it's lightly tested (if someone else is working
> on this, please ignore it; i'm just posting it 'cause i wanted to test
> something else out and this was easy to fix).
> 
> thanks --
> 
> ed

> Index: mod_cgid.c
> ===================================================================
> RCS file: /home/cvspublic/apache-2.0/src/modules/standard/mod_cgid.c,v
> retrieving revision 1.25
> diff -u -r1.25 mod_cgid.c
> --- mod_cgid.c	2000/07/05 23:43:40	1.25
> +++ mod_cgid.c	2000/07/06 14:19:20
> @@ -898,7 +898,7 @@
>  
>      ap_put_os_sock(&tempsock, &sd, pcgi);
>  
> -    iol = ap_iol_attach_socket(pcgi, tempsock);
> +    iol = ap_iol_attach_socket(r->pool, tempsock);
>  
>      ap_bpush_iol(script, iol); 

It compiles for me as-is.  What is the compile failure?  pcgi was used
in the previous line as ap_pool_t *; why couldn't it be used for the
same purpose when calling ap_iol_attach_socket?  r->pool is ap_pool_t
* also.

confused,

Jeff

-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...

Mime
View raw message