diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2004-01-21 16:57:13 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2004-01-21 16:57:13 +0000 |
commit | 17d420e5f7dd51343fb9c75762c8bb67007e176a (patch) | |
tree | 22ef91fb02cb42c101514c69d254a04679039f66 /ext/standard | |
parent | 02ded9766ab78469a4001d6c7a74baf9fa112330 (diff) | |
download | php-git-17d420e5f7dd51343fb9c75762c8bb67007e176a.tar.gz |
Fixed bug #26938 (exec() has problems reading long lines).
Diffstat (limited to 'ext/standard')
-rw-r--r-- | ext/standard/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c index a2f8571d57..cc579e9be7 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -125,7 +125,7 @@ int php_exec(int type, char *cmd, pval *array, pval *return_value TSRMLS_DC) } continue; } else if (b != buf) { - bufl += buflen - EXEC_INPUT_BUF; + bufl += b - buf; } if (type == 1) { |