Re: [1.7] wctomb bug

2009-02-27 Thread Corinna Vinschen
On Feb 26 21:11, Eric Blake wrote: > Simple test case. This application uses the C locale (by virtue of the fact > that we did not use setlocale(), and evidenced by mb_cur_max of 1). On > Linux, > this correctly shows wctomb rejecting the conversion (0x100 is too big to fit > in a 1-byte sequ

[1.7] wctomb bug

2009-02-26 Thread Eric Blake
Simple test case. This application uses the C locale (by virtue of the fact that we did not use setlocale(), and evidenced by mb_cur_max of 1). On Linux, this correctly shows wctomb rejecting the conversion (0x100 is too big to fit in a 1-byte sequence) with EILSEQ, but newlib currently trunca