ID: 9042
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Status: Open
Old-Bug Type: Unknown/Other Function
Bug Type: Program Execution
Assigned To: 
Comments:

reclassify

Previous Comments:
---------------------------------------------------------------------------

[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]

Reply via email to