]> granicus.if.org Git - php/commitdiff
ZTS fix.
authorSebastian Bergmann <sebastian@php.net>
Wed, 3 Sep 2003 18:13:11 +0000 (18:13 +0000)
committerSebastian Bergmann <sebastian@php.net>
Wed, 3 Sep 2003 18:13:11 +0000 (18:13 +0000)
ext/dom/php_dom.c

index bb8f8c2f54cb8a480addcc2822be6b6e4f67d34e..c6870d628ec3a4591ccd53516ed75a57fd373ff9 100644 (file)
@@ -404,7 +404,7 @@ PHP_MINIT_FUNCTION(dom)
        dom_domexception_class_entry = zend_register_internal_class_ex(&ce, zend_exception_get_default(), NULL TSRMLS_CC);
        dom_domexception_class_entry->ce_flags |= ZEND_ACC_FINAL;
        dom_domexception_class_entry->constructor->common.fn_flags |= ZEND_ACC_PROTECTED;
-       zend_declare_property_long(dom_domexception_class_entry, "code", sizeof("code")-1, 0, ZEND_ACC_PUBLIC);
+       zend_declare_property_long(dom_domexception_class_entry, "code", sizeof("code")-1, 0, ZEND_ACC_PUBLIC TSRMLS_CC);
 
        REGISTER_DOM_CLASS(ce, "domstringlist", NULL, php_dom_domstringlist_class_functions, dom_domstringlist_class_entry);