On Jan 10 14:43:39, [email protected] wrote: > The wprintf(3) manpage says > > The decimal point character is defined > in the program's locale (category LC_NUMERIC) > > but LC_NUMERIC is ignored in OpenBSD's C library, > as explained in setlocale(3). > > Would it be an improvement to remove that sentence? > (Removing a needless newline while here.) > > Jan > > > Index: wprintf.3 > =================================================================== > RCS file: /cvs/src/lib/libc/stdio/wprintf.3,v > retrieving revision 1.5 > diff -u -p -r1.5 wprintf.3 > --- wprintf.3 1 Dec 2017 10:56:07 -0000 1.5 > +++ wprintf.3 10 Jan 2019 13:29:41 -0000 > @@ -578,14 +578,9 @@ is > .Ql %% . > .El > .Pp > -The decimal point > -character is defined in the program's locale (category > -.Dv LC_NUMERIC ) . > -.Pp > In no case does a non-existent or small field width cause truncation of > a numeric field; if the result of a conversion is wider than the field > -width, the > -field is expanded to contain the conversion result. > +width, the field is expanded to contain the conversion result. > .Sh SEE ALSO > .Xr btowc 3 , > .Xr fputws 3 ,
same for wscanf(3): Index: wscanf.3 =================================================================== RCS file: /cvs/src/lib/libc/stdio/wscanf.3,v retrieving revision 1.2 diff -u -p -r1.2 wscanf.3 --- wscanf.3 2 Nov 2011 22:29:07 -0000 1.2 +++ wscanf.3 10 Jan 2019 14:14:08 -0000 @@ -389,10 +389,6 @@ a conversion, although it can be suppres flag. .El .Pp -The decimal point -character is defined in the program's locale (category -.Dv LC_NUMERIC ) . -.Pp For backwards compatibility, a .Dq conversion of
