NetBSD-Bugs archive

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

PR/58601 CVS commit: src/lib/libc/locale



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

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/58601 CVS commit: src/lib/libc/locale
Date: Sun, 18 Aug 2024 12:41:38 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Sun Aug 18 12:41:38 UTC 2024
 
 Modified Files:
 	src/lib/libc/locale: c8rtomb.c
 
 Log Message:
 c8rtomb(3): Nix __CTASSERT after case label.
 
 I put this in to make it (machine-verifiably) clear that zeroing the
 state is the same as returning to the initial conversion state, as
 the standard requires, but this is causing build trouble (and will
 likely cause more trouble if pulled up) because some definitions of
 __CTASSERT make a declaration which is forbidden after a label, so
 let's remove it.
 
 PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.5 -r1.6 src/lib/libc/locale/c8rtomb.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