summaryrefslogtreecommitdiff
path: root/ext/standard/php_fopen_wrapper.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-09-26 10:14:41 +0000
committerWez Furlong <wez@php.net>2002-09-26 10:14:41 +0000
commit3a67c677370651d88af59c23a056806c732138c0 (patch)
treeb0610e3a3b00e9bc7a836d4442a6c9f793be91e0 /ext/standard/php_fopen_wrapper.c
parent7d87babada966a11b9444ee58cfc9be801a31b99 (diff)
downloadphp-git-3a67c677370651d88af59c23a056806c732138c0.tar.gz
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
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
-rw-r--r--ext/standard/php_fopen_wrapper.c8
1 files changed, 5 insertions, 3 deletions
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 = {