]> granicus.if.org Git - php/commitdiff
Patch STDOUT support.
authorSterling Hughes <sterling@php.net>
Tue, 18 Jul 2000 05:52:03 +0000 (05:52 +0000)
committerSterling Hughes <sterling@php.net>
Tue, 18 Jul 2000 05:52:03 +0000 (05:52 +0000)
ext/swf/swf.c

index eaea922cc09d08e8a93091c3675380559f9e3802..146d25473c295e4da0e4d99fa20b16cf4dee376b 100644 (file)
@@ -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