Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74034 - trunk/boost/spirit/home/support
From: joel_at_[hidden]
Date: 2011-08-23 19:45:45


Author: djowel
Date: 2011-08-23 19:45:44 EDT (Tue, 23 Aug 2011)
New Revision: 74034
URL: http://svn.boost.org/trac/boost/changeset/74034

Log:
Fix for Trac ticket #5807
Text files modified:
   trunk/boost/spirit/home/support/attributes.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/support/attributes.hpp
==============================================================================
--- trunk/boost/spirit/home/support/attributes.hpp (original)
+++ trunk/boost/spirit/home/support/attributes.hpp 2011-08-23 19:45:44 EDT (Tue, 23 Aug 2011)
@@ -1301,7 +1301,7 @@
                     o << "\\t";
                 else if (c == static_cast<Char>('\v'))
                     o << "\\v";
- else if (c < 127 && iscntrl(c))
+ else if (c >= 0 && c < 127 && iscntrl(c))
                     o << "\\" << std::oct << static_cast<int>(c);
                 else
                     o << static_cast<char>(c);


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