CVS commit: src/lib/libc/locale

2025-01-25 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jan 26 06:17:02 UTC 2025 Modified Files: src/lib/libc/locale: wctomb.3 Log Message: wctomb(3): Nix spurious reference to nonexistent parameter n. The return value is bounded by MB_CUR_MAX, that's all. From C99, Sec. 7.20.

CVS commit: src/lib/libc/locale

2025-01-25 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jan 26 06:17:02 UTC 2025 Modified Files: src/lib/libc/locale: wctomb.3 Log Message: wctomb(3): Nix spurious reference to nonexistent parameter n. The return value is bounded by MB_CUR_MAX, that's all. From C99, Sec. 7.20.

CVS commit: src/lib/libc/locale

2024-10-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 12 16:44:44 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.c Log Message: c8rtomb: use uint8_t for 8-bit values On amd64 at least, uint_fast8_t is an alias to unsigned int, which produced a lint warning that 'unsig

CVS commit: src/lib/libc/locale

2024-10-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 12 16:44:44 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.c Log Message: c8rtomb: use uint8_t for 8-bit values On amd64 at least, uint_fast8_t is an alias to unsigned int, which produced a lint warning that 'unsig

CVS commit: src/lib/libc/locale

2024-10-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 12 16:34:03 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.c Log Message: c8rtomb: declare array of constants as const No binary change using GCC, as it had detected that all access to these arrays was read-only an

CVS commit: src/lib/libc/locale

2024-10-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 12 16:34:03 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.c Log Message: c8rtomb: declare array of constants as const No binary change using GCC, as it had detected that all access to these arrays was read-only an

CVS commit: src/lib/libc/locale

2024-10-09 Thread Taylor R Campbell
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), w

CVS commit: src/lib/libc/locale

2024-10-09 Thread Taylor R Campbell
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), w

CVS commit: src/lib/libc/locale

2024-10-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Oct 8 13:42:17 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.c c8rtomb.c Log Message: c16rtomb, c8rtomb: Omit needless casts. Mark remaining lint issues. These casts were introduced to pacify lint. lint has now

CVS commit: src/lib/libc/locale

2024-10-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Oct 8 13:42:17 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.c c8rtomb.c Log Message: c16rtomb, c8rtomb: Omit needless casts. Mark remaining lint issues. These casts were introduced to pacify lint. lint has now

CVS commit: src/lib/libc/locale

2024-09-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Sep 9 18:55:26 UTC 2024 Modified Files: src/lib/libc/locale: mbsrtowcs.3 wcsrtombs.3 Log Message: SYNOPSIS fixes, uppercase NUL and NULL To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/locale/mbsrtow

CVS commit: src/lib/libc/locale

2024-09-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Sep 9 18:55:26 UTC 2024 Modified Files: src/lib/libc/locale: mbsrtowcs.3 wcsrtombs.3 Log Message: SYNOPSIS fixes, uppercase NUL and NULL To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/locale/mbsrtow

CVS commit: src/lib/libc/locale

2024-09-09 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Mon Sep 9 14:21:37 UTC 2024 Modified Files: src/lib/libc/locale: mbsrtowcs.3 wcsrtombs.3 Log Message: mbsnrtowcs(3), wcsnrtombs(3): brush ip markup To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libc/locale/

CVS commit: src/lib/libc/locale

2024-09-09 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Mon Sep 9 14:21:37 UTC 2024 Modified Files: src/lib/libc/locale: mbsrtowcs.3 wcsrtombs.3 Log Message: mbsnrtowcs(3), wcsnrtombs(3): brush ip markup To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libc/locale/

CVS commit: src/lib/libc/locale

2024-08-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 23 12:59:49 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 mbrtoc8.3 Log Message: mbrtoc8(3), mbrtoc16(3), mbrtoc32(3): Say 0 for zero code unit. Rather than deal with differences between C11 and C

