From: Wez Furlong Date: Thu, 26 Dec 2002 22:35:00 +0000 (+0000) Subject: Remove cruft that opened a stream that was never closed in get_meta_tags(). X-Git-Tag: PHP_5_0_dev_before_13561_fix~604 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb640840c3a5b7c1f267d61d87590806809198f7;p=php Remove cruft that opened a stream that was never closed in get_meta_tags(). (probably my fault). Noticed by Philip Olson --- diff --git a/ext/standard/file.c b/ext/standard/file.c index 6c210d9206..d6bf21a669 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -273,14 +273,9 @@ PHP_FUNCTION(get_meta_tags) return; } - php_stream_open_wrapper(filename, "rb", 0, NULL); - - md.stream = php_stream_open_wrapper(filename, "rb", (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); - - if (!md.stream) { RETURN_FALSE;