derick Thu Nov 14 05:52:46 2002 EDT
Added files: (Branch: PHP_4_3)
/php4/ext/standard/tests/file bug20424.phpt
Modified files:
/php4 NEWS
/php4/main streams.c
Log:
- Fixed bug #20424 (stream_get_meta_data craches on a normal file stream).
(Derick, Wez)
Index: php4/NEWS
diff -u php4/NEWS:1.1247.2.2 php4/NEWS:1.1247.2.3
--- php4/NEWS:1.1247.2.2 Wed Nov 13 20:57:20 2002
+++ php4/NEWS Thu Nov 14 05:52:45 2002
@@ -13,6 +13,8 @@
- Moved extensions to PECL (http://pear.php.net/): (James, Derick)
. ext/vpopmail
. ext/cybermut
+- Fixed bug #20424 (stream_get_meta_data craches on a normal file stream).
+ (Derick, Wez)
- Added "neutral" language entry to mbstring spec. (Moriyoshi)
- Modified log() to accept multiple bases. (Jason)
- Added gd_info() which returns an array of gd support information. (Marcus)
Index: php4/main/streams.c
diff -u php4/main/streams.c:1.125 php4/main/streams.c:1.125.2.1
--- php4/main/streams.c:1.125 Sun Nov 10 00:14:26 2002
+++ php4/main/streams.c Thu Nov 14 05:52:45 2002
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: streams.c,v 1.125 2002/11/10 05:14:26 iliaa Exp $ */
+/* $Id: streams.c,v 1.125.2.1 2002/11/14 10:52:45 derick Exp $ */
#define _GNU_SOURCE
#include "php.h"
@@ -2029,7 +2029,8 @@
NULL,
NULL,
php_plain_files_url_stater,
- php_plain_files_dir_opener
+ php_plain_files_dir_opener,
+ "plainfile"
};
static php_stream_wrapper php_plain_files_wrapper = {
Index: php4/ext/standard/tests/file/bug20424.phpt
+++ php4/ext/standard/tests/file/bug20424.phpt
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php