cvs: php4 /ext/standard exec.c
| From: | Zeev Suraski | Date: | Wed, 13 Dec 2000 23:40:44 +0000 |
| Subject: | cvs: php4 /ext/standard exec.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3137@lists.php.net to get a copy of this message | ||
zeev Wed Dec 13 15:40:44 2000 EDT
Modified files:
/php4/ext/standard exec.c
Log:
That slipped in :(
Index: php4/ext/standard/exec.c
diff -u php4/ext/standard/exec.c:1.42 php4/ext/standard/exec.c:1.43
--- php4/ext/standard/exec.c:1.42 Wed Dec 13 14:50:10 2000
+++ php4/ext/standard/exec.c Wed Dec 13 15:40:44 2000
@@ -15,7 +15,7 @@
| Author: Rasmus Lerdorf |
+----------------------------------------------------------------------+
*/
-/* $Id: exec.c,v 1.42 2000/12/13 22:50:10 zeev Exp $ */
+/* $Id: exec.c,v 1.43 2000/12/13 23:40:44 zeev Exp $ */
#include <stdio.h>
#include "php.h"
@@ -421,8 +421,7 @@
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;
}