[Bug 229641] /usr/bin/printf (so also internal printf in sh) ignores width and precision in %b format

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 8 15:25:40 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229641

--- Comment #9 from commit-hook at freebsd.org ---
A commit references this bug:

Author: pfg
Date: Wed Aug  8 15:25:01 UTC 2018
New revision: 337458
URL: https://svnweb.freebsd.org/changeset/base/337458

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

  The precision with the conversion specifier b is specified by POSIX: see
  point 7 in the reference documentation.

  This corrects previous wrong log in r337440.

  Reference:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html

  PR:   229641
  Reported by:  Rudolf Cejka
  Submitted by: Garrett D'Amore (illumos)
  MFC after:    1 week

Changes:
  head/usr.bin/printf/printf.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list