[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53801: [PATCH] tests: have printf(1) use octal numbers for POSIX con
Brian C. Lane
bug#53801: [PATCH] tests: have printf(1) use octal numbers for POSIX conformance
Mon, 7 Feb 2022 08:52:29 -0800
On Sat, Feb 05, 2022 at 10:44:29AM +0000, Kerin Millar wrote:
> The attached patch rectifies some test failures that were reported at
> https://bugs.gentoo.org/774363. Whether it be a builtin of sh(1) or not,
> POSIX does not require for the printf utility to support hexadecimal notation.
> Kerin Millar
Thanks for the patch. I'll have to ponder this for a bit. So the issue
is showing up in Gentoo because it uses dash, right? The issue I have
with the change is that it then obscures what's being written. Everyone
knows what 0x55aa is :) I'd prefer a solution that continues to use hex
so that future users don't have to figure out what's going on.
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart