httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@opengroup.org>
Subject [PATCH] mod_include+perl+sfio
Date Wed, 04 Jun 1997 20:34:34 GMT
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;
  }

Mime
View raw message