CVS commit: src

"Roland Illig" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	rillig
Date:		Sat Mar 14 14:25:47 UTC 2026

Modified Files:
	src/common/lib/libutil: snprintb.c
	src/lib/libutil: snprintb.3
	src/tests/lib/libutil: t_snprintb.c

Log Message:
snprintb: allow 'F' and 'f' to be freely mixed with '=' and ':'

This restores the behavior from NetBSD 10.

While in most cases, 'f' is used with '=' and 'F' is used with ':',
there are useful cases for the other combinations as well, so allow
them.

Planned for pull-up to NetBSD 11.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/common/lib/libutil/snprintb.c
cvs rdiff -u -r1.40 -r1.41 src/lib/libutil/snprintb.3
cvs rdiff -u -r1.41 -r1.42 src/tests/lib/libutil/t_snprintb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.