com php-src: Preload: Better reason message for internal parents on windows: ext/opcache/ZendAccelerator.c

From: Date: Wed, 04 Dec 2019 08:52:40 +0000
Subject: com php-src: Preload: Better reason message for internal parents on windows: ext/opcache/ZendAccelerator.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-109374@lists.php.net to get a copy of this message
Commit: 7cbf31a3c754961e0ebfd5022191c1c9080effdb Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 4 Dec 2019 09:52:40 +0100 Parents: 6540797f1ef5116d9c806baebc43582980db242d Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7cbf31a3c754961e0ebfd5022191c1c9080effdb Log: Preload: Better reason message for internal parents on windows Related to bug #78881. Bugs: https://bugs.php.net/78881 Changed paths: M ext/opcache/ZendAccelerator.c Diff: diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 704e1c38d9b..895bf82b452 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -3389,6 +3389,13 @@ static void get_unlinked_dependency(zend_class_entry *ce, const char **kind, con *name = ZSTR_VAL(ce->parent_name); return; } +#ifdef ZEND_WIN32 + if (p->type == ZEND_INTERNAL_CLASS) { + *kind = "Internal parent (Windows only limitation)"; + *name = ZSTR_VAL(ce->parent_name); + return; + } +#endif if (!(p->ce_flags & ZEND_ACC_CONSTANTS_UPDATED)) { *kind = "Parent with unresolved initializers "; *name = ZSTR_VAL(ce->parent_name);

« previous php.cvs (#109374) next »