2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00

On Windows don't limit bjam output to ASCII as some tools output characters in extended character sets. (fixes #1576)

[SVN r49882]
This commit is contained in:
Rene Rivera
2008-11-23 02:10:52 +00:00
parent 9e6381efbd
commit a40f815bca

View File

@@ -879,12 +879,11 @@ static void read_pipe
{
if ( bytesInBuffer > 0 )
{
/* Clean up non-ASCII chars. */
/* Clean up some illegal chars. */
int i;
for ( i = 0; i < bytesInBuffer; ++i )
{
if ( ( (unsigned char)ioBuffer[ i ] < 1 ) ||
( (unsigned char)ioBuffer[ i ] > 127 ) )
if ( ( (unsigned char)ioBuffer[ i ] < 1 ) )
ioBuffer[ i ] = '?';
}
/* Null, terminate. */