summaryrefslogtreecommitdiff
path: root/ext/zlib
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/zlib
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/zlib')
-rw-r--r--ext/zlib/zlib_fopen_wrapper.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/zlib/zlib_fopen_wrapper.c b/ext/zlib/zlib_fopen_wrapper.c
index ee2222306d..1ccccc615a 100644
--- a/ext/zlib/zlib_fopen_wrapper.c
+++ b/ext/zlib/zlib_fopen_wrapper.c
@@ -131,9 +131,11 @@ php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mod
static php_stream_wrapper_ops gzip_stream_wops = {
php_stream_gzopen,
- NULL,
- NULL,
- NULL
+ NULL, /* close */
+ NULL, /* stat */
+ NULL, /* stat_url */
+ NULL, /* opendir */
+ "ZLIB"
};
php_stream_wrapper php_stream_gzip_wrapper = {