/[base]
ViewVC logotype

Revision 337440


Jump to revision: Previous Next
Author: pfg
Date: Tue Aug 7 23:03:50 2018 UTC (5 years, 10 months ago)
Changed paths: 1
Log Message:
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)


Changed paths

Path Details
Directoryhead/usr.bin/printf/printf.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27