diff options
author | Marcus Boerger <helly@php.net> | 2002-11-02 10:58:02 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-11-02 10:58:02 +0000 |
commit | 832b5a496452ff3de85cb5bb69b58d38e74a394c (patch) | |
tree | 71d0ac534953d562774bab361c159b1bdd18fe4b | |
parent | 7ea6e4431ee9dade8293510bb0b7479d3c47993a (diff) | |
download | php-git-832b5a496452ff3de85cb5bb69b58d38e74a394c.tar.gz |
fix TSRM build
-rw-r--r-- | ext/xslt/sablot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xslt/sablot.c b/ext/xslt/sablot.c index 7449a44463..474f77f221 100644 --- a/ext/xslt/sablot.c +++ b/ext/xslt/sablot.c @@ -541,6 +541,7 @@ PHP_FUNCTION(xslt_process) /* 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 @@ PHP_FUNCTION(xslt_process) /* 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)); |