From: Sterling Hughes Date: Tue, 18 Jul 2000 05:52:03 +0000 (+0000) Subject: Patch STDOUT support. X-Git-Tag: PRE_FILE_COMPILE_API_CHANGE~235 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb5987fe7410b2172bc2b96000432899fe1387aa;p=php Patch STDOUT support. --- diff --git a/ext/swf/swf.c b/ext/swf/swf.c index eaea922cc0..146d25473c 100644 --- a/ext/swf/swf.c +++ b/ext/swf/swf.c @@ -175,7 +175,7 @@ PHP_FUNCTION(swf_openfile) } #endif - swf_openfile((strcasecmp("php://stdout", na)==0) ? fileno(stdout) : na, + swf_openfile((strcasecmp("php://stdout", na)==0) ? "STDOUT" : na, (float)Z_DVAL_PP(sizeX), (float)Z_DVAL_PP(sizeY), (float)Z_DVAL_PP(frameRate), (float)Z_DVAL_PP(r), (float)Z_DVAL_PP(g), (float)Z_DVAL_PP(b)); #ifdef VIRTUAL_DIR