From: Ilia Alshanetsky Date: Fri, 12 Sep 2003 04:53:39 +0000 (+0000) Subject: When opening file for write, it may not exist. X-Git-Tag: php-4.3.4RC1~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d362219956bcd3482cf0843d7b72a74546cf0c5;p=php When opening file for write, it may not exist. --- diff --git a/ext/swf/swf.c b/ext/swf/swf.c index d3143c375b..a48f17aaef 100644 --- a/ext/swf/swf.c +++ b/ext/swf/swf.c @@ -228,7 +228,7 @@ PHP_FUNCTION(swf_openfile) } #ifdef VIRTUAL_DIR - if (virtual_filepath(na, &tmpna TSRMLS_CC)) { + if (virtual_filepath_ex(na, &tmpna, NULL TSRMLS_CC)) { if (free_na) { efree(na); }