Re: cvs: php-src / NEWS /ext/standard exec.c
| From: | Ilia Alshanetsky | Date: | Wed, 21 Jan 2004 22:37:56 +0000 |
| Subject: | Re: cvs: php-src / NEWS /ext/standard exec.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-25812@lists.php.net to get a copy of this message | ||
No need. According to my tests the bug is specific to PHP5, which uses new
code to fetch the data from executed binary.
Ilia
On January 21, 2004 05:32 pm, Jani Taskinen wrote:
> No MFH?
>
> --Jani
>
> On Wed, 21 Jan 2004, Ilia Alshanetsky wrote:
> >iliaa Wed Jan 21 11:57:14 2004 EDT
> >
> > Modified files:
> > /php-src NEWS
> > /php-src/ext/standard exec.c
> > Log:
> > Fixed bug #26938 (exec() has problems reading long lines).
> >
> >
>
> >>http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1585&r2=1.1586&ty=u
> >Index: php-src/NEWS
> >diff -u php-src/NEWS:1.1585 php-src/NEWS:1.1586
> >--- php-src/NEWS:1.1585 Wed Jan 21 05:20:45 2004
> >+++ php-src/NEWS Wed Jan 21 11:57:12 2004
> >@@ -9,6 +9,8 @@
> > (Derick)
> > - Fixed problems with longlong values in mysqli. (Georg)
> > - Fixed class name case preserving of user defined classes. (Marcus)
> >+- Fixed bug #26938 (exec() has problems reading long lines).
> >+ (Ilia, runekl[at]opoint[dot]com
> > - Fixed bug #26947 (ext/dom: Crash when using
> > DomDocument::getElementById()). (Christian)
> > - Fixed bug #26911 (crash in sqlite extension when fetching data from
> > empty
> >
> > http://cvs.php.net/diff.php/php-src/ext/standard/exec.c?r1=1.108&r2=1.109l
4Dî
> > 5ž!'b…8Á
> >&ty=u Index: php-src/ext/standard/exec.c
> >diff -u php-src/ext/standard/exec.c:1.108
> > php-src/ext/standard/exec.c:1.109 ---
> > php-src/ext/standard/exec.c:1.108 Thu Jan 8 03:17:31 2004
> >+++ php-src/ext/standard/exec.c Wed Jan 21 11:57:13 2004
> >@@ -16,7 +16,7 @@
> >
> > | Ilia Alshanetsky <iliaa@php.net>
> > | |
> >
> >
> > +----------------------------------------------------------------------+
> > */
> >-/* $Id: exec.c,v 1.108 2004/01/08 08:17:31 andi Exp $ */
> >+/* $Id: exec.c,v 1.109 2004/01/21 16:57:13 iliaa Exp $ */
> >
> > #include <stdio.h>
> > #include "php.h"
> >@@ -125,7 +125,7 @@
> > }
> > continue;
> > } else if (b != buf) {
> >- bufl += buflen - EXEC_INPUT_BUF;
> >+ bufl += b - buf;
> > }
> >
> > if (type == 1) {