|
Boost Users : |
From: Johan Råde (rade_at_[hidden])
Date: 2008-02-27 05:59:56
John Maddock wrote:
> Johan Råde wrote:
>> I think I have a fix for this too.
>> Just remove line 393 (++it;) in nonfinite_num_facets.h.
>
> Confirmed, cheers, John.
I think there is a lesson to be learned here about how difficult it is to write good tests.
What happened was that when parsing 1.#INF the stream pointer was moved one step to far.
So if the input had been say 1.#INF\t then the tab would have been lost.
This could cause serious errors when reading a tab separated text file.
None of the tests detected this problem.
--Johan
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net