]> git.ipfire.org Git - thirdparty/coreutils.git/commit
base64: no longer support hex or oct --wrap params
authorPádraig Brady <P@draigBrady.com>
Mon, 17 Aug 2015 04:45:47 +0000 (21:45 -0700)
committerPádraig Brady <P@draigBrady.com>
Wed, 2 Sep 2015 23:34:12 +0000 (00:34 +0100)
commitdf3b9120b4b0444bedbe53ef7a2cc5bb28fb3943
tree4647b96f5f3c5340dd4353cbc3b7708acc8a0ed0
parenta8cc9ce3f290a83dfb656dabfab2a98e765a68a0
base64: no longer support hex or oct --wrap params

* src/base64.c (main): Support decimal numbers with leading zeros,
by disabling the auto detection of octal and hex.  It's not
envisaged that base conversion is needed for --wrap parameters,
and in the edge case it is, $((0x0)) shell constructs can be used.
* tests/misc/base64.pl: Adjust accordingly.
* NEWS: Mention the change in behavior.
NEWS
src/base64.c
tests/misc/base64.pl