summaryrefslogtreecommitdiff
path: root/ext/libxml/libxml.c
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2012-03-29 08:48:13 +0100
committerGustavo André dos Santos Lopes <cataphract@php.net>2012-03-29 08:48:13 +0100
commitfc4482fd5e95dbdcc984eff6b8084a9e8949d09c (patch)
tree6f76b6a11040de1efeee72c94573f6535d4bd07d /ext/libxml/libxml.c
parent57af2875dc1bdc8768784c323d8449c02df3cff5 (diff)
parentf4873c68a600dcd0c6c548c9ecf2d605da878252 (diff)
downloadphp-git-fc4482fd5e95dbdcc984eff6b8084a9e8949d09c.tar.gz
Merge branch '5.4'
Diffstat (limited to 'ext/libxml/libxml.c')
-rw-r--r--ext/libxml/libxml.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c
index 93d410bc76..9d6c25737d 100644
--- a/ext/libxml/libxml.c
+++ b/ext/libxml/libxml.c
@@ -86,8 +86,8 @@ ZEND_GET_MODULE(libxml)
static PHP_MINIT_FUNCTION(libxml);
static PHP_RINIT_FUNCTION(libxml);
static PHP_MSHUTDOWN_FUNCTION(libxml);
-static PHP_RSHUTDOWN_FUNCTION(libxml);
static PHP_MINFO_FUNCTION(libxml);
+static int php_libxml_post_deactivate();
/* }}} */
@@ -137,13 +137,13 @@ zend_module_entry libxml_module_entry = {
PHP_MINIT(libxml), /* extension-wide startup function */
PHP_MSHUTDOWN(libxml), /* extension-wide shutdown function */
PHP_RINIT(libxml), /* per-request startup function */
- PHP_RSHUTDOWN(libxml), /* per-request shutdown function */
+ NULL, /* per-request shutdown function */
PHP_MINFO(libxml), /* information function */
NO_VERSION_YET,
PHP_MODULE_GLOBALS(libxml), /* globals descriptor */
PHP_GINIT(libxml), /* globals ctor */
NULL, /* globals dtor */
- NULL, /* post deactivate */
+ php_libxml_post_deactivate, /* post deactivate */
STANDARD_MODULE_PROPERTIES_EX
};
@@ -861,9 +861,9 @@ static PHP_MSHUTDOWN_FUNCTION(libxml)
return SUCCESS;
}
-
-static PHP_RSHUTDOWN_FUNCTION(libxml)
+static int php_libxml_post_deactivate()
{
+ TSRMLS_FETCH();
/* reset libxml generic error handling */
if (_php_libxml_per_request_initialization) {
xmlSetGenericErrorFunc(NULL, NULL);