cvs: php4 /ext/sablot php_sablot.h sablot.c
| From: | Sterling Hughes | Date: | Sun, 03 Dec 2000 19:13:41 +0000 |
| Subject: | cvs: php4 /ext/sablot php_sablot.h sablot.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2895@lists.php.net to get a copy of this message | ||
sterling Sun Dec 3 11:13:41 2000 EDT
Modified files:
/php4/ext/sablot sablot.c php_sablot.h
Log:
Another attempt at fixing 8036
Index: php4/ext/sablot/sablot.c
diff -u php4/ext/sablot/sablot.c:1.20 php4/ext/sablot/sablot.c:1.21
--- php4/ext/sablot/sablot.c:1.20 Sun Dec 3 07:30:14 2000
+++ php4/ext/sablot/sablot.c Sun Dec 3 11:13:41 2000
@@ -160,9 +160,9 @@
"sablot",
sablot_functions,
PHP_MINIT(sablot),
- PHP_MSHUTDOWN(sablot),
+ NULL,
NULL,
- NULL,
+ PHP_RSHUTDOWN(sablot),
PHP_MINFO(sablot),
STANDARD_MODULE_PROPERTIES
};
@@ -180,15 +180,15 @@
return SUCCESS;
}
-PHP_MSHUTDOWN_FUNCTION(sablot)
+PHP_RSHUTDOWN_FUNCTION(sablot)
{
SABLOTLS_FETCH();
-
+
if (SABLOTG(processor)) {
SablotUnregHandler(SABLOTG(processor), HLR_MESSAGE, NULL, NULL);
SablotDestroyProcessor(SABLOTG(processor));
}
-
+
return SUCCESS;
}
Index: php4/ext/sablot/php_sablot.h
diff -u php4/ext/sablot/php_sablot.h:1.7 php4/ext/sablot/php_sablot.h:1.8
--- php4/ext/sablot/php_sablot.h:1.7 Tue Nov 21 04:12:19 2000
+++ php4/ext/sablot/php_sablot.h Sun Dec 3 11:13:41 2000
@@ -34,8 +34,10 @@
/* Module functions */
PHP_MINIT_FUNCTION(sablot);
-PHP_MSHUTDOWN_FUNCTION(sablot);
PHP_MINFO_FUNCTION(sablot);
+
+/* Request functions */
+PHP_RSHUTDOWN_FUNCTION(sablot);
/* Output transformation functions */
PHP_FUNCTION(xslt_output_begintransform);