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: Wed, 9 Oct 2024 14:28:56 +0000
Module Name: src
Committed By: riastradh
Date: Wed Oct 9 14:28:56 UTC 2024
Modified Files:
src/lib/libc/locale: c16rtomb.c
Log Message:
c16rtomb(3): Omit needless cast.
Now that lint has been taught to propagate the range in this kind of
expression (PR toolchain/58728), we can omit the cast -- the result is
guaranteed not to the truncated.
PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb
PR toolchain/58728: lint objects to __SHIFTIN/__BITS of values in
known-limited range without cast
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/locale/c16rtomb.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