]> git.pld-linux.org Git - packages/php.git/blame - php_bug34435.patch
- fix from bug #35009: ZTS: Persistent resource destruct crashes when extension is...
[packages/php.git] / php_bug34435.patch
CommitLineData
67fb730f
AG
1--- ./ext/standard/incomplete_class.c.bug34435 2004-11-25 20:28:37.000000000 +0000
2+++ ./ext/standard/incomplete_class.c 2005-09-09 13:00:39.000000000 +0100
3@@ -122,7 +122,7 @@
4
5 /* {{{ php_lookup_class_name
6 */
7-char *php_lookup_class_name(zval *object, size_t *nlen)
8+char *php_lookup_class_name(zval *object, zend_uint *nlen)
9 {
10 zval **val;
11 char *retval = NULL;
12@@ -144,7 +144,7 @@
13
14 /* {{{ php_store_class_name
15 */
16-void php_store_class_name(zval *object, const char *name, size_t len)
17+void php_store_class_name(zval *object, const char *name, zend_uint len)
18 {
19 zval *val;
20 TSRMLS_FETCH();
21--- ./ext/standard/php_incomplete_class.h.bug34435 2005-06-29 10:29:08.000000000 +0100
22+++ ./ext/standard/php_incomplete_class.h 2005-09-09 13:00:31.000000000 +0100
23@@ -42,7 +42,7 @@
24
25 #define PHP_CLASS_ATTRIBUTES \
26 char *class_name; \
27- size_t name_len; \
28+ zend_uint name_len; \
29 zend_bool free_class_name = 0; \
30 zend_bool incomplete_class = 0
31
32@@ -55,8 +55,8 @@
33
34 zend_class_entry *php_create_incomplete_class(TSRMLS_D);
35
36-char *php_lookup_class_name(zval *object, size_t *nlen);
37-void php_store_class_name(zval *object, const char *name, size_t len);
38+char *php_lookup_class_name(zval *object, zend_uint *nlen);
39+void php_store_class_name(zval *object, const char *name, zend_uint len);
40
41 #ifdef __cplusplus
42 };
This page took 0.033529 seconds and 4 git commands to generate.