httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: patch for clean compile of 1.2b2 mod_fastcgi.c
Date Thu, 12 Dec 1996 21:07:13 GMT

thanks

David R. Linn wrote:
>
>Below is a patch to get a clean compile of the mod_fastcgi.c file in
>the 1.2b2 distribution of Apache HTTPD with SunPro C 4.0.  Without the
>patch (a couple of casts), you get these warnings:
>
>cc -c -Iregex  -xO2 -DSOLARIS2 -DSTATUS   mod_fastcgi.c
>"mod_fastcgi.c", line 3750: warning: initialization type mismatch
>"mod_fastcgi.c", line 3752: warning: initialization type mismatch
>
>Here's the version info of the compiler
>
>(drl@jester)57% cc -V
>cc: SC4.0 18 Oct 1995 C 4.0
>
>Here's the patch:
>
>(drl@jester)112% diff -c mod_fastcgi.c-dist mod_fastcgi.c
>*** mod_fastcgi.c-dist	Mon Nov 25 05:22:00 1996
>--- mod_fastcgi.c	Thu Dec 12 13:51:45 1996
>***************
>*** 3747,3755 ****
>  
>  
>  command_rec fastcgi_cmds[] = {
>! { "FastCgiIpcDir", FastCgiIpcDirCmd, NULL, RSRC_CONF, TAKE1,
>      NULL },
>! { "AppClass", AppClassCmd, NULL, RSRC_CONF, RAW_ARGS,
>      NULL },
>  { NULL }
>  };
>--- 3747,3755 ----
>  
>  
>  command_rec fastcgi_cmds[] = {
>! { "FastCgiIpcDir", (const char *(*)()) FastCgiIpcDirCmd, NULL, RSRC_CONF, TAKE1,
>      NULL },
>! { "AppClass", (const char *(*)()) AppClassCmd, NULL, RSRC_CONF, RAW_ARGS,
>      NULL },
>  { NULL }
>  };
>


-- 
Rob Hartill.       Internet Movie Database Ltd.    http://www.imdb.com/  

Mime
View raw message