summaryrefslogtreecommitdiff
path: root/ext/standard/php_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/standard/php_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/standard/php_fopen_wrapper.c')
-rw-r--r--ext/standard/php_fopen_wrapper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c
index 065005f30f..e163827a5e 100644
--- a/ext/standard/php_fopen_wrapper.c
+++ b/ext/standard/php_fopen_wrapper.c
@@ -232,7 +232,8 @@ static php_stream_wrapper_ops php_stdio_wops = {
NULL, /* fstat */
NULL, /* stat */
NULL, /* opendir */
- "PHP"
+ "PHP",
+ NULL /* unlink */
};
php_stream_wrapper php_stream_php_wrapper = {