cvs: php4(php_4_0_4) /ext/standard exec.c
| From: | Zeev Suraski | Date: | Wed, 13 Dec 2000 23:42:12 +0000 |
| Subject: | cvs: php4(php_4_0_4) /ext/standard exec.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3138@lists.php.net to get a copy of this message | ||
zeev Wed Dec 13 15:42:12 2000 EDT
Branch: php_4_0_4
Modified files:
/php4/ext/standard exec.c
Log:
Rollback bogus patch
Index: php4/ext/standard/exec.c
diff -u php4/ext/standard/exec.c:1.41.2.1 php4/ext/standard/exec.c:1.41.2.2
--- php4/ext/standard/exec.c:1.41.2.1 Wed Dec 13 15:02:09 2000
+++ php4/ext/standard/exec.c Wed Dec 13 15:42:12 2000
@@ -15,7 +15,7 @@
| Author: Rasmus Lerdorf |
+----------------------------------------------------------------------+
*/
-/* $Id: exec.c,v 1.41.2.1 2000/12/13 23:02:09 zeev Exp $ */
+/* $Id: exec.c,v 1.41.2.2 2000/12/13 23:42:12 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;
}