summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-12-06 09:52:51 +0000
committerAntony Dovgal <tony2001@php.net>2006-12-06 09:52:51 +0000
commit4d44a5b71dd74ea81d988f7f1e0ff8025bef5617 (patch)
tree123e161e66e9cde068d65fcbe5066e8603878d25 /Zend/zend.c
parenta813e112d438dd3480a1f0dd2e7754ee5cbc575e (diff)
downloadphp-git-4d44a5b71dd74ea81d988f7f1e0ff8025bef5617.tar.gz
MFH: use BSD licensed implementation of double-to-string utilities instead of LGPL one
this patch also fixes thread safety issues in zend_strtod()
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index ee8b4b767f..7192371736 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -571,6 +571,7 @@ int zend_startup(zend_utility_functions *utility_functions, char **extensions, i
fpsetmask(0);
#endif
+ zend_startup_strtod();
zend_startup_extensions_mechanism();
/* Set up utility functions and values */
@@ -729,6 +730,7 @@ void zend_shutdown(TSRMLS_D)
zend_hash_destroy(GLOBAL_CONSTANTS_TABLE);
free(GLOBAL_CONSTANTS_TABLE);
+ zend_shutdown_strtod();
#ifdef ZTS
GLOBAL_FUNCTION_TABLE = NULL;
GLOBAL_CLASS_TABLE = NULL;