ctype<wchar>::do_is(const wchar_t *, const wchar_t *, mask *)problem

Ulrich Weigand weigand@immd1.informatik.uni-erlangen.de
Wed Mar 26 21:45:00 GMT 2003


Paolo Carlini wrote:

>In fact, isn't correct, or better said, perhaps, ctype<wchar_t>::do_is
>is still unimplemented: that code it's just a place holder roughly
>inspired by do_scan_is below ;)

I see ;-)

>It's weird, however, that only on s390 that minimal kind-of-test fails:
>evidently the returned __lo < __hi.

Well, seeing as the this->do_is(*__m, *__lo) call accesses some
uninitialized value from the caller's stack (*__m), all bets are off 
whether that random mask byte happens to be acceptable to the do_is 
check or not ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de



More information about the Libstdc++ mailing list