• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

READMED23-Nov-20232.5 KiB5842

REGRESSD23-Nov-2023336 2924

a-format.awkD23-Nov-202330 43

a-format.badD23-Nov-202360 43

a-format.okD23-Nov-20239 21

concat-assign-same.awkD23-Nov-2023116 54

concat-assign-same.badD23-Nov-202316 32

concat-assign-same.okD23-Nov-202316 32

decr-NF.awkD23-Nov-2023103 1211

decr-NF.badD23-Nov-202330 65

decr-NF.okD23-Nov-202327 65

fmt-overflow.awkD23-Nov-202340 21

fmt-overflow.okD23-Nov-2023256 21

fs-overflow.awkD23-Nov-2023159 1412

fs-overflow.okD23-Nov-20234 21

getline-numeric.awkD23-Nov-2023144 76

getline-numeric.badD23-Nov-202324 43

getline-numeric.inD23-Nov-20234 21

getline-numeric.okD23-Nov-202323 43

inf-nan-torture.awkD23-Nov-202353 54

inf-nan-torture.inD23-Nov-202392 21

inf-nan-torture.okD23-Nov-2023182 1716

missing-precision.awkD23-Nov-202325 21

missing-precision.okD23-Nov-202363 32

negative-nf.awkD23-Nov-202319 21

negative-nf.okD23-Nov-202366 32

nf-self-assign.awkD23-Nov-202351 76

nf-self-assign.badD23-Nov-20236 21

nf-self-assign.okD23-Nov-20236 21

numeric-fs.awkD23-Nov-2023124 65

numeric-fs.okD23-Nov-20236 43

numeric-output-seps.awkD23-Nov-202379 98

numeric-output-seps.badD23-Nov-20238 32

numeric-output-seps.okD23-Nov-20238 11

numeric-rs.awkD23-Nov-202374 76

numeric-rs.badD23-Nov-20238 21

numeric-rs.okD23-Nov-20238 54

numeric-subsep.awkD23-Nov-2023102 65

numeric-subsep.badD23-Nov-20231

numeric-subsep.okD23-Nov-20234 21

ofs-rebuild.awkD23-Nov-2023465 187

ofs-rebuild.badD23-Nov-202323 21

ofs-rebuild.okD23-Nov-202317 21

pfile-overflow.awkD23-Nov-20231 11

pfile-overflow.okD23-Nov-2023165 54

rs_underflow.awkD23-Nov-202331 21

rs_underflow.inD23-Nov-20232

rs_underflow.okD23-Nov-20232

space.awkD23-Nov-2023376 2318

space.badD23-Nov-2023278 1716

space.okD23-Nov-2023282 1716

split-fs-from-array.awkD23-Nov-2023122 65

split-fs-from-array.okD23-Nov-202313 21

string-conv.awkD23-Nov-2023240 1413

string-conv.badD23-Nov-202367 54

string-conv.okD23-Nov-202353 54

subsep-overflow.awkD23-Nov-2023579 2520

subsep-overflow.okD23-Nov-202314 65

system-status.awkD23-Nov-2023575 209

system-status.badD23-Nov-202398 43

system-status.okD23-Nov-202386 43

unary-plus.awkD23-Nov-202356 54

unary-plus.badD23-Nov-202323 32

unary-plus.okD23-Nov-202310 32

README

1List of bugs fixed.
2
31. ofs-rebuild: OFS value used to rebuild the record was incorrect.
4Fixed August 19, 2014. Revised fix August 2018.
5
62. system-status: Instead of a floating-point division by 256, use
7the wait(2) macros to create a reasonable exit status. Fixed March 12, 2016.
8
93. space: Use provided xisblank() function instead of ispace() for
10matching [[:blank:]].
11
124. a-format: Add POSIX standard %a and %A to supported formats. Check
13at runtime that this format is available.
14
155. decr-NF: Decrementing NF did not change $0. This is a decades-old
16bug. There are interactions with the old and new value of OFS as well.
17Most of the fix came from the NetBSD awk.
18
196. string-conv: String conversions of scalars were sticky.  Once a
20conversion to string happened, even with OFMT, that value was used until
21a new numeric value was assigned, even if OFMT differed from CONVFMT,
22and also if CONVFMT changed.
23
247. unary-plus: Unary plus on a string constant returned the string.
25Instead, it should convert the value to numeric and give that value.
26
278. concat-assign-same: Concatenation previously evaluated both sides of the
28expression before doing its work, which, since assign() evaluates to the cell
29being assigned to, meant that expressions like "print (a = 1) (a = 2)" would
30print "22" rather than "12".
31
329. missing-precision: When using the format string "%*s", the precision
33argument was used without checking if it was present first.
34
3510. missing-precision: When using the format string "%*s", the precision
36argument was used without checking if it was present first.
37
3811. fmt-overflow: The buffer used for OFMT/CONVFMT conversions was written
39to with sprintf(), which meant that some conversions could write past the
40end.
41
4212. numeric-subsep, numeric-fs, numeric-output-seps, numerics-rs: If SUBSEP,
43FS, RS, OFS, or ORS were set to a numeric value, then their string values
44wouldn't always be generated before being needed.
45
4613. subsep-overflow: The length of SUBSEP needs to be rechecked after
47calling execute(), in case SUBSEP itself has been changed.
48
4914. split-fs-from-array: If the third argument to split() comes from the
50array passed as the second argument, then split() would previously read
51from the freed memory and possibly produce incorrect results (depending
52on the system's malloc()/free() behaviour.)
53
5415. getline-numeric: The `getline xx < file' syntax did not check if
55values were numeric, in discordance from POSIX. Test case adapted from
56one posted by Ben Bacarisse <ben.usenet@bsb.me.uk> in comp.lang.awk,
57January 2019.
58