From 944c3b40b46e39cffa04039e146efabb41848596 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Wed, 13 Dec 2000 23:40:44 +0000 Subject: [PATCH] That slipped in :( --- ext/standard/exec.c | 3 +-- 1 file changed, 1 insertion(+), 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; } -- 2.50.1