[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
Tue Aug 14 22:57:40 UTC 2018


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

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

Author: pfg
Date: Tue Aug 14 22:57:29 UTC 2018
New revision: 337823
URL: https://svnweb.freebsd.org/changeset/base/337823

Log:
  MFC r337458, r337618:
  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.

  Include fix from jilles@ to avoid breaking the testsuite.

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

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

Changes:
_U  stable/11/
  stable/11/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