Mailing List Archive

cvs commit: apache/src mod_include.c
coar 97/06/04 17:57:46

Modified: src mod_include.c
Log:
Add in bits necessary to use -DUSE_PERL_SSI with an
sfio enabled Perl.

Reviewed by: Jim Jagielski, Rob Hartill
Submitted by: Doug MacEachern

Revision Changes Path
1.33 +6 -0 apache/src/mod_include.c

Index: mod_include.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_include.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -C3 -r1.32 -r1.33
*** mod_include.c 1997/05/29 04:23:12 1.32
--- mod_include.c 1997/06/05 00:57:45 1.33
***************
*** 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;
}