Should I update the test case to the one from #26938 ? --Jani
On Wed, 21 Jan 2004, Ilia Alshanetsky wrote: >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.109 >> >&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 <[EMAIL PROTECTED]> >> > | | >> > >> > >> > +----------------------------------------------------------------------+ >> > */ >> >-/* $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) { > > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php