summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib_fopen_wrapper.c
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2003-05-14 06:10:04 +0000
committerSara Golemon <pollita@php.net>2003-05-14 06:10:04 +0000
commit5126fbe556a4e4fa5f48b6d5ca63395688faf3bc (patch)
treef1e1052d04dcdebfe42fe0137e4b0d1a04d0c214 /ext/zlib/zlib_fopen_wrapper.c
parentf1679e402774edaa2f465701b0ac22f69347c4a7 (diff)
downloadphp-git-5126fbe556a4e4fa5f48b6d5ca63395688faf3bc.tar.gz
Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops
Diffstat (limited to 'ext/zlib/zlib_fopen_wrapper.c')
-rw-r--r--ext/zlib/zlib_fopen_wrapper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/zlib/zlib_fopen_wrapper.c b/ext/zlib/zlib_fopen_wrapper.c
index ab3b0d31cc..f49ccbc273 100644
--- a/ext/zlib/zlib_fopen_wrapper.c
+++ b/ext/zlib/zlib_fopen_wrapper.c
@@ -161,7 +161,8 @@ static php_stream_wrapper_ops gzip_stream_wops = {
NULL, /* stat */
NULL, /* stat_url */
NULL, /* opendir */
- "ZLIB"
+ "ZLIB",
+ NULL /* unlink */
};
php_stream_wrapper php_stream_gzip_wrapper = {