HomeFreeBSD

Fix printf(1) ignores width and precision in %b format.

Description

Fix printf(1) ignores width and precision in %b format.

The precision with behavior is "unspecified" by POSIX (as of 2018), but
most implementations seem to have taken it to be treated the same as for
"s"; applied after the unescaping.
Adopt the same treatment on our printf.

PR: 229641
Submitted by: Garrett D'Amore (illumos)

Details

Provenance
pfgAuthored on
Parents
rS337439: cxgbe(4): Allow the driver to specify a burst size when configuring a
Branches
Unknown
Tags
Unknown