ID: 8962 Updated by: stas Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: Unknown/Other Function Bug Type: Program Execution Assigned To: Comments: reclassify Previous Comments: --------------------------------------------------------------------------- [2001-01-28 00:15:46] [EMAIL PROTECTED] This is the solution to problem 8212 File: ext/standard/exec.c Function _Exec: Contains: RETVAL_STRINGL(buf,l?l+1:0,1); However, it should contain: RETVAL_STRINGL(buf,l?l+1:((isspace((int)buf[0]) || !buf[0])?0:1),1); The problem lies in code previous which reads: /* 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]