NetBSD-Bugs archive

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

PR/57573 CVS commit: src/lib/libc/gen



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

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/57573 CVS commit: src/lib/libc/gen
Date: Sat, 12 Aug 2023 12:46:33 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Sat Aug 12 12:46:33 UTC 2023
 
 Modified Files:
 	src/lib/libc/gen: vis.c
 
 Log Message:
 vis(3): Make maxolen unsigned size_t, not ssize_t.
 
 It is initialized once either to *dlen, which is unsigned size_t, or
 to wcslen(start) * MB_MAX_LEN + 1, and wcslen returns unsigned size_t
 too.  So there appears to have never been any reason for this to be
 signed.
 
 Part of PR lib/57573.
 
 XXX pullup-10
 XXX pullup-9
 XXX pullup-8
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.76 -r1.77 src/lib/libc/gen/vis.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