diff options
Diffstat (limited to 'ext/standard/exec.c')
| -rw-r--r-- | ext/standard/exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 1adaa2b2e6..cfa1abf033 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -421,7 +421,8 @@ PHP_FUNCTION(shell_exec) allocated_space = EXEC_INPUT_BUF; ret = (char *) emalloc(allocated_space); while (1) { - readbytes = fread(ret+total_readbytes,1,EXEC_INPUT_BUF,in); +// readbytes = fread(ret+total_readbytes,1,EXEC_INPUT_BUF,in); + readbytes = fread(ret+total_readbytes,1,5,in); if (readbytes<=0) { break; } |
