stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: svn commit: r387687 - in /incubator/stdcxx/trunk/tests: include/rw_char.h self/0.char.cpp src/char.cpp
Date Wed, 22 Mar 2006 17:20:46 GMT
Anton Pevtsov wrote:
> Oops, I've mixed eos and eof in my question. The correct version here:
> 
> 1. Current UserChar version uses pair 0, 0 as eos(). At the same time
> rw_widen sets .f = 0 and .c = <given char>. This results in the possible
> output problems with strings containing the '\0' symbol. It may be
> interpreted as UserChars::eos and the length in rw_match may be
> calculated incorrectly. 

I'm not sure I completely understand the problem, or that you saw
my response to your first question:
http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200603.mbox/%3c4421730B.5000100@roguewave.com%3e

Could you put together a small test case demonstrating the problem?

Thanks
Martin

Mime
View raw message