com php-src: fix thread safety: Zend/zend_strtod.c
| From: | Anatol Belski | Date: | Wed, 29 Jul 2015 15:26:51 +0000 |
| Subject: | com php-src: fix thread safety: Zend/zend_strtod.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88226@lists.php.net to get a copy of this message | ||
Commit: c17289e59c41368538f75b25d49b5604d968b616
Author: Anatol Belski <ab@php.net> Wed, 29 Jul 2015 15:12:45 +0200
Parents: db70a337ff79be773b82e00a7483f69727af25aa
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c17289e59c41368538f75b25d49b5604d968b616
Log:
fix thread safety
Changed paths:
M Zend/zend_strtod.c
Diff:
diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c
index 4fa9ee3..0bdb8c0 100644
--- a/Zend/zend_strtod.c
+++ b/Zend/zend_strtod.c
@@ -3601,7 +3601,7 @@ zend_strtod
}
#ifndef MULTIPLE_THREADS
- static char *dtoa_result;
+ ZEND_TLS char *dtoa_result;
#endif
static char *