]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
awk: Issue a warning for old hex behavior.
authorWarner Losh <imp@FreeBSD.org>
Tue, 20 Jul 2021 04:39:26 +0000 (22:39 -0600)
committerWarner Losh <imp@FreeBSD.org>
Thu, 22 Jul 2021 02:03:35 +0000 (20:03 -0600)
commitacf9cf323f8d0c844ea4a0fedeb596871794a078
tree64bf42d3c74ab15d876b4ba65eff9422b4e11db6
parent51221b68fb5578be90b266fbb53d2848acaee045
awk: Issue a warning for old hex behavior.

Since FreeBSD has allowed "0x" hex strings to be converted to integers
for a long time, and since upstream has killed that behavior, warn about
this issue. This will allow us to deprecate this behavior for 14.0 while
giving our users of 12.x and 13.x fair warning.

Sponsored by: Netflix
contrib/one-true-awk/lib.c