NetBSD-Bugs archive

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

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



The following reply was made to PR standards/60369; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60369 CVS commit: src/tests/lib/libc/locale
Date: Sat, 27 Jun 2026 20:43:43 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Sat Jun 27 20:43:43 UTC 2026
 
 Modified Files:
 	src/tests/lib/libc/locale: t_mbrtowc.c t_mbstowcs.c
 
 Log Message:
 t_mbstowcs: Mark UTF-8 test cases xfail.
 
 mbrtowc fails to reject invalid (legacy 5/6-byte) UTF-8.
 
 Need to split this test up into:
 
 1. correctly decoding the valid inputs
 2. correctly rejecting the invalid inputs
 
 Also don't stop at the first failing test in t_mbrtowc; keep going to
 test everything, for better diagnostics at the end in the test
 report.
 
 As with t_mbrtowc, this should be split into multiple parts, TBD.
 
 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.3 -r1.4 src/tests/lib/libc/locale/t_mbrtowc.c \
     src/tests/lib/libc/locale/t_mbstowcs.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