cvs: php4 /ext/standard file.c

From: Date: Thu, 26 Dec 2002 22:35:01 +0000
Subject: cvs: php4 /ext/standard file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-17416@lists.php.net to get a copy of this message
wez Thu Dec 26 17:35:01 2002 EDT Modified files: /php4/ext/standard file.c Log: Remove cruft that opened a stream that was never closed in get_meta_tags(). (probably my fault). Noticed by Philip Olson Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.282 php4/ext/standard/file.c:1.283 --- php4/ext/standard/file.c:1.282 Thu Dec 5 15:01:18 2002 +++ php4/ext/standard/file.c Thu Dec 26 17:35:00 2002 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.282 2002/12/05 20:01:18 iliaa Exp $ */ +/* $Id: file.c,v 1.283 2002/12/26 22:35:00 wez Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -273,14 +273,9 @@ 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;

« previous php.cvs (#17416) next »