com php-src: Fixed bug #78768: NEWS Zend/zend_types.h
| From: | Nikita Popov | Date: | Fri, 01 Nov 2019 16:04:15 +0000 |
| Subject: | com php-src: Fixed bug #78768: NEWS Zend/zend_types.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-109163@lists.php.net to get a copy of this message | ||
Commit: 944c1cf034541e16ad2c953d7f783e576ed17d63
Author: Nikita Popov <nikita.ppv@gmail.com> Fri, 1 Nov 2019 17:04:15 +0100
Parents: a0d58abb79b5f2c91e30a5ae6a0e835ed3ed3026
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=944c1cf034541e16ad2c953d7f783e576ed17d63
Log:
Fixed bug #78768
Remove the typedef from zend_types.h, use explicit struct prefix
instead.
Bugs:
https://bugs.php.net/78768
Changed paths:
M NEWS
M Zend/zend_types.h
Diff:
diff --git a/NEWS b/NEWS
index a344936ce21..a1f89a732d7 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 7.4.0RC6
+- Core:
+ . Fixed bug #78768 (redefinition of typedef zend_property_info). (Nikita)
+
- Standard:
. Fixed bug #77930 (stream_copy_to_stream should use mmap more often)..
(Nikita)
diff --git a/Zend/zend_types.h b/Zend/zend_types.h
index 171d70a9dfd..50634417c60 100644
--- a/Zend/zend_types.h
+++ b/Zend/zend_types.h
@@ -382,16 +382,14 @@ struct _zend_resource {
void *ptr;
};
-typedef struct _zend_property_info zend_property_info;
-
typedef struct {
size_t num;
size_t num_allocated;
- zend_property_info *ptr[1];
+ struct _zend_property_info *ptr[1];
} zend_property_info_list;
typedef union {
- zend_property_info *ptr;
+ struct _zend_property_info *ptr;
uintptr_t list;
} zend_property_info_source_list;