Re: [Boost-bugs] [Boost C++ Libraries] #5086: Fix for possible assertion failure in MSVC isctype.c

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5086: Fix for possible assertion failure in MSVC isctype.c
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-27 16:39:13


#5086: Fix for possible assertion failure in MSVC isctype.c
--------------------------------------------------------+-------------------
  Reporter: Kazutoshi Satoda <k_satoda@…> | Owner: jsiek
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: tokenizer
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------------------------+-------------------

Comment (by Kazutoshi Satoda <k_satoda@…>):

> But I still see a problem with the path, specifically, when handling
 EOF.

 A value `char(EOF)`, which become equal to `EOF` after integer promotion
 if `EOF` is representable by char, in a string should never be treated
 as end of file in the first place.

 This patch will somewhat cure that case, too.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5086#comment:7>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC