summaryrefslogtreecommitdiff
path: root/ext/standard/exec.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-12-13 23:40:44 +0000
committerZeev Suraski <zeev@php.net>2000-12-13 23:40:44 +0000
commit944c3b40b46e39cffa04039e146efabb41848596 (patch)
tree2d416bfb0977e85717598f1206960a1b127409f2 /ext/standard/exec.c
parent63e6b0b5bf8049ab2d80863cc132ea667f7bbf76 (diff)
downloadphp-git-944c3b40b46e39cffa04039e146efabb41848596.tar.gz
That slipped in :(
Diffstat (limited to 'ext/standard/exec.c')
-rw-r--r--ext/standard/exec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index cfa1abf033..1adaa2b2e6 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -421,8 +421,7 @@ 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,5,in);
+ readbytes = fread(ret+total_readbytes,1,EXEC_INPUT_BUF,in);
if (readbytes<=0) {
break;
}