diff options
| author | Zeev Suraski <zeev@php.net> | 1999-04-24 00:12:00 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-04-24 00:12:00 +0000 |
| commit | 0818d96c97ceec4dbb8251c5220a2fdcdf39f355 (patch) | |
| tree | c56f529e445e4bee928e7c28e0ccbb7f67572f16 /ext/standard/exec.c | |
| parent | 05d24c60223439b94d4100538331fb6749022ca3 (diff) | |
| download | php-git-0818d96c97ceec4dbb8251c5220a2fdcdf39f355.tar.gz | |
A lot of cleanups... Removed old thread-safe code and other redundant code and files
Diffstat (limited to 'ext/standard/exec.c')
| -rw-r--r-- | ext/standard/exec.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c index c4ea465c86..fe250c9985 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -111,7 +111,7 @@ static int _Exec(int type, char *cmd, pval *array, pval *return_value) buf[0] = '\0'; if (type==2) { if (array->type != IS_ARRAY) { - pval_destructor(array _INLINE_TLS); + pval_destructor(array); array_init(array); } } @@ -121,9 +121,9 @@ static int _Exec(int type, char *cmd, pval *array, pval *return_value) if (output) PUTS(buf); #if APACHE # if MODULE_MAGIC_NUMBER > 19970110 - if (output) rflush(GLOBAL(php3_rqst)); + if (output) rflush(php3_rqst); # else - if (output) bflush(GLOBAL(php3_rqst)->connection->client); + if (output) bflush(php3_rqst->connection->client); # endif #endif #if CGI_BINARY @@ -133,7 +133,7 @@ static int _Exec(int type, char *cmd, pval *array, pval *return_value) /* fhttpd doesn't flush */ #endif #if USE_SAPI - GLOBAL(sapi_rqst)->flush(GLOBAL(sapi_rqst)->scid); + sapi_rqst->flush(sapi_rqst->scid); #endif } else if (type == 2) { @@ -321,7 +321,6 @@ void php3_escapeshellcmd(INTERNAL_FUNCTION_PARAMETERS) { pval *arg1; char *cmd; - TLS_VARS; if (getParameters(ht, 1, &arg1) == FAILURE) { WRONG_PARAM_COUNT; |