CVS commit: src/lib/libc/locale

2024-08-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 23 12:59:49 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 mbrtoc8.3 Log Message: mbrtoc8(3), mbrtoc16(3), mbrtoc32(3): Say 0 for zero code unit. Rather than deal with differences between C11 and C

CVS commit: src/lib/libc/locale

2024-08-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 21 18:42:35 UTC 2024 Modified Files: src/lib/libc/locale: duplocale.3 Log Message: duplocale.3: fix typo To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/locale/duplocale.3 Please note that diffs

CVS commit: src/lib/libc/locale

2024-08-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 21 18:42:35 UTC 2024 Modified Files: src/lib/libc/locale: duplocale.3 Log Message: duplocale.3: fix typo To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/locale/duplocale.3 Please note that diffs

CVS commit: src/lib/libc/locale

2024-08-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 21 18:36:11 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.c c32rtomb.c mbrtoc8.c Log Message: c16rtomb, c32rtomb, mbrtoc8: fix page numbers in comments To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/lib/libc/locale

2024-08-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 21 18:36:11 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.c c32rtomb.c mbrtoc8.c Log Message: c16rtomb, c32rtomb, mbrtoc8: fix page numbers in comments To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/lib/libc/locale

2024-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 20 20:36:30 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 c8rtomb.3 Log Message: c8rtomb(3), c16rtomb(3), c32rtomb(3): Fix null string output case. This ignores c8/c16/c32, produces no output anyw

CVS commit: src/lib/libc/locale

2024-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 20 20:36:30 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 c8rtomb.3 Log Message: c8rtomb(3), c16rtomb(3), c32rtomb(3): Fix null string output case. This ignores c8/c16/c32, produces no output anyw

CVS commit: src/lib/libc/locale

2024-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 20 20:04:45 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 c8rtomb.3 Log Message: c8rtomb(3), c16rtomb(3), c32rtomb(3): Attempt to simplify language. To generate a diff of this commit: cvs rdiff -

CVS commit: src/lib/libc/locale

2024-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 20 20:04:45 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 c8rtomb.3 Log Message: c8rtomb(3), c16rtomb(3), c32rtomb(3): Attempt to simplify language. To generate a diff of this commit: cvs rdiff -

CVS commit: src/lib/libc/locale

2024-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 20 17:43:41 UTC 2024 Modified Files: src/lib/libc/locale: c32rtomb.c Log Message: c32rtomb(3): Fix type of wcrtomb_l return value. This was from `int wctomb_l(...)' in an earlier draft and I didn't update it to size_t

CVS commit: src/lib/libc/locale

2024-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 20 17:43:41 UTC 2024 Modified Files: src/lib/libc/locale: c32rtomb.c Log Message: c32rtomb(3): Fix type of wcrtomb_l return value. This was from `int wctomb_l(...)' in an earlier draft and I didn't update it to size_t

CVS commit: src/lib/libc/locale

2024-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 20 17:43:24 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc32.c Log Message: mbrtoc32(3): Fix name and type of mbrtowc_l return value. This was from `int mbtowc_l(...)' in an earlier draft and I didn't update it t

CVS commit: src/lib/libc/locale

2024-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 20 17:43:24 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc32.c Log Message: mbrtoc32(3): Fix name and type of mbrtowc_l return value. This was from `int mbtowc_l(...)' in an earlier draft and I didn't update it t

CVS commit: src/lib/libc/locale

2024-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 20 17:14:05 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 c8rtomb.3 Log Message: c8rtomb(3), c16rtomb(3), c32rtomb(3): Suggest MB_LEN_MAX in example. This way it avoids variable-length arrays, by

CVS commit: src/lib/libc/locale

2024-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 20 17:14:05 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 c8rtomb.3 Log Message: c8rtomb(3), c16rtomb(3), c32rtomb(3): Suggest MB_LEN_MAX in example. This way it avoids variable-length arrays, by

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

