![]() |
Welcome to ftp.vim.org,
Hosted by ftp.nluug.nl Current directory: /ftp/os/NetBSD/NetBSD-current/src/external/historical/nawk/dist/bugs-fixed/ |
Contents of README:List of bugs fixed. 1. ofs-rebuild: OFS value used to rebuild the record was incorrect. Fixed August 19, 2014. Revised fix August 2018. 2. system-status: Instead of a floating-point division by 256, use the wait(2) macros to create a reasonable exit status. Fixed March 12, 2016. 3. space: Use provided xisblank() function instead of ispace() for matching [[:blank:]]. 4. a-format: Add POSIX standard %a and %A to supported formats. Check at runtime that this format is available. 5. decr-NF: Decrementing NF did not change $0. This is a decades-old bug. There are interactions with the old and new value of OFS as well. Most of the fix came from the NetBSD awk. 6. string-conv: String conversions of scalars were sticky. Once a conversion to string happened, even with OFMT, that value was used until a new numeric value was assigned, even if OFMT differed from CONVFMT, and also if CONVFMT changed. 7. unary-plus: Unary plus on a string constant returned the string. Instead, it should convert the value to numeric and give that value. 8. concat-assign-same: Concatenation previously evaluated both sides of the expression before doing its work, which, since assign() evaluates to the cell being assigned to, meant that expressions like "print (a = 1) (a = 2)" would print "22" rather than "12". 9. missing-precision: When using the format string "%*s", the precision argument was used without checking if it was present first. 10. missing-precision: When using the format string "%*s", the precision argument was used without checking if it was present first. 11. fmt-overflow: The buffer used for OFMT/CONVFMT conversions was written to with sprintf(), which meant that some conversions could write past the end. 12. numeric-subsep, numeric-fs, numeric-output-seps, numerics-rs: If SUBSEP, FS, RS, OFS, or ORS were set to a numeric value, then their string values wouldn't always be generated before being needed. 13. subsep-overflow: The length of SUBSEP needs to be rechecked after calling execute(), in case SUBSEP itself has been changed. 14. split-fs-from-array: If the third argument to split() comes from the array passed as the second argument, then split() would previously read from the freed memory and possibly produce incorrect results (depending on the system's malloc()/free() behaviour.) 15. getline-numeric: The `getline xx < file' syntax did not check if values were numeric, in discordance from POSIX. Test case adapted from one posted by Ben Bacarisse <ben.usenet@bsb.me.uk> in comp.lang.awk, January 2019. |
Name Last modified Size
Parent Directory -
CVS/ 18-Aug-2024 05:01 -
README 18-Feb-2020 21:50 2.5K
REGRESS 18-Aug-2024 00:19 412
a-format.awk 18-Feb-2020 21:50 30
a-format.bad 18-Feb-2020 21:50 60
a-format.ok 18-Feb-2020 21:50 9
concat-assign-same.awk 18-Feb-2020 21:50 116
concat-assign-same.bad 18-Feb-2020 21:50 16
concat-assign-same.ok 18-Feb-2020 21:50 16
decr-NF.awk 18-Feb-2020 21:50 103
decr-NF.bad 18-Feb-2020 21:50 30
decr-NF.ok 18-Feb-2020 21:50 27
fmt-overflow.awk 18-Feb-2020 21:50 40
fmt-overflow.ok 18-Feb-2020 21:50 256
fs-overflow.awk 18-Feb-2020 21:50 159
fs-overflow.ok 18-Aug-2024 00:19 4
getline-corruption.awk 18-Aug-2024 00:19 77
getline-corruption.in 18-Aug-2024 00:19 2
getline-corruption.ok 18-Aug-2024 00:19 8
getline-numeric.awk 18-Feb-2020 21:50 144
getline-numeric.bad 18-Feb-2020 21:50 24
getline-numeric.in 18-Feb-2020 21:50 4
getline-numeric.ok 18-Feb-2020 21:50 23
inf-nan-torture.awk 18-Aug-2024 00:19 53
inf-nan-torture.in 18-Aug-2024 00:19 92
inf-nan-torture.ok 18-Aug-2024 00:19 182
matchop-deref.awk 18-Aug-2024 00:19 117
matchop-deref.bad 18-Aug-2024 00:19 6
matchop-deref.in 18-Aug-2024 00:19 8
matchop-deref.ok 18-Aug-2024 00:19 4
missing-precision.awk 18-Feb-2020 21:50 25
missing-precision.ok 18-Aug-2024 05:01 63
negative-nf.awk 18-Feb-2020 21:50 19
negative-nf.ok 18-Aug-2024 05:01 66
nf-self-assign.awk 18-Feb-2020 21:50 51
nf-self-assign.bad 18-Feb-2020 21:50 6
nf-self-assign.ok 18-Feb-2020 21:50 6
numeric-fs.awk 18-Feb-2020 21:50 124
numeric-fs.ok 18-Feb-2020 21:50 6
numeric-output-seps.awk 18-Feb-2020 21:50 79
numeric-output-seps.bad 18-Feb-2020 21:50 8
numeric-output-seps.ok 18-Feb-2020 21:50 8
numeric-rs.awk 18-Feb-2020 21:50 74
numeric-rs.bad 18-Feb-2020 21:50 8
numeric-rs.ok 18-Feb-2020 21:50 8
numeric-subsep.awk 18-Feb-2020 21:50 102
numeric-subsep.bad 18-Feb-2020 21:50 1
numeric-subsep.ok 18-Feb-2020 21:50 4
ofs-rebuild.awk 18-Aug-2024 05:01 466
ofs-rebuild.bad 18-Feb-2020 21:50 23
ofs-rebuild.ok 18-Feb-2020 21:50 17
pfile-overflow.awk 18-Aug-2024 00:19 1
pfile-overflow.ok 18-Aug-2024 00:19 165
rs_underflow.awk 18-Aug-2024 00:19 31
rs_underflow.in 18-Aug-2024 00:19 2
rs_underflow.ok 18-Aug-2024 00:19 2
rstart-rlength.awk 18-Aug-2024 00:19 168
rstart-rlength.ok 18-Aug-2024 00:19 14
space.awk 18-Feb-2020 21:50 376
space.bad 18-Feb-2020 21:50 278
space.ok 18-Feb-2020 21:50 282
split-fs-from-array.awk 18-Feb-2020 21:50 122
split-fs-from-array.ok 18-Feb-2020 21:50 13
string-conv.awk 18-Feb-2020 21:50 240
string-conv.bad 18-Feb-2020 21:50 67
string-conv.ok 18-Feb-2020 21:50 53
subsep-overflow.awk 18-Feb-2020 21:50 579
subsep-overflow.ok 18-Feb-2020 21:50 14
system-status.awk 18-Aug-2024 05:01 576
system-status.bad 18-Feb-2020 21:50 98
system-status.ok 18-Aug-2024 05:01 86
system-status.ok2 18-Aug-2024 00:19 86
unary-plus.awk 18-Feb-2020 21:50 56
unary-plus.bad 18-Feb-2020 21:50 23
unary-plus.ok 18-Feb-2020 21:50 10
unicode-fs-rs-1.awk 18-Aug-2024 00:19 60
unicode-fs-rs-1.in 18-Aug-2024 00:19 69
unicode-fs-rs-1.ok 18-Aug-2024 00:19 54
unicode-fs-rs-2.awk 18-Aug-2024 00:19 67
unicode-fs-rs-2.in 18-Aug-2024 00:19 63
unicode-fs-rs-2.ok 18-Aug-2024 00:19 30
unicode-null-match.awk 18-Aug-2024 00:19 85
unicode-null-match.bad 18-Aug-2024 00:19 10
unicode-null-match.ok 18-Aug-2024 00:19 8
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!