Re: cvs: php4(php_4_0_4) /ext/standard basic_functions.c exec.c var.c /ext/wddx wddx.c /ext/xml xml.c
| From: | Zeev Suraski | Date: | Wed, 13 Dec 2000 23:40:18 +0000 |
| Subject: | Re: cvs: php4(php_4_0_4) /ext/standard basic_functions.c exec.c var.c /ext/wddx wddx.c /ext/xml xml.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-3136@lists.php.net to get a copy of this message | ||
Good catch :)
At 01:16 14/12/2000, Sascha Schumann wrote:
diff -u php4/ext/standard/exec.c:1.41 php4/ext/standard/exec.c:1.41.2.1-- Zeev Suraski <zeev@zend.com> CTO, Zend Technologies Ltd. http://www.zend.com/--- php4/ext/standard/exec.c:1.41 Mon Nov 27 05:31:21 2000+++ php4/ext/standard/exec.c Wed Dec 13 15:02:09 2000 @@ -15,7 +15,7 @@| Author: Rasmus Lerdorf |+----------------------------------------------------------------------+ */ -/* $Id: exec.c,v 1.41 2000/11/27 13:31:21 sas Exp $ */ +/* $Id: exec.c,v 1.41.2.1 2000/12/13 23:02:09 zeev Exp $ */ #include <stdio.h> #include "php.h" @@ -421,7 +421,8 @@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);Hm..- Sascha