2024-08-19 Thread Taylor R Campbell
> Date: Sun, 18 Aug 2024 19:55:10 +0200 > From: Roland Illig > > Am 18.08.2024 um 15:39 schrieb Taylor R Campbell: > > Please revert the casts and use `LINTFLAGS.mbrtoc8.c+= -X 132' instead > > until it is fixed. > > It is fixed. Awesome, thanks!

CVS commit: src/lib/libc/locale

2024-08-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 18 20:06:05 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.c mbrtoc32.c Log Message: mbrtoc16, mbrtoc32: fix comments, remove lint-specific workarounds No binary change. To generate a diff of this commit: cvs rd

CVS commit: src/lib/libc/locale

2024-08-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 18 20:06:05 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.c mbrtoc32.c Log Message: mbrtoc16, mbrtoc32: fix comments, remove lint-specific workarounds No binary change. To generate a diff of this commit: cvs rd

CVS commit: src/lib/libc/locale

2024-08-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 18 19:46:53 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.c Log Message: mbrtoc8: fix comments To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/locale/mbrtoc8.c Please note that diffs are

CVS commit: src/lib/libc/locale

2024-08-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 18 19:46:53 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.c Log Message: mbrtoc8: fix comments To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/locale/mbrtoc8.c Please note that diffs are

CVS commit: src/lib/libc/locale

2024-08-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 18 19:35:19 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.c Log Message: mbrtoc8: remove lint-specific workarounds No binary change. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libc/local

CVS commit: src/lib/libc/locale

2024-08-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 18 19:35:19 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.c Log Message: mbrtoc8: remove lint-specific workarounds No binary change. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libc/local

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

2024-08-18 Thread Roland Illig
Am 18.08.2024 um 15:39 schrieb Taylor R Campbell: >> Date: Sat, 17 Aug 2024 17:55:28 -0400 >> From: Christos Zoulas >> >> There is only one bug. I have sent mail to Roland about it and will revert >> once it is fixed. >> >> The rest are: >> - cast through (void *) >> - add casts because __BITS re

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

2024-08-18 Thread Taylor R Campbell
> Date: Sat, 17 Aug 2024 17:55:28 -0400 > From: Christos Zoulas > > There is only one bug. I have sent mail to Roland about it and will revert > once it is fixed. > > The rest are: > - cast through (void *) > - add casts because __BITS returns uintmax_t which is wider than the > destination t

CVS commit: src/lib/libc/locale

2024-08-18 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 18 13:35:11 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.c Log Message: mbrtoc8(3): Fix pasto in comment at top. No functional change intended. PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8

CVS commit: src/lib/libc/locale

2024-08-18 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 18 13:35:11 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.c Log Message: mbrtoc8(3): Fix pasto in comment at top. No functional change intended. PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8

CVS commit: src/lib/libc/locale

2024-08-18 Thread Taylor R Campbell
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 re

CVS commit: src/lib/libc/locale

2024-08-18 Thread Taylor R Campbell
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 re

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

2024-08-17 Thread Rin Okuyama
Hi, For __CTASSERT v.s. case label: https://nxr.netbsd.org/xref/src/lib/libc/locale/c8rtomb.c#225 not only lint(1), but also GCC 10.5 does not accept this, which results in build failures for platforms still using gcc.old: https://releng.netbsd.org/builds/HEAD/202408171750Z/ Can we just drop

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

2024-08-17 Thread Taylor R Campbell
> Date: Sat, 17 Aug 2024 17:55:28 -0400 > From: Christos Zoulas > > There is only one bug. I have sent mail to Roland about it and will revert > once it is fixed. > > The rest are: > - cast through (void *) There is no need to cast through (void *) -- not in C, not in KNF, and not for any oth

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

2024-08-17 Thread Christos Zoulas
There is only one bug. I have sent mail to Roland about it and will revert once it is fixed. The rest are: - cast through (void *) - add casts because __BITS returns uintmax_t which is wider than the destination types. christos > On Aug 17, 2024, at 5:29 PM, Taylor R Campbell wrote: > >> Mo

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

2024-08-17 Thread Taylor R Campbell
> Module Name:src > Committed By: christos > Date: Sat Aug 17 20:08:13 UTC 2024 > > Modified Files: > src/lib/libc/locale: c16rtomb.c c8rtomb.c mbrtoc16.c mbrtoc32.c > mbrtoc8.c > > Log Message: > pass lint, XXX see lint bug. Can you please arrange to fix the

CVS commit: src/lib/libc/locale

2024-08-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 17 20:08:13 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.c c8rtomb.c mbrtoc16.c mbrtoc32.c mbrtoc8.c Log Message: pass lint, XXX see lint bug. To generate a diff of this commit: cvs rdiff -u -r1.3

CVS commit: src/lib/libc/locale

2024-08-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 17 20:08:13 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.c c8rtomb.c mbrtoc16.c mbrtoc32.c mbrtoc8.c Log Message: pass lint, XXX see lint bug. To generate a diff of this commit: cvs rdiff -u -r1.3

CVS commit: src/lib/libc/locale

2024-08-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 17 12:37:29 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.3 Log Message: mbrtoc8(3): Clarify how many bytes are consumed in special cases. Fix overlap in RETURN VALUES section. PR standards/58601: uchar.h C23

CVS commit: src/lib/libc/locale

2024-08-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 17 12:37:29 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.3 Log Message: mbrtoc8(3): Clarify how many bytes are consumed in special cases. Fix overlap in RETURN VALUES section. PR standards/58601: uchar.h C23

CVS commit: src/lib/libc/locale

2024-08-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 17 12:37:05 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 Log Message: mbrtoc16(3): Clarify how many bytes are consumed in special cases. Fix overlap in RETURN VALUES section. PR lib/52374: missing To ge

CVS commit: src/lib/libc/locale

2024-08-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 17 12:37:05 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 Log Message: mbrtoc16(3): Clarify how many bytes are consumed in special cases. Fix overlap in RETURN VALUES section. PR lib/52374: missing To ge

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 17 01:52:51 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 mbrtoc16.3 mbrtoc32.3 Log Message: c16rtomb(3), c32rtomb(3), mbrtoc16(3), mbrtoc32(3): xref c8 versions. PR standards/58601: uchar.h C23 c

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 17 01:52:51 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 mbrtoc16.3 mbrtoc32.3 Log Message: c16rtomb(3), c32rtomb(3), mbrtoc16(3), mbrtoc32(3): xref c8 versions. PR standards/58601: uchar.h C23 c

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 17 00:32:19 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.3 Log Message: c8rtomb(3): Clarify prose and fix example in caveat. PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb To generate

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 17 00:32:19 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.3 Log Message: c8rtomb(3): Clarify prose and fix example in caveat. PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb To generate

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 17 00:29:21 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 Log Message: c16rtomb(3), c32rtomb(3): Attempt a deturgidification pass. Limit the jargon around surrogates. PR lib/52374: missing To

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 17 00:29:21 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 Log Message: c16rtomb(3), c32rtomb(3): Attempt a deturgidification pass. Limit the jargon around surrogates. PR lib/52374: missing To

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 23:34:25 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.3 Log Message: c8rtomb(3): Fix possible error descriptions. The argument c8 can't be a surrogate code point itself (they're in the range [0xd800,0xdfff]

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 23:34:25 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.3 Log Message: c8rtomb(3): Fix possible error descriptions. The argument c8 can't be a surrogate code point itself (they're in the range [0xd800,0xdfff]

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 23:25:18 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.3 Log Message: mbrtoc8(3): Restore word accidentally removed. PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb To generate a diff

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 23:25:18 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.3 Log Message: mbrtoc8(3): Restore word accidentally removed. PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb To generate a diff

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 23:25:00 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 Log Message: mbrtoc16(3), mbrtoc32(3): Restore word accidentally removed. PR lib/52374: missing To generate a diff of this commit: cvs

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 23:25:00 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 Log Message: mbrtoc16(3), mbrtoc32(3): Restore word accidentally removed. PR lib/52374: missing To generate a diff of this commit: cvs

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 23:12:17 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.3 Log Message: mbrtoc8(3): Work on deturgidifying prose. PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb To generate a diff of t

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 23:12:17 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.3 Log Message: mbrtoc8(3): Work on deturgidifying prose. PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb To generate a diff of t

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 23:11:03 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 Log Message: mbrtoc16(3), mbrtoc32(3): Work on deturgidifying prose. Still maybe not great but at least there's less jargon in most of the

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 23:11:03 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 Log Message: mbrtoc16(3), mbrtoc32(3): Work on deturgidifying prose. Still maybe not great but at least there's less jargon in most of the

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 19:39:51 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 Log Message: c16rtomb(3), c32rtomb(3): No state overlap with mbrtoc8 or c8rtomb. PR standards/58601: uchar.h C23 compliance: char8_t, mbrt

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 19:39:51 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 Log Message: c16rtomb(3), c32rtomb(3): No state overlap with mbrtoc8 or c8rtomb. PR standards/58601: uchar.h C23 compliance: char8_t, mbrt

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 19:39:09 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.3 Log Message: c8rtomb(3): Specify what happens when ps is null. PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb To generate a d

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 19:39:09 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.3 Log Message: c8rtomb(3): Specify what happens when ps is null. PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb To generate a d

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 19:36:21 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 Log Message: c16rtomb(3), c32rtomb(3): Specify what happens if ps is null. PR lib/52374: missing To generate a diff of this commit: cvs

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 19:36:21 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 Log Message: c16rtomb(3), c32rtomb(3): Specify what happens if ps is null. PR lib/52374: missing To generate a diff of this commit: cvs

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 19:31:48 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.3 Log Message: mbrtoc8(3): Simplify return value language. PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb To generate a diff of

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 19:31:48 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc8.3 Log Message: mbrtoc8(3): Simplify return value language. PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb To generate a diff of

CVS commit: src/lib/libc/locale

2024-08-16 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 16 18:35:19 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.3 mbrtoc8.3 Log Message: c8rtomb(3), mbrtoc8(3): brush up markup To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/locale/c8rtomb.3 \

CVS commit: src/lib/libc/locale

2024-08-16 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 16 18:35:19 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.3 mbrtoc8.3 Log Message: c8rtomb(3), mbrtoc8(3): brush up markup To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/locale/c8rtomb.3 \

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 14:00:48 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc32.c Log Message: mbrtoc32(3): Clarify control flow. No need for another goto here; let's keep it clearly structured with a single `out' label. No functi

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 14:00:48 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc32.c Log Message: mbrtoc32(3): Clarify control flow. No need for another goto here; let's keep it clearly structured with a single `out' label. No functi

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 13:37:44 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 Log Message: mbrtoc16(3), mbrtoc32(3): No state overlap with mbrtoc8 or c8rtomb. PR standards/58601: uchar.h C23 compliance: char8_t, mbrt

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 13:37:44 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 Log Message: mbrtoc16(3), mbrtoc32(3): No state overlap with mbrtoc8 or c8rtomb. PR standards/58601: uchar.h C23 compliance: char8_t, mbrt

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 13:33:35 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 Log Message: mbrtoc16(3), mbrtoc32(3): Simplify return value language. Also expand BMP only once. PR lib/52374: missing To generate a

