summaryrefslogtreecommitdiff
path: root/ext/bz2
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2003-12-12 23:06:42 +0000
committerSara Golemon <pollita@php.net>2003-12-12 23:06:42 +0000
commitb1f8236b63ae9ee1f3cec490f093cbb8cfff407f (patch)
tree7221777bf6d4cc433e5b9fb3503ba6123a12ee94 /ext/bz2
parent23afd9b166ece8553e5b154d4ea58bfeec037374 (diff)
downloadphp-git-b1f8236b63ae9ee1f3cec490f093cbb8cfff407f.tar.gz
Route rename() via wrapper ops.
Move current rename() code to main/streams/plain_wrapper.c Implement ftp/rename() Implement userstreams/rename()
Diffstat (limited to 'ext/bz2')
-rw-r--r--ext/bz2/bz2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c
index aa2b021cf3..0e4620e06a 100644
--- a/ext/bz2/bz2.c
+++ b/ext/bz2/bz2.c
@@ -226,7 +226,8 @@ static php_stream_wrapper_ops bzip2_stream_wops = {
NULL, /* stat */
NULL, /* opendir */
"BZip2",
- NULL /* unlink */
+ NULL, /* unlink */
+ NULL /* rename */
};
php_stream_wrapper php_stream_bzip2_wrapper = {