diff options
author | Sascha Schumann <sas@php.net> | 2000-05-04 10:38:17 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-05-04 10:38:17 +0000 |
commit | d0f3764ee2e10003d9c8ea4a1c17ff0be1303a9b (patch) | |
tree | 10e61089a99c0d3226533f4b15693a45d82a931a /sapi/isapi/php4isapi.c | |
parent | b6e4841ec7bcdc1b4fd3533fd4ffeefdac095d52 (diff) | |
download | php-git-d0f3764ee2e10003d9c8ea4a1c17ff0be1303a9b.tar.gz |
Change reentrancy API to always use the php prefix.
Check for the declaration of reentrant functions, so that we can use
them in non-ZTS mode on all platforms.
Diffstat (limited to 'sapi/isapi/php4isapi.c')
-rw-r--r-- | sapi/isapi/php4isapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/isapi/php4isapi.c b/sapi/isapi/php4isapi.c index 3573fe0941..db0349ca69 100644 --- a/sapi/isapi/php4isapi.c +++ b/sapi/isapi/php4isapi.c @@ -356,7 +356,7 @@ static void sapi_isapi_register_server_variables(zval *track_vars_array ELS_DC S return; } } - variable = strtok_r(variable_buf, "\r\n", &strtok_buf); + variable = php_strtok_r(variable_buf, "\r\n", &strtok_buf); while (variable) { char *colon = strchr(variable, ':'); @@ -370,7 +370,7 @@ static void sapi_isapi_register_server_variables(zval *track_vars_array ELS_DC S php_register_variable(variable, value, track_vars_array ELS_CC PLS_CC); *colon = ':'; } - variable = strtok_r(NULL, "\r\n", &strtok_buf); + variable = php_strtok_r(NULL, "\r\n", &strtok_buf); } if (variable_buf!=static_variable_buf) { efree(variable_buf); |