From a40f815bca27385182dcdf3682f55cf884fe285b Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 23 Nov 2008 02:10:52 +0000 Subject: [PATCH] On Windows don't limit bjam output to ASCII as some tools output characters in extended character sets. (fixes #1576) [SVN r49882] --- historic/jam/src/execnt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/historic/jam/src/execnt.c b/historic/jam/src/execnt.c index 29cb1bf50..f5371c883 100644 --- a/historic/jam/src/execnt.c +++ b/historic/jam/src/execnt.c @@ -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. */