Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/historical/nawk/dist Last import was 2010 when ther...
details: https://anonhg.NetBSD.org/src/rev/d2265ee2b0ad
branches: trunk
changeset: 744943:d2265ee2b0ad
user: christos <christos%NetBSD.org@localhost>
date: Tue Feb 18 20:50:46 2020 +0000
description:
Last import was 2010 when there was no ChangeLog yet. I've worked
with upstream to merge all our changes and this includes many other
fixes including new operator support etc. The change to pass an
extra "isnew" argument to open was not preserved as none of the
tests supplied with the PR fail.
This also adds the testsuite and all the bugs fixed since then.
diffstat:
external/historical/nawk/dist/ChangeLog | 341 +
external/historical/nawk/dist/LICENSE | 23 +
external/historical/nawk/dist/README.md | 108 +
external/historical/nawk/dist/REGRESS | 35 +
external/historical/nawk/dist/TODO | 19 +
external/historical/nawk/dist/bugs-fixed/README | 57 +
external/historical/nawk/dist/bugs-fixed/a-format.awk | 3 +
external/historical/nawk/dist/bugs-fixed/a-format.bad | 3 +
external/historical/nawk/dist/bugs-fixed/a-format.ok | 1 +
external/historical/nawk/dist/bugs-fixed/concat-assign-same.awk | 4 +
external/historical/nawk/dist/bugs-fixed/concat-assign-same.bad | 2 +
external/historical/nawk/dist/bugs-fixed/concat-assign-same.ok | 2 +
external/historical/nawk/dist/bugs-fixed/decr-NF.awk | 11 +
external/historical/nawk/dist/bugs-fixed/decr-NF.bad | 5 +
external/historical/nawk/dist/bugs-fixed/decr-NF.ok | 5 +
external/historical/nawk/dist/bugs-fixed/fmt-overflow.awk | 1 +
external/historical/nawk/dist/bugs-fixed/fmt-overflow.ok | 1 +
external/historical/nawk/dist/bugs-fixed/fs-overflow.awk | 13 +
external/historical/nawk/dist/bugs-fixed/getline-numeric.awk | 6 +
external/historical/nawk/dist/bugs-fixed/getline-numeric.bad | 3 +
external/historical/nawk/dist/bugs-fixed/getline-numeric.in | 1 +
external/historical/nawk/dist/bugs-fixed/getline-numeric.ok | 3 +
external/historical/nawk/dist/bugs-fixed/missing-precision.awk | 1 +
external/historical/nawk/dist/bugs-fixed/missing-precision.ok | 2 +
external/historical/nawk/dist/bugs-fixed/negative-nf.awk | 1 +
external/historical/nawk/dist/bugs-fixed/negative-nf.ok | 2 +
external/historical/nawk/dist/bugs-fixed/nf-self-assign.awk | 6 +
external/historical/nawk/dist/bugs-fixed/nf-self-assign.bad | 1 +
external/historical/nawk/dist/bugs-fixed/nf-self-assign.ok | 1 +
external/historical/nawk/dist/bugs-fixed/numeric-fs.awk | 5 +
external/historical/nawk/dist/bugs-fixed/numeric-fs.ok | 3 +
external/historical/nawk/dist/bugs-fixed/numeric-output-seps.awk | 8 +
external/historical/nawk/dist/bugs-fixed/numeric-output-seps.bad | 2 +
external/historical/nawk/dist/bugs-fixed/numeric-output-seps.ok | 1 +
external/historical/nawk/dist/bugs-fixed/numeric-rs.awk | 6 +
external/historical/nawk/dist/bugs-fixed/numeric-rs.bad | 1 +
external/historical/nawk/dist/bugs-fixed/numeric-rs.ok | 4 +
external/historical/nawk/dist/bugs-fixed/numeric-subsep.awk | 5 +
external/historical/nawk/dist/bugs-fixed/numeric-subsep.bad | 1 +
external/historical/nawk/dist/bugs-fixed/numeric-subsep.ok | 1 +
external/historical/nawk/dist/bugs-fixed/ofs-rebuild.awk | 17 +
external/historical/nawk/dist/bugs-fixed/ofs-rebuild.bad | 1 +
external/historical/nawk/dist/bugs-fixed/ofs-rebuild.ok | 1 +
external/historical/nawk/dist/bugs-fixed/space.awk | 22 +
external/historical/nawk/dist/bugs-fixed/space.bad | 16 +
external/historical/nawk/dist/bugs-fixed/space.ok | 16 +
external/historical/nawk/dist/bugs-fixed/split-fs-from-array.awk | 5 +
external/historical/nawk/dist/bugs-fixed/split-fs-from-array.ok | 1 +
external/historical/nawk/dist/bugs-fixed/string-conv.awk | 13 +
external/historical/nawk/dist/bugs-fixed/string-conv.bad | 4 +
external/historical/nawk/dist/bugs-fixed/string-conv.ok | 4 +
external/historical/nawk/dist/bugs-fixed/subsep-overflow.awk | 24 +
external/historical/nawk/dist/bugs-fixed/subsep-overflow.ok | 5 +
external/historical/nawk/dist/bugs-fixed/system-status.awk | 19 +
external/historical/nawk/dist/bugs-fixed/system-status.bad | 3 +
external/historical/nawk/dist/bugs-fixed/system-status.ok | 3 +
external/historical/nawk/dist/bugs-fixed/unary-plus.awk | 4 +
external/historical/nawk/dist/bugs-fixed/unary-plus.bad | 2 +
external/historical/nawk/dist/bugs-fixed/unary-plus.ok | 2 +
external/historical/nawk/dist/testdir/Compare.T1 | 10 +
external/historical/nawk/dist/testdir/Compare.drek | 35 +
external/historical/nawk/dist/testdir/Compare.p | 17 +
external/historical/nawk/dist/testdir/Compare.t | 17 +
external/historical/nawk/dist/testdir/Compare.tt | 49 +
external/historical/nawk/dist/testdir/NOTES | 10 +
external/historical/nawk/dist/testdir/README.TESTS | 44 +
external/historical/nawk/dist/testdir/REGRESS | 21 +
external/historical/nawk/dist/testdir/T.-f-f | 35 +
external/historical/nawk/dist/testdir/T.argv | 144 +
external/historical/nawk/dist/testdir/T.arnold | 19 +
external/historical/nawk/dist/testdir/T.beebe | 8 +
external/historical/nawk/dist/testdir/T.builtin | 72 +
external/historical/nawk/dist/testdir/T.chem | 11 +
external/historical/nawk/dist/testdir/T.close | 36 +
external/historical/nawk/dist/testdir/T.clv | 181 +
external/historical/nawk/dist/testdir/T.csconcat | 29 +
external/historical/nawk/dist/testdir/T.delete | 21 +
external/historical/nawk/dist/testdir/T.errmsg | 217 +
external/historical/nawk/dist/testdir/T.expr | 235 +
external/historical/nawk/dist/testdir/T.exprconv | 21 +
external/historical/nawk/dist/testdir/T.flags | 24 +
external/historical/nawk/dist/testdir/T.func | 196 +
external/historical/nawk/dist/testdir/T.gawk | 390 +
external/historical/nawk/dist/testdir/T.getline | 98 +
external/historical/nawk/dist/testdir/T.int-expr | 124 +
external/historical/nawk/dist/testdir/T.latin1 | 37 +
external/historical/nawk/dist/testdir/T.lilly | 28 +
external/historical/nawk/dist/testdir/T.main | 32 +
external/historical/nawk/dist/testdir/T.misc | 473 +
external/historical/nawk/dist/testdir/T.nextfile | 86 +
external/historical/nawk/dist/testdir/T.overflow | 86 +
external/historical/nawk/dist/testdir/T.re | 340 +
external/historical/nawk/dist/testdir/T.recache | 33 +
external/historical/nawk/dist/testdir/T.redir | 38 +
external/historical/nawk/dist/testdir/T.split | 224 +
external/historical/nawk/dist/testdir/T.sub | 315 +
external/historical/nawk/dist/testdir/T.system | 15 +
external/historical/nawk/dist/testdir/arnold-fixes.tar | Bin
external/historical/nawk/dist/testdir/bib | 31102 ++++++++++
external/historical/nawk/dist/testdir/bundle.awk | 3 +
external/historical/nawk/dist/testdir/chem.awk | 492 +
external/historical/nawk/dist/testdir/cleanup | 5 +
external/historical/nawk/dist/testdir/countries | 11 +
external/historical/nawk/dist/testdir/ctimes | 40 +
external/historical/nawk/dist/testdir/echo.c | 19 +
external/historical/nawk/dist/testdir/funstack.awk | 977 +
external/historical/nawk/dist/testdir/funstack.in | 27220 ++++++++
external/historical/nawk/dist/testdir/funstack.ok | 3705 +
external/historical/nawk/dist/testdir/ind | 1 +
external/historical/nawk/dist/testdir/latin1 | 11 +
external/historical/nawk/dist/testdir/lilly.ifile | 16 +
external/historical/nawk/dist/testdir/lilly.out | 1258 +
external/historical/nawk/dist/testdir/lilly.progs | 126 +
external/historical/nawk/dist/testdir/lsd1.p | 15 +
external/historical/nawk/dist/testdir/p.1 | 1 +
external/historical/nawk/dist/testdir/p.10 | 1 +
external/historical/nawk/dist/testdir/p.11 | 1 +
external/historical/nawk/dist/testdir/p.12 | 1 +
external/historical/nawk/dist/testdir/p.13 | 1 +
external/historical/nawk/dist/testdir/p.14 | 1 +
external/historical/nawk/dist/testdir/p.15 | 1 +
external/historical/nawk/dist/testdir/p.16 | 1 +
external/historical/nawk/dist/testdir/p.17 | 1 +
external/historical/nawk/dist/testdir/p.18 | 1 +
external/historical/nawk/dist/testdir/p.19 | 2 +
external/historical/nawk/dist/testdir/p.2 | 1 +
external/historical/nawk/dist/testdir/p.20 | 1 +
external/historical/nawk/dist/testdir/p.21 | 1 +
external/historical/nawk/dist/testdir/p.21a | 1 +
external/historical/nawk/dist/testdir/p.22 | 1 +
external/historical/nawk/dist/testdir/p.23 | 1 +
external/historical/nawk/dist/testdir/p.24 | 1 +
external/historical/nawk/dist/testdir/p.25 | 1 +
external/historical/nawk/dist/testdir/p.26 | 3 +
external/historical/nawk/dist/testdir/p.26a | 3 +
external/historical/nawk/dist/testdir/p.27 | 2 +
external/historical/nawk/dist/testdir/p.28 | 1 +
external/historical/nawk/dist/testdir/p.29 | 1 +
external/historical/nawk/dist/testdir/p.3 | 1 +
external/historical/nawk/dist/testdir/p.30 | 1 +
external/historical/nawk/dist/testdir/p.31 | 2 +
external/historical/nawk/dist/testdir/p.32 | 1 +
external/historical/nawk/dist/testdir/p.33 | 2 +
external/historical/nawk/dist/testdir/p.34 | 1 +
external/historical/nawk/dist/testdir/p.35 | 4 +
external/historical/nawk/dist/testdir/p.36 | 2 +
external/historical/nawk/dist/testdir/p.37 | 1 +
external/historical/nawk/dist/testdir/p.38 | 6 +
external/historical/nawk/dist/testdir/p.39 | 6 +
external/historical/nawk/dist/testdir/p.4 | 1 +
external/historical/nawk/dist/testdir/p.40 | 3 +
external/historical/nawk/dist/testdir/p.41 | 3 +
external/historical/nawk/dist/testdir/p.42 | 4 +
external/historical/nawk/dist/testdir/p.43 | 4 +
external/historical/nawk/dist/testdir/p.44 | 7 +
external/historical/nawk/dist/testdir/p.45 | 2 +
external/historical/nawk/dist/testdir/p.46 | 1 +
external/historical/nawk/dist/testdir/p.47 | 2 +
external/historical/nawk/dist/testdir/p.48 | 4 +
external/historical/nawk/dist/testdir/p.48a | 6 +
external/historical/nawk/dist/testdir/p.48b | 5 +
external/historical/nawk/dist/testdir/p.49 | 1 +
external/historical/nawk/dist/testdir/p.5 | 3 +
external/historical/nawk/dist/testdir/p.50 | 4 +
external/historical/nawk/dist/testdir/p.51 | 7 +
external/historical/nawk/dist/testdir/p.52 | 16 +
external/historical/nawk/dist/testdir/p.5a | 3 +
external/historical/nawk/dist/testdir/p.6 | 1 +
external/historical/nawk/dist/testdir/p.7 | 1 +
external/historical/nawk/dist/testdir/p.8 | 1 +
external/historical/nawk/dist/testdir/p.9 | 1 +
external/historical/nawk/dist/testdir/p.table | 33 +
external/historical/nawk/dist/testdir/penicil.p | 39 +
external/historical/nawk/dist/testdir/res.p | 26 +
external/historical/nawk/dist/testdir/sgi.ctimes | 40 +
external/historical/nawk/dist/testdir/t.0 | 1 +
external/historical/nawk/dist/testdir/t.0a | 1 +
external/historical/nawk/dist/testdir/t.1 | 2 +
external/historical/nawk/dist/testdir/t.1.x | 1 +
external/historical/nawk/dist/testdir/t.2 | 2 +
external/historical/nawk/dist/testdir/t.2.x | 1 +
external/historical/nawk/dist/testdir/t.3 | 1 +
external/historical/nawk/dist/testdir/t.3.x | 7 +
external/historical/nawk/dist/testdir/t.4 | 1 +
external/historical/nawk/dist/testdir/t.4.x | 1 +
external/historical/nawk/dist/testdir/t.5.x | 1 +
external/historical/nawk/dist/testdir/t.6 | 8 +
external/historical/nawk/dist/testdir/t.6.x | 1 +
external/historical/nawk/dist/testdir/t.6a | 5 +
external/historical/nawk/dist/testdir/t.6b | 5 +
external/historical/nawk/dist/testdir/t.8.x | 4 +
external/historical/nawk/dist/testdir/t.8.y | 7 +
external/historical/nawk/dist/testdir/t.NF | 1 +
external/historical/nawk/dist/testdir/t.addops | 24 +
external/historical/nawk/dist/testdir/t.aeiou | 1 +
external/historical/nawk/dist/testdir/t.aeiouy | 1 +
external/historical/nawk/dist/testdir/t.arith | 6 +
external/historical/nawk/dist/testdir/t.array | 13 +
external/historical/nawk/dist/testdir/t.array1 | 10 +
external/historical/nawk/dist/testdir/t.array2 | 4 +
external/historical/nawk/dist/testdir/t.assert | 9 +
external/historical/nawk/dist/testdir/t.avg | 5 +
external/historical/nawk/dist/testdir/t.b.x | 1 +
external/historical/nawk/dist/testdir/t.be | 6 +
external/historical/nawk/dist/testdir/t.beginexit | 6 +
external/historical/nawk/dist/testdir/t.beginnext | 6 +
external/historical/nawk/dist/testdir/t.break | 7 +
external/historical/nawk/dist/testdir/t.break1 | 10 +
external/historical/nawk/dist/testdir/t.break2 | 10 +
external/historical/nawk/dist/testdir/t.break3 | 8 +
external/historical/nawk/dist/testdir/t.bug1 | 3 +
external/historical/nawk/dist/testdir/t.builtins | 6 +
external/historical/nawk/dist/testdir/t.cat | 4 +
external/historical/nawk/dist/testdir/t.cat1 | 1 +
external/historical/nawk/dist/testdir/t.cat2 | 1 +
external/historical/nawk/dist/testdir/t.cmp | 1 +
external/historical/nawk/dist/testdir/t.coerce | 4 +
external/historical/nawk/dist/testdir/t.coerce2 | 7 +
external/historical/nawk/dist/testdir/t.comment | 5 +
external/historical/nawk/dist/testdir/t.comment1 | 7 +
external/historical/nawk/dist/testdir/t.concat | 1 +
external/historical/nawk/dist/testdir/t.cond | 3 +
external/historical/nawk/dist/testdir/t.contin | 9 +
external/historical/nawk/dist/testdir/t.count | 1 +
external/historical/nawk/dist/testdir/t.crlf | 4 +
external/historical/nawk/dist/testdir/t.cum | 4 +
external/historical/nawk/dist/testdir/t.d.x | 2 +
external/historical/nawk/dist/testdir/t.delete0 | 11 +
external/historical/nawk/dist/testdir/t.delete1 | 7 +
external/historical/nawk/dist/testdir/t.delete2 | 12 +
external/historical/nawk/dist/testdir/t.delete3 | 7 +
external/historical/nawk/dist/testdir/t.do | 14 +
external/historical/nawk/dist/testdir/t.e | 1 +
external/historical/nawk/dist/testdir/t.else | 3 +
external/historical/nawk/dist/testdir/t.exit | 2 +
external/historical/nawk/dist/testdir/t.exit1 | 15 +
external/historical/nawk/dist/testdir/t.f | 1 +
external/historical/nawk/dist/testdir/t.f.x | 1 +
external/historical/nawk/dist/testdir/t.f0 | 1 +
external/historical/nawk/dist/testdir/t.f1 | 1 +
external/historical/nawk/dist/testdir/t.f2 | 1 +
external/historical/nawk/dist/testdir/t.f3 | 1 +
external/historical/nawk/dist/testdir/t.f4 | 1 +
external/historical/nawk/dist/testdir/t.for | 3 +
external/historical/nawk/dist/testdir/t.for1 | 9 +
external/historical/nawk/dist/testdir/t.for2 | 7 +
external/historical/nawk/dist/testdir/t.for3 | 8 +
external/historical/nawk/dist/testdir/t.format4 | 9 +
external/historical/nawk/dist/testdir/t.fun | 3 +
external/historical/nawk/dist/testdir/t.fun0 | 2 +
external/historical/nawk/dist/testdir/t.fun1 | 2 +
external/historical/nawk/dist/testdir/t.fun2 | 10 +
external/historical/nawk/dist/testdir/t.fun3 | 3 +
external/historical/nawk/dist/testdir/t.fun4 | 9 +
external/historical/nawk/dist/testdir/t.fun5 | 9 +
external/historical/nawk/dist/testdir/t.getline1 | 10 +
external/historical/nawk/dist/testdir/t.getval | 6 +
external/historical/nawk/dist/testdir/t.gsub | 1 +
external/historical/nawk/dist/testdir/t.gsub1 | 1 +
external/historical/nawk/dist/testdir/t.gsub3 | 1 +
external/historical/nawk/dist/testdir/t.gsub4 | 4 +
external/historical/nawk/dist/testdir/t.i.x | 2 +
external/historical/nawk/dist/testdir/t.if | 1 +
external/historical/nawk/dist/testdir/t.in | 9 +
external/historical/nawk/dist/testdir/t.in1 | 7 +
external/historical/nawk/dist/testdir/t.in2 | 4 +
external/historical/nawk/dist/testdir/t.in3 | 7 +
external/historical/nawk/dist/testdir/t.incr | 2 +
external/historical/nawk/dist/testdir/t.incr2 | 8 +
external/historical/nawk/dist/testdir/t.incr3 | 5 +
external/historical/nawk/dist/testdir/t.index | 10 +
external/historical/nawk/dist/testdir/t.intest | 9 +
external/historical/nawk/dist/testdir/t.intest2 | 16 +
external/historical/nawk/dist/testdir/t.j.x | 2 +
external/historical/nawk/dist/testdir/t.longstr | 5 +
external/historical/nawk/dist/testdir/t.makef | 1 +
external/historical/nawk/dist/testdir/t.match | 1 +
external/historical/nawk/dist/testdir/t.match1 | 6 +
external/historical/nawk/dist/testdir/t.max | 2 +
external/historical/nawk/dist/testdir/t.mod | 1 +
external/historical/nawk/dist/testdir/t.monotone | 1 +
external/historical/nawk/dist/testdir/t.nameval | 7 +
external/historical/nawk/dist/testdir/t.next | 2 +
external/historical/nawk/dist/testdir/t.not | 4 +
external/historical/nawk/dist/testdir/t.null0 | 15 +
external/historical/nawk/dist/testdir/t.ofmt | 2 +
external/historical/nawk/dist/testdir/t.ofs | 2 +
external/historical/nawk/dist/testdir/t.ors | 2 +
external/historical/nawk/dist/testdir/t.pat | 4 +
external/historical/nawk/dist/testdir/t.pipe | 1 +
external/historical/nawk/dist/testdir/t.pp | 1 +
external/historical/nawk/dist/testdir/t.pp1 | 3 +
external/historical/nawk/dist/testdir/t.pp2 | 3 +
external/historical/nawk/dist/testdir/t.printf | 5 +
external/historical/nawk/dist/testdir/t.printf2 | 6 +
external/historical/nawk/dist/testdir/t.quote | 1 +
external/historical/nawk/dist/testdir/t.randk | 13 +
external/historical/nawk/dist/testdir/t.re1 | 2 +
external/historical/nawk/dist/testdir/t.re1a | 6 +
external/historical/nawk/dist/testdir/t.re2 | 2 +
external/historical/nawk/dist/testdir/t.re3 | 6 +
external/historical/nawk/dist/testdir/t.re4 | 10 +
external/historical/nawk/dist/testdir/t.re5 | 3 +
external/historical/nawk/dist/testdir/t.re7 | 1 +
external/historical/nawk/dist/testdir/t.reFS | 2 +
external/historical/nawk/dist/testdir/t.rec | 1 +
external/historical/nawk/dist/testdir/t.redir1 | 2 +
external/historical/nawk/dist/testdir/t.reg | 4 +
external/historical/nawk/dist/testdir/t.roff | 23 +
external/historical/nawk/dist/testdir/t.sep | 2 +
external/historical/nawk/dist/testdir/t.seqno | 1 +
external/historical/nawk/dist/testdir/t.set0 | 3 +
external/historical/nawk/dist/testdir/t.set0a | 1 +
external/historical/nawk/dist/testdir/t.set0b | 3 +
external/historical/nawk/dist/testdir/t.set1 | 3 +
external/historical/nawk/dist/testdir/t.set2 | 4 +
external/historical/nawk/dist/testdir/t.set3 | 1 +
external/historical/nawk/dist/testdir/t.split1 | 2 +
external/historical/nawk/dist/testdir/t.split2 | 1 +
external/historical/nawk/dist/testdir/t.split2a | 4 +
external/historical/nawk/dist/testdir/t.split3 | 4 +
external/historical/nawk/dist/testdir/t.split4 | 4 +
external/historical/nawk/dist/testdir/t.split8 | 9 +
external/historical/nawk/dist/testdir/t.split9 | 8 +
external/historical/nawk/dist/testdir/t.split9a | 9 +
external/historical/nawk/dist/testdir/t.stately | 1 +
external/historical/nawk/dist/testdir/t.strcmp | 1 +
external/historical/nawk/dist/testdir/t.strcmp1 | 1 +
external/historical/nawk/dist/testdir/t.strnum | 1 +
external/historical/nawk/dist/testdir/t.sub0 | 18 +
external/historical/nawk/dist/testdir/t.sub1 | 1 +
external/historical/nawk/dist/testdir/t.sub2 | 2 +
external/historical/nawk/dist/testdir/t.sub3 | 1 +
external/historical/nawk/dist/testdir/t.substr | 3 +
external/historical/nawk/dist/testdir/t.substr1 | 1 +
external/historical/nawk/dist/testdir/t.time | 18 +
external/historical/nawk/dist/testdir/t.vf | 3 +
external/historical/nawk/dist/testdir/t.vf1 | 7 +
external/historical/nawk/dist/testdir/t.vf2 | 1 +
external/historical/nawk/dist/testdir/t.vf3 | 2 +
external/historical/nawk/dist/testdir/t.x | 1 +
external/historical/nawk/dist/testdir/td.1 | 1397 +
external/historical/nawk/dist/testdir/test.countries | 10 +
external/historical/nawk/dist/testdir/test.data | 199 +
external/historical/nawk/dist/testdir/time.c | 31 +
external/historical/nawk/dist/testdir/try | 10 +
external/historical/nawk/dist/testdir/tt.01 | 1 +
external/historical/nawk/dist/testdir/tt.02 | 1 +
external/historical/nawk/dist/testdir/tt.02a | 1 +
external/historical/nawk/dist/testdir/tt.03 | 2 +
external/historical/nawk/dist/testdir/tt.03a | 2 +
external/historical/nawk/dist/testdir/tt.04 | 3 +
external/historical/nawk/dist/testdir/tt.05 | 6 +
external/historical/nawk/dist/testdir/tt.06 | 7 +
external/historical/nawk/dist/testdir/tt.07 | 1 +
external/historical/nawk/dist/testdir/tt.08 | 1 +
external/historical/nawk/dist/testdir/tt.09 | 1 +
external/historical/nawk/dist/testdir/tt.10 | 1 +
external/historical/nawk/dist/testdir/tt.10a | 2 +
external/historical/nawk/dist/testdir/tt.11 | 1 +
external/historical/nawk/dist/testdir/tt.12 | 1 +
external/historical/nawk/dist/testdir/tt.13 | 5 +
external/historical/nawk/dist/testdir/tt.13a | 5 +
external/historical/nawk/dist/testdir/tt.14 | 7 +
external/historical/nawk/dist/testdir/tt.15 | 33 +
external/historical/nawk/dist/testdir/tt.16 | 6 +
external/historical/nawk/dist/testdir/tt.big | 51 +
external/historical/nawk/dist/testdir/u.main | 9 +
external/historical/nawk/dist/testdir/unbundle.awk | 4 +
external/historical/nawk/dist/testdir/xc | 17 +
external/historical/nawk/dist/testdir/yc | 17 +
external/historical/nawk/dist/ytab.h | 265 +-
372 files changed, 72677 insertions(+), 96 deletions(-)
diffs (truncated from 74266 to 300 lines):
diff -r 6efc026ea03a -r d2265ee2b0ad external/historical/nawk/dist/ChangeLog
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/historical/nawk/dist/ChangeLog Tue Feb 18 20:50:46 2020 +0000
@@ -0,0 +1,341 @@
+2020-01-20 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * run.c (openfile): Set the close-on-exec flag for file
+ and pipe redirections that aren't stdin/stdout/stderr.
+
+2020-01-06 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ Minor fixes.
+ * b.c (replace_repeat): Turn init_q back into an int.
+ * lex.c (string): Use \a instead of \007.
+ * tran.c (catstr): Use snprintf instead of sprintf.
+
+2020-01-01 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * tran.c (syminit, arginit, envinit): Free sval member before
+ setting it. Thanks to valgrind.
+ * b.c: Small formatting cleanups in several routines.
+
+2019-12-27 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * b.c (replace_repeat): Fix a bug whereby a{0,3} could match
+ four a's. Thanks to Anonymous AWK fan <awkfan77%mailfence.com@localhost>
+ for the report. Also, minor code formatting cleanups.
+ * testdir/T.int-expr: New file.
+
+2019-12-11 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * README: Renamed to ...
+ * README.md: ... this. Cleaned up some as well,
+ including moving to Markdown.
+
+2019-11-08 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * test/T.chem: Use $oldawk instead of hardwiring 'awk'.
+ * test/T.lilly: Remove gawk warnings from output, improves
+ portability.
+
+2019-10-17 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ Pull in systime() and strftime() from the NetBSD awk.
+
+ * awk.1: Document the functions.
+ * run.c (bltin): Implement the functions.
+ * awk.h: Add defines for systime and strftime.
+ * lex.c: Add support for systime and strftime.
+
+2019-10-07 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ Integrate features from different *BSD versions of awk.
+ Gensub support from NetBSD. Bitwise functions from OpenBSD.
+
+ * awk.h: Add defines for and, or, xor, compl, lshift and rshift.
+ * awkgram.y: Add support for gensub.
+ * maketab.c: Ditto.
+ * lex.c: Add support for gensub and bitwise functions.
+ * parse.c (node5, op5): New functions.
+ * proto.h (node5, op5): New declarations.
+ * run.c (bltin): Implement the bitwise functions.
+ (gensub): New function.
+ * awk.1: Document additional functions.
+
+2019-10-07 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * b.c (fnematch): Change type of pbuf from unsigned char to char.
+ * proto.h (fnematch): Ditto.
+
+2019-10-06 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * lib.c (readrec): Allow RS a regular expression. Imported
+ the code from the NetBSD awk.
+ * b.c (fnematch): New function for implementing the feature.
+ * awk.1: Updated.
+ * main.c (version): Updated.
+
+2019-06-24 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * makefile: Revise to take into account there is no more awktest.tar,
+ add targets 'check' and 'test', and also 'testclean' to clean up
+ after test run. Have 'clean' and 'cleaner' depend upon 'testclean'.
+
+2019-06-23 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * testdir: Extracted from awktest.tar and added to Git.
+ * awktest.tar: Removed.
+
+2019-06-06 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * awk.1: Fix a typo, minor edits.
+
+2019-06-05 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * b.c (relex): Count parentheses and treat umatched right paren
+ as a literal character.
+ * awktest.tar (testdir/T.re): Added a test case.
+ * main.c (version): Updated.
+
+2019-05-29 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * lib.c (isclvar): Remove check for additional '=' after
+ first one. No longer needed.
+
+2019-01-26 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * main.c (version): Updated.
+
+2019-01-25 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * run.c (awkgetline): Check for numeric value in all getline
+ variants. See the numeric-getline.* files in bugs-fixed directory.
+
+2018-08-29 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * REGRESS: Check for existence of a.out. If not there, run
+ make. Enable core dumps for T.arnold system status test
+ to work on MacOS X.
+
+2018-08-22 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * awktest.tar (testdir/T.expr): Fix test for unary plus.
+
+2018-08-22 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * REGRESS: Extract tests if necessary, set PATH to include '.'.
+ * regdir/beebe.tar (Makefile): Fix longwrds test to prefix
+ sort with LC_ALL=C.
+ * awktest.tar: Updated from fixed test suite, directory
+ it extracts is now called 'testdir' to match what's in top-level
+ REGRESS script.
+ * regdir: Removed, as Brian wants to keep the test suite in
+ the tar file.
+
+2018-08-22 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * FIXES, lib.c, run.c, makefile, main.c: Merge from Brian's tree.
+ * REGRESS: New file, from Brian.
+ * awktest.tar: Restored from Brian's tree.
+
+2018-08-22 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * awkgram.y (UPLUS): New token. In the grammar, call op1()
+ with it.
+ * maketab.c (proc): Add entry for UPLUS.
+ * run.c (arith): Handle UPLUS.
+ * main.c (version): Updated.
+ * bugs-fixed/unary-plus.awk, bugs-fixed/unary-plus.bad,
+ bugs-fixed/unary-plus.ok: New files.
+
+2018-08-10 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * TODO: Updated.
+ * awk.1: Improve use of macros, add some additional explanation
+ in a few places, alphabetize list of variables.
+
+2018-08-08 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * awk.h (Cell): Add new field `fmt' to track xFMT value used
+ for a string conversion.
+ [CONVC, CONVO]: New flag macros.
+ * bugs-fixed/README: Updated.
+ * bugs-fixed/string-conv.awk, bugs-fixed/string-conv.bad,
+ bugs-fixed/string-conv.ok: New files.
+ * main.c (version): Updated.
+ * proto.h (flags2str): Add declaration.
+ * tran.c (setfval): Clear CONVC and CONVO flags and set vp->fmt
+ to NULL.
+ (setsval): Ditto. Add large comment and new code to manage
+ correct conversion of number to string based on various flags
+ and the value of vp->fmt. The idea is to not convert again
+ if xFMT is the same as before and we're doing the same conversion.
+ Otherwise, clear the old flags, set the new, and reconvert.
+ (flags2str): New function. For debug prints and for use from a debugger.
+
+2018-08-05 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ Fix filename conflicts in regdir where the only difference was
+ in letter case. This caused problems on Windows systems.
+
+ * regdir/Compare.T1: Renamed from regdir/Compare.T.
+ * regdir/t.delete0: Renamed from regdir/t.delete.
+ * regdir/t.getline1: Renamed from regdir/t.getline.
+ * regdir/t.redir1: Renamed from regdir/t.redir.
+ * regdir/t.split1: Renamed from regdir/t.split.
+ * regdir/t.sub0: Renamed from regdir/t.sub.
+ * regdir/REGRESS: Adjusted.
+
+2018-08-04 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ With scalpel, tweasers, magnifying glass and bated breath,
+ borrow code from the NetBSD version of nawk to fix the years-old
+ bug whereby decrementing the value of NF did not change the
+ record.
+
+ * lib.c (fldbld): Set donerec to 1 when done.
+ (setlastfld): New function.
+ * proto.h (setlastfld): Add declaration.
+ * run.c (copycell): Make code smarter about flags (from NetBSD code).
+ * tran.c (setfree): New function.
+ * tran.c (setfval): Normalize negative zero to positive zero.
+ If setting NF, clear donerec and call setlastfld().
+ (setsval): Remove call to save_old_OFS(). If setting OFS, call
+ recbld(). If setting NF, clear donerec and call setlastfld().
+
+ As part of the process, revert OFS-related changes of 2018-05-22:
+
+ * awk.h (saveOFS, saveOFSlen, save_old_OFS): Remove declarations.
+ * lib.c (recbld): Use *OFS instead of saveOFS.
+ * run.c (saveOFS, saveOFSlen, save_old_OFS): Remove.
+ * tran.c (syminit): Remove initialization of saveOFS and saveOFSlen.
+
+ General stuff that goes along with all this:
+
+ * bugs-fixed/README: Updated.
+ * bugs-fixed/decr-NF.awk, bugs-fixed/decr-NF.bad,
+ bugs-fixed/decr-NF.ok: New files.
+ * main.c (version): Updated.
+ * regdir/README.TESTS: Fix awk book title.
+ * regdir/T.misc: Revise test to match fixed code.
+ * run.c (format): Increase size of buffer used for %a test. (Unrelated
+ to NF or OFS, but fixes a compiler complaint.)
+
+2018-06-07 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * regdir/beebe.tar: Fix longwrds.ok so that the test will pass.
+ The file was incorrectly sorted.
+
+2018-06-06 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * regdir/T.lilly: Fix the bug again in the second instance
+ of the code. Thanks to BWK for pointing this out.
+
+2018-05-31 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * regdir/T.lilly: Fix a syntax error and ordering bug
+ in creating the 'foo' file.
+
+2018-05-23 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * awk.1: Remove standalone 'awk' at the top of file, it messed up
+ the formatting. Arrange built-in variable list in alphabetical
+ order.
+
+2018-05-23 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * main.c (version): Add my email address and a date so that
+ users can tell this isn't straight BWK awk.
+ * README.md: Minor updates.
+ * TODO: Updated.
+
+2018-05-22 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ Add POSIX-required formats %a and %A.
+
+ * run.c (format): Check for %a support in C library. If there,
+ allow %a and %A as valid formats.
+ * TODO: Updated.
+ * bugs-fixed/README: Updated.
+ * bugs-fixed/a-format.awk, bugs-fixed/a-format.bad,
+ bugs-fixed/a-format.ok: New files.
+
+2018-05-22 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * FIXES: Restored a line from a much earlier version that
+ apparently got lost when the dates were reordered.
+ * TODO: Updated.
+
+2018-05-22 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * README.md: New file.
+
+2018-05-22 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * regdir/echo.c, regdir/time.c: Minor fixes to compile without
+ warning on current GCC / Linux.
+
+2018-05-22 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * TODO: New file.
+
+2018-05-22 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ * makefile (gitadd, gitpush): Remove these targets. They
+ should not be automated and were incorrect for things that
+ would be done regularly.
+
+2018-05-22 Arnold D. Robbins <arnold%skeeve.com@localhost>
+
+ Fix nawk so that [[:blank:]] only matches space and tab instead
+ of any whitespace character, originally made May 10, 2018.
+ See bugs-fixed/space.awk.
+
+ This appears to have been a thinko on Brian's part.
+
+ * b.c (charclasses): Use xisblank() function for [[:blank:]].
+ * bugs-fixed/README: Updated.
+ * bugs-fixed/space.awk, bugs-fixed/space.bad,
+ bugs-fixed/space.ok: New files.
Home |
Main Index |
Thread Index |
Old Index