helly Sat Nov 2 05:58:01 2002 EDT
Modified files:
/php4/ext/xslt sablot.c
Log:
fix TSRM build
Index: php4/ext/xslt/sablot.c
diff -u php4/ext/xslt/sablot.c:1.65 php4/ext/xslt/sablot.c:1.66
--- php4/ext/xslt/sablot.c:1.65 Fri Nov 1 20:44:34 2002
+++ php4/ext/xslt/sablot.c Sat Nov 2 05:58:01 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sablot.c,v 1.65 2002/11/02 01:44:34 msopacua Exp $ */
+/* $Id: sablot.c,v 1.66 2002/11/02 10:58:01 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -541,6 +541,7 @@
/* Can return NULL */
if (args) {
char *baseuri;
+ TSRMLS_FETCH();
i=0;
while (args[i]) {
/* We can safely add args[i+1] since xslt_make_array
sets args[i] to NULL if
@@ -553,7 +554,6 @@
/* Since we have args passed, we need to set the base uri, so
pull in executor
globals and set the base, using the current filename,
specifally for the
'arg' scheme */
- TSRMLS_FETCH();
baseuri = (char
*)emalloc(strlen(zend_get_executed_filename(TSRMLS_C))+7+1);
sprintf(baseuri, "file://%s",
zend_get_executed_filename(TSRMLS_C));
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php