diff options
| author | Pierre Joye <pajoye@php.net> | 2011-08-29 10:10:05 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2011-08-29 10:10:05 +0000 |
| commit | 7246759277222bc1080947bd917b541e1db22305 (patch) | |
| tree | 4db589eca1450ed7402994b956b2141d33e0b75a /ext/libxml/libxml.c | |
| parent | 9382deede24b794cd22ab3b09154f15dfbfc2a38 (diff) | |
| download | php-git-7246759277222bc1080947bd917b541e1db22305.tar.gz | |
- fix build, TSRMLS_FETCH must be the last declaration statement and init using TSRM cannot be done before either
Diffstat (limited to 'ext/libxml/libxml.c')
| -rw-r--r-- | ext/libxml/libxml.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index 9863043b5d..39f3ee2f11 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -937,9 +937,11 @@ static xmlParserInputPtr _php_libxml_user_entity_loader(const char *URL, **params[] = {&public, &system, &ctxzv}, *retval_ptr = NULL; int retval; + zend_fcall_info *fci; TSRMLS_FETCH(); - zend_fcall_info *fci = &LIBXML(entity_loader).fci; - + + fci = &LIBXML(entity_loader).fci; + ALLOC_INIT_ZVAL(public); if (ID != NULL) { ZVAL_STRING(public, ID, 1); |
