summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2004-07-15 19:41:25 +0000
committerSVN Migration <svn@php.net>2004-07-15 19:41:25 +0000
commit5c83dc9adee4691690822a05b290d7d9a9c04c31 (patch)
tree4c22c901829598dfe7fa599c41c0b2cb569f4afa /main
parent8091552925399dc7dbe4d5c47e1cc53f900bc670 (diff)
downloadphp-git-php-5.0.0RC4.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_0_0RC4'.php-5.0.0RC4
Diffstat (limited to 'main')
-rw-r--r--main/php_version.h4
-rwxr-xr-xmain/streams/streams.c4
2 files changed, 3 insertions, 5 deletions
diff --git a/main/php_version.h b/main/php_version.h
index 651a744262..3d13b2abe6 100644
--- a/main/php_version.h
+++ b/main/php_version.h
@@ -2,6 +2,6 @@
/* edit configure.in to change version number */
#define PHP_MAJOR_VERSION 5
#define PHP_MINOR_VERSION 0
-#define PHP_RELEASE_VERSION 1
+#define PHP_RELEASE_VERSION 0
#define PHP_EXTRA_VERSION "-dev"
-#define PHP_VERSION "5.0.1-dev"
+#define PHP_VERSION "5.0.0-dev"
diff --git a/main/streams/streams.c b/main/streams/streams.c
index fc3d893e09..86f78847dd 100755
--- a/main/streams/streams.c
+++ b/main/streams/streams.c
@@ -1231,8 +1231,6 @@ PHPAPI size_t _php_stream_copy_to_mem(php_stream *src, char **buf, size_t maxlen
*buf = perealloc_rel_orig(*buf, max_len + step, persistent);
max_len += step;
ptr = *buf + len;
- } else {
- ptr += ret;
}
}
if (len) {
@@ -1376,7 +1374,7 @@ int php_init_stream_wrappers(int module_number TSRMLS_DC)
int php_shutdown_stream_wrappers(int module_number TSRMLS_DC)
{
zend_hash_destroy(&url_stream_wrappers_hash);
- zend_hash_destroy(php_get_stream_filters_hash_global());
+ zend_hash_destroy(php_get_stream_filters_hash());
zend_hash_destroy(php_stream_xport_get_hash());
return SUCCESS;
}