NetBSD-Bugs archive

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

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



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

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/58612 CVS commit: src/lib/libc/locale
Date: Tue, 20 Aug 2024 17:43:41 +0000

 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 when I changed the draft to wcrtomb_l.  Caught by
 lint.
 
 `wc_len' mirrors `mb_len' in the complementary code in mbrtoc32(3) to
 avoid clash with standard C function mblen(3).
 
 PR lib/58612: c8rtomb/c16rtomb/c32rtomb yield suboptimal shift
 sequences
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 src/lib/libc/locale/c32rtomb.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