From 3a67c677370651d88af59c23a056806c732138c0 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 26 Sep 2002 10:14:41 +0000 Subject: Rename file_get_wrapper_data -> file_get_meta_data. It now always returns useful information for all streams. Unified that data with socket_get_status and made socket_get_status an alias for file_get_meta_data. Fix Location header following which was broken in this commit: http://cvs.php.net/diff.php/php4/ext/standard/http_fopen_wrapper.c?r1=1.41&r2=1.42&ty=h --- ext/standard/php_fopen_wrapper.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ext/standard/php_fopen_wrapper.c') diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c index 6f077a3813..0ca83d356a 100644 --- a/ext/standard/php_fopen_wrapper.c +++ b/ext/standard/php_fopen_wrapper.c @@ -95,9 +95,11 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch static php_stream_wrapper_ops php_stdio_wops = { php_stream_url_wrap_php, - NULL, - NULL, - NULL + NULL, /* close */ + NULL, /* fstat */ + NULL, /* stat */ + NULL, /* opendir */ + "PHP" }; php_stream_wrapper php_stream_php_wrapper = { -- cgit v1.2.1