Date: Tue, 07 Aug 2018 23:04:16 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229641] /usr/bin/printf (so also internal printf in sh) ignores width and precision in %b format Message-ID: <bug-229641-227-EUwdKgBXXd@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-229641-227@https.bugs.freebsd.org/bugzilla/> References: <bug-229641-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229641 --- Comment #7 from commit-hook@freebsd.org --- A commit references this bug: Author: pfg Date: Tue Aug 7 23:03:51 UTC 2018 New revision: 337440 URL: https://svnweb.freebsd.org/changeset/base/337440 Log: 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) Changes: head/usr.bin/printf/printf.c --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229641-227-EUwdKgBXXd>