]> granicus.if.org Git - php/commitdiff
fix ZTS build
authorAntony Dovgal <tony2001@php.net>
Wed, 27 Jun 2007 12:48:44 +0000 (12:48 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 27 Jun 2007 12:48:44 +0000 (12:48 +0000)
Zend/zend_operators.c

index 50ed7b011bf9c3b4f2bcc85062ce59cce2fe5f4a..a8de2705c40e7f01453dd069b50ec7d77119e89e 100644 (file)
@@ -2274,6 +2274,8 @@ static void increment_unicode(zval *str)
     int ch;
 
        if (Z_USTRLEN_P(str) == 0) {
+               TSRMLS_FETCH();
+
                USTR_FREE(Z_USTRVAL_P(str));
                ZVAL_ASCII_STRINGL(str, "1", sizeof("1")-1, 1);
                return;