You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Doug MacEachern <do...@opengroup.org> on 1997/06/04 22:34:34 UTC
[PATCH] mod_include+perl+sfio
This patch is needed to use -DUSE_PERL_SSI with an sfio enabled Perl.
It's still "harmless" behind the #ifdef USE_PERL_SSI's
-Doug
*** mod_include.c~ Thu May 29 00:23:12 1997
--- mod_include.c Wed Jun 4 12:40:48 1997
***************
*** 71,76 ****
--- 71,81 ----
*/
#ifdef USE_PERL_SSI
+ #include "config.h"
+ #ifdef USE_SFIO
+ #undef USE_SFIO
+ #define USE_STDIO
+ #endif
#include "modules/perl/mod_perl.h"
#else
#include "httpd.h"
***************
*** 748,753 ****
--- 753,759 ----
else if(strnEQ(tag,"done", 4))
break;
}
+ perl_stdout2client(r);
perl_call_handler(sub, r, av);
return OK;
}
Re: [PATCH] mod_include+perl+sfio
Posted by Rob Hartill <ro...@imdb.com>.
+1 if code changes are still allowed.
> This patch is needed to use -DUSE_PERL_SSI with an sfio enabled Perl.
> It's still "harmless" behind the #ifdef USE_PERL_SSI's
>
> -Doug
>
> *** mod_include.c~ Thu May 29 00:23:12 1997
> --- mod_include.c Wed Jun 4 12:40:48 1997
> ***************
> *** 71,76 ****
> --- 71,81 ----
> */
>
> #ifdef USE_PERL_SSI
> + #include "config.h"
> + #ifdef USE_SFIO
> + #undef USE_SFIO
> + #define USE_STDIO
> + #endif
> #include "modules/perl/mod_perl.h"
> #else
> #include "httpd.h"
> ***************
> *** 748,753 ****
> --- 753,759 ----
> else if(strnEQ(tag,"done", 4))
> break;
> }
> + perl_stdout2client(r);
> perl_call_handler(sub, r, av);
> return OK;
> }
>
>
--
Rob Hartill Internet Movie Database (Ltd)
http://www.moviedatabase.com/ .. a site for sore eyes.