CVS commit: src/lib/libc/locale

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 13:33:35 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 Log Message: mbrtoc16(3), mbrtoc32(3): Simplify return value language. Also expand BMP only once. PR lib/52374: missing To generate a

CVS commit: src/lib/libc/locale

2024-08-16 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 16 12:54:08 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 Log Message: c16rtomb(3), c32rtomb(3): brush up markup To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/locale/c16rtomb

CVS commit: src/lib/libc/locale

2024-08-16 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 16 12:54:08 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 Log Message: c16rtomb(3), c32rtomb(3): brush up markup To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/locale/c16rtomb

CVS commit: src/lib/libc/locale

2024-08-16 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 16 12:41:21 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 Log Message: mbrtoc16(3), mbrtoc32(3): brush up markup Split long .Fn lines into Fo/Fa/Fc. Dont indent the list of return values. Don't use ar

CVS commit: src/lib/libc/locale

2024-08-16 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 16 12:41:21 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 Log Message: mbrtoc16(3), mbrtoc32(3): brush up markup Split long .Fn lines into Fo/Fa/Fc. Dont indent the list of return values. Don't use ar

CVS commit: src/lib/libc/locale

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 22:23:17 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.c mbrtoc8.c Log Message: c8rtomb(3), mbrtoc8(3): Use namespace.h to get private aliases. This way applications defining the symbols c32rtomb or mbrtoc32

CVS commit: src/lib/libc/locale

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 22:23:17 UTC 2024 Modified Files: src/lib/libc/locale: c8rtomb.c mbrtoc8.c Log Message: c8rtomb(3), mbrtoc8(3): Use namespace.h to get private aliases. This way applications defining the symbols c32rtomb or mbrtoc32

CVS commit: src/lib/libc/locale

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 20:23:26 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.c Log Message: mbrtoc16(3): Simplify surrogate state test. Turn the finer-grained test into an assertion. No semantic change intended: we are supposed

CVS commit: src/lib/libc/locale

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 20:23:26 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.c Log Message: mbrtoc16(3): Simplify surrogate state test. Turn the finer-grained test into an assertion. No semantic change intended: we are supposed

CVS commit: src/lib/libc/locale

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 15:46:40 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.c mbrtoc16.c mbrtoc32.c Log Message: libc: Use the more idiomatic alignof from stdalign.h. No functional change intended. PR lib/52374: missing To

CVS commit: src/lib/libc/locale

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 15:46:40 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.c mbrtoc16.c mbrtoc32.c Log Message: libc: Use the more idiomatic alignof from stdalign.h. No functional change intended. PR lib/52374: missing To

CVS commit: src/lib/libc/locale

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 14:58:00 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 Log Message: c16rtomb(3), c32rtomb(3): Fix more \n in man pages. Also, tighten an assertion: we left room for a NUL byte at the end. PR l

CVS commit: src/lib/libc/locale

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 14:58:00 UTC 2024 Modified Files: src/lib/libc/locale: c16rtomb.3 c32rtomb.3 Log Message: c16rtomb(3), c32rtomb(3): Fix more \n in man pages. Also, tighten an assertion: we left room for a NUL byte at the end. PR l

CVS commit: src/lib/libc/locale

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 14:42:20 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 Log Message: mbrtoc16(3), mbrtoc32(3): Fix \n in man page examples. Need to write \en to pacify roff. PR lib/52374: missing To generat

CVS commit: src/lib/libc/locale

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 14:42:20 UTC 2024 Modified Files: src/lib/libc/locale: mbrtoc16.3 mbrtoc32.3 Log Message: mbrtoc16(3), mbrtoc32(3): Fix \n in man page examples. Need to write \en to pacify roff. PR lib/52374: missing To generat

CVS commit: src/lib/libc/locale

2024-06-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jun 7 13:53:02 UTC 2024 Modified Files: src/lib/libc/locale: global_locale.c Log Message: libc/locale/global_locale.c: Nix confusing NBCHAR_MAX. NBCHAR_MAX is used only in the usr.bin/mklocale build, but that doesn't use

  1   2   >