cvs: php4 /ext/standard math.c
| From: | Sebastian Bergmann | Date: | Mon, 11 Mar 2002 05:43:23 +0000 |
| Subject: | cvs: php4 /ext/standard math.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9883@lists.php.net to get a copy of this message | ||
sebastian Mon Mar 11 00:43:23 2002 EDT
Modified files:
/php4/ext/standard math.c
Log:
Fix thread-safe build.
Index: php4/ext/standard/math.c
diff -u php4/ext/standard/math.c:1.81 php4/ext/standard/math.c:1.82
--- php4/ext/standard/math.c:1.81 Sun Mar 10 18:46:43 2002
+++ php4/ext/standard/math.c Mon Mar 11 00:43:23 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: math.c,v 1.81 2002/03/10 23:46:43 jimw Exp $ */
+/* $Id: math.c,v 1.82 2002/03/11 05:43:23 sebastian Exp $ */
#include "php.h"
#include "php_math.h"
@@ -430,8 +430,8 @@
}
/* make sure we're dealing with numbers */
- convert_scalar_to_number(zbase);
- convert_scalar_to_number(zexp);
+ convert_scalar_to_number(zbase TSRMLS_CC);
+ convert_scalar_to_number(zexp TSRMLS_CC);
/* if both base and exponent were longs, we'll try to get a long out */
wantlong = Z_TYPE_P(zbase) == IS_LONG