From bb5987fe7410b2172bc2b96000432899fe1387aa Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Tue, 18 Jul 2000 05:52:03 +0000 Subject: [PATCH] Patch STDOUT support. --- ext/swf/swf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1