Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49882 - trunk/tools/jam/src
From: grafikrobot_at_[hidden]
Date: 2008-11-22 21:10:53


Author: grafik
Date: 2008-11-22 21:10:52 EST (Sat, 22 Nov 2008)
New Revision: 49882
URL: http://svn.boost.org/trac/boost/changeset/49882

Log:
On Windows don't limit bjam output to ASCII as some tools output characters in extended character sets. (fixes #1576)
Text files modified:
   trunk/tools/jam/src/execnt.c | 5 ++---
   1 files changed, 2 insertions(+), 3 deletions(-)

Modified: trunk/tools/jam/src/execnt.c
==============================================================================
--- trunk/tools/jam/src/execnt.c (original)
+++ trunk/tools/jam/src/execnt.c 2008-11-22 21:10:52 EST (Sat, 22 Nov 2008)
@@ -879,12 +879,11 @@
             {
                 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. */


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk