awk/bugs-fixed
2020-12-18 11:57:48 +02:00
..
a-format.awk Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
a-format.bad Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
a-format.ok Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
concat-assign-same.awk Fix issues with assigning during concatenation 2018-09-15 01:43:21 -07:00
concat-assign-same.bad Fix issues with assigning during concatenation 2018-09-15 01:43:21 -07:00
concat-assign-same.ok Fix issues with assigning during concatenation 2018-09-15 01:43:21 -07:00
decr-NF.awk Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
decr-NF.bad Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
decr-NF.ok Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
fmt-overflow.awk Protect against overflowing during OFMT/CONVFMT conversions 2018-09-14 19:56:34 -07:00
fmt-overflow.ok Protect against overflowing during OFMT/CONVFMT conversions 2018-09-14 19:56:34 -07:00
fs-overflow.awk Handle numeric FS, RS, OFS, and ORS values 2018-09-23 17:35:45 -07:00
fs-overflow.ok Add regression script for bugs-fixed directory. 2020-07-02 21:35:06 +03:00
getline-numeric.awk Make getline POSIX compliant w.r.t. numeric strings. 2019-01-25 12:56:06 +02:00
getline-numeric.bad Simplify getline-numeric input and results. 2019-01-26 20:50:31 +02:00
getline-numeric.in Simplify getline-numeric input and results. 2019-01-26 20:50:31 +02:00
getline-numeric.ok Simplify getline-numeric input and results. 2019-01-26 20:50:31 +02:00
inf-nan-torture.awk Inf and NaN values fixed and printing improved. "This time for sure!" 2020-12-18 11:57:48 +02:00
inf-nan-torture.in Inf and NaN values fixed and printing improved. "This time for sure!" 2020-12-18 11:57:48 +02:00
inf-nan-torture.ok Inf and NaN values fixed and printing improved. "This time for sure!" 2020-12-18 11:57:48 +02:00
missing-precision.awk Check for format character precision argument before using it 2018-09-14 17:34:17 -07:00
missing-precision.ok Add regression script for bugs-fixed directory. 2020-07-02 21:35:06 +03:00
negative-nf.awk Print an error message for negative NF values 2018-09-25 21:19:49 -07:00
negative-nf.ok Add regression script for bugs-fixed directory. 2020-07-02 21:35:06 +03:00
nf-self-assign.awk Rebuild fields when NF is assigned to itself 2018-09-23 17:59:52 -07:00
nf-self-assign.bad Rebuild fields when NF is assigned to itself 2018-09-23 17:59:52 -07:00
nf-self-assign.ok Rebuild fields when NF is assigned to itself 2018-09-23 17:59:52 -07:00
numeric-fs.awk Handle numeric FS, RS, OFS, and ORS values 2018-09-23 17:35:45 -07:00
numeric-fs.ok Handle numeric FS, RS, OFS, and ORS values 2018-09-23 17:35:45 -07:00
numeric-output-seps.awk Handle numeric FS, RS, OFS, and ORS values 2018-09-23 17:35:45 -07:00
numeric-output-seps.bad Handle numeric FS, RS, OFS, and ORS values 2018-09-23 17:35:45 -07:00
numeric-output-seps.ok Handle numeric FS, RS, OFS, and ORS values 2018-09-23 17:35:45 -07:00
numeric-rs.awk Handle numeric FS, RS, OFS, and ORS values 2018-09-23 17:35:45 -07:00
numeric-rs.bad Handle numeric FS, RS, OFS, and ORS values 2018-09-23 17:35:45 -07:00
numeric-rs.ok Handle numeric FS, RS, OFS, and ORS values 2018-09-23 17:35:45 -07:00
numeric-subsep.awk Fix issues with numeric SUBSEP and large SUBSEP values 2018-09-17 11:59:04 -07:00
numeric-subsep.bad Fix issues with numeric SUBSEP and large SUBSEP values 2018-09-17 11:59:04 -07:00
numeric-subsep.ok Fix issues with numeric SUBSEP and large SUBSEP values 2018-09-17 11:59:04 -07:00
ofs-rebuild.awk Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
ofs-rebuild.bad Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
ofs-rebuild.ok Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
pfile-overflow.awk Avoid accessing pfile[] out of bounds on syntax error at EOF. (#90) 2020-07-29 21:31:29 +03:00
pfile-overflow.ok Avoid accessing pfile[] out of bounds on syntax error at EOF. (#90) 2020-07-29 21:31:29 +03:00
README Make getline POSIX compliant w.r.t. numeric strings. 2019-01-25 12:56:06 +02:00
REGRESS Add regression script for bugs-fixed directory. 2020-07-02 21:35:06 +03:00
rs_underflow.awk Cast to uschar when storing a char in an int that will be used as an index (#88) 2020-07-29 21:27:45 +03:00
rs_underflow.in Cast to uschar when storing a char in an int that will be used as an index (#88) 2020-07-29 21:27:45 +03:00
rs_underflow.ok Cast to uschar when storing a char in an int that will be used as an index (#88) 2020-07-29 21:27:45 +03:00
space.awk Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
space.bad Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
space.ok Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
split-fs-from-array.awk Fix calling split() with a third argument that lives in the target array 2018-09-18 15:20:44 -07:00
split-fs-from-array.ok Fix calling split() with a third argument that lives in the target array 2018-09-18 15:20:44 -07:00
string-conv.awk Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
string-conv.bad Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
string-conv.ok Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
subsep-overflow.awk Fix issues with numeric SUBSEP and large SUBSEP values 2018-09-17 11:59:04 -07:00
subsep-overflow.ok Fix issues with numeric SUBSEP and large SUBSEP values 2018-09-17 11:59:04 -07:00
system-status.awk Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
system-status.bad Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
system-status.ok Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
unary-plus.awk Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
unary-plus.bad Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
unary-plus.ok Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00

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.