ID: 9042
Updated by: elixer
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Program Execution
PHP Version: 4.0.4pl1
Assigned To:
Comments:
Thank you for your patch. Its now fixed in CVS. It will be in 4.0.6.
Previous Comments:
---------------------------------------------------------------------------
[2001-02-22 18:47:56] [EMAIL PROTECTED]
reclassify
---------------------------------------------------------------------------
[2001-01-31 19:56:55] [EMAIL PROTECTED]
When I exec() a program, and the program produces a single character as output (no
newline), the output does not make it back to PHP.
Here is a patch to fix the problem:
*** exec.c.orig Wed Jan 31 16:06:57 2001
--- exec.c Wed Jan 31 16:16:38 2001
***************
*** 163,170 ****
/* strip trailing spaces */
l = strlen(buf);
t = l;
! while (l && isspace((int)buf[--l]));
! if (l < t) buf[l + 1] = '
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]