This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix testcase twctype.c when configured --enable-newlib-mb


The testcase twctype.c fails the iswprint(0xce2) test when newlib is configured and built with --enable-newlib-mb.

Wide character support in newlib was updated to unicode 5.2 by a series of patches presented on the list in Feb 2010. The behaviour of iswprint was updated by this patch:

https://sourceware.org/ml/newlib/2010/msg00128.html

Part of the modification involved extending the 0xce0..0xce1 printable range to 0xce0..0xce3. Looking at the unicode 5.2 tables, this change looks correct to me. However the patch did not update the test case twctype.c which contains an explicit test for the code point 0xce2 to be non printable. This patch updates the test case to check for 0xce4 to be non printable.

OK?

Thanks
/Marcus

2013-10-08  Marcus Shawcroft  <marcus.shawcroft@arm.com>

        * testsuite/newlib.wctype/twctype.c (main): Update
        iswprint(0xce2) test case.

Attachment: newlib-mb.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]