Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/tests/lib/libc/locale



Module Name:    src
Committed By:   riastradh
Date:           Fri Jun 26 22:36:23 UTC 2026

Modified Files:
        src/tests/lib/libc/locale: t_mbrtowc.c

Log Message:
t_mbrtowc: Mark UTF-8 test cases xfail.

mbrtowc previously failed to reject invalid (legacy 5/6-byte) UTF-8,
so it accepted this test case.  Now it rejects this test case,
because the test case itself is broken.

Need to split this test up into:

1. correctly decoding the valid inputs
2. correctly rejecting the invalid inputs

But for now marking the test case xfail is an adequate approximation
to the more complicated truth.

PR lib/60369: mbrtowc, mbrlen have wrong return value for some
invalid byte sequences: Invalid sequence


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/locale/t_mbrtowc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index