[PHP4BETA] CVS update: php4/functions
| From: | zeev | Date: | Wed, 21 Apr 1999 17:28:54 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/functions | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-234@lists.php.net to get a copy of this message | ||
Date: Wednesday April 21, 1999 @ 13:28
Author: zeev
Update of /repository/php4/functions
In directory php:/tmp/cvs-serv20359/functions
Modified Files:
COM.c
Log Message:
Thread safety patch. It works now with just-in-time resource initialization!
Index: php4/functions/COM.c
diff -c php4/functions/COM.c:1.7 php4/functions/COM.c:1.8
*** php4/functions/COM.c:1.7 Wed Apr 21 00:02:11 1999
--- php4/functions/COM.c Wed Apr 21 13:28:54 1999
***************
*** 891,896 ****
--- 891,897 ----
OLECHAR *p;
int i;
int interfaces;
+ ELS_FETCH();
p = php_char_to_OLECHAR(typelib_name, strlen(typelib_name));
***************
*** 941,947 ****
php_variant_to_pval(pVarDesc->lpvarValue, &c.value, 1);
c.flags = mode;
! zend_register_constant(&c);
//printf("%s -> %ld\n", ids, pVarDesc->lpvarValue->lVal);
j++;
}
--- 942,948 ----
php_variant_to_pval(pVarDesc->lpvarValue, &c.value, 1);
c.flags = mode;
! zend_register_constant(&c ELS_CC);
//printf("%s -> %ld\n", ids, pVarDesc->lpvarValue->lVal);
j++;
}
--
PHP 4 Beta