libzend/zend_operators.c not thread-safe?
| From: | Thies C. Arntzen | Date: | Thu, 02 Dec 1999 15:27:43 +0000 |
| Subject: | libzend/zend_operators.c not thread-safe? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7245@lists.php.net to get a copy of this message | ||
line 1284:
errno=0;
local_lval = strtol(str, &end_ptr, 10);
if (errno!=ERANGE && end_ptr == str+length) { /* integer string */
...
errno=0;
local_dval = strtod(str, &end_ptr);
if (errno!=ERANGE && end_ptr == str+length) { /* floating point string */
using errno here seems to be not thread safe to me - am i wrong?
tc