CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Mon Nov 2 22:58:51 UTC 2020 Modified Files: src/external/historical/nawk/dist: tran.c Log Message: >From wajap at github: - eat whitespace in infnan checks - set fval to 0 if we are not a floating point number To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/historical/nawk/dist/tran.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: riastradh Date: Wed Sep 2 18:09:04 UTC 2020 Modified Files: src/external/historical/nawk/dist: run.c Log Message: Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/historical/nawk/dist/run.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Tue Sep 1 00:35:30 UTC 2020 Modified Files: src/external/historical/nawk/dist: tran.c Log Message: eat the sign, pointed out by uwe@ To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/historical/nawk/dist/tran.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Tue Sep 1 00:21:02 UTC 2020 Modified Files: src/external/historical/nawk/dist: tran.c Log Message: check explicitly for inf and nan. We can't check if it is a number, because awk parses 1a as 1... To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/external/historical/nawk/dist/tran.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Mon Aug 31 23:37:55 UTC 2020 Modified Files: src/external/historical/nawk/dist: lib.c proto.h run.c Log Message: Add a check_number function that does what is repeated in many places in the code, but better. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/external/historical/nawk/dist/lib.c \ src/external/historical/nawk/dist/run.c cvs rdiff -u -r1.11 -r1.12 src/external/historical/nawk/dist/proto.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Mon Aug 31 23:36:58 UTC 2020 Modified Files: src/external/historical/nawk/dist: tran.c Log Message: Don't try so hard to convert strings into numbers. Results in bogus conversions like: % awk 'BEGIN { print "nanotime" + 123 }' nan % awk 'BEGIN { print "microtime" + 123 }' 123 % awk 'BEGIN { print "inftime" + 123 }' inf To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/historical/nawk/dist/tran.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: ad Date: Fri Apr 17 22:35:18 UTC 2020 Modified Files: src/external/historical/nawk/dist: lib.c Log Message: Now that inputFS is dynamically allocated, make sure it's always non-NULL. Fixes core dumps when building CDE. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/historical/nawk/dist/lib.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Thu Feb 20 19:59:12 UTC 2020 Modified Files: src/external/historical/nawk/dist: lex.c lib.c main.c proto.h run.c Log Message: Fix failing unittests (by restoring old changes). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/historical/nawk/dist/lex.c cvs rdiff -u -r1.10 -r1.11 src/external/historical/nawk/dist/lib.c \ src/external/historical/nawk/dist/main.c \ src/external/historical/nawk/dist/proto.h cvs rdiff -u -r1.11 -r1.12 src/external/historical/nawk/dist/run.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Tue Feb 18 21:29:31 UTC 2020 Modified Files: src/external/historical/nawk/dist: maketab.c Log Message: use the correct header name. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/historical/nawk/dist/maketab.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Tue Feb 18 21:29:39 UTC 2020 Modified Files: src/external/historical/nawk/dist: proctab.c Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/historical/nawk/dist/proctab.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Sat Jan 19 00:37:42 UTC 2019 Modified Files: src/external/historical/nawk/dist: b.c Log Message: PR/53885: Martijn Dekker: Add ERE support from https://opensource.apple.com/tarballs/awk/awk-24.tar.gz To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/historical/nawk/dist/b.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: kamil Date: Tue Jun 12 13:24:28 UTC 2018 Modified Files: src/external/historical/nawk/dist: lex.c Log Message: Do not use index out of bounds in nawk $ awk '{w=$1}' < /dev/null /public/src.git/external/historical/nawk/bin/../dist/lex.c:476:16: runtime error: index -1 out of bounds for type 'const Keyword [46]' There used to be documented a bug in the code that index ouf of bounds can in theory fault (by daniel barrett). Before assigning the pointer, first check for the index whether it's not not -1. This was a suggested solution in the comment in the code. The sanitizer is overcautious as this pointer wasn't dereferenced, but fix is nonetheless. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/historical/nawk/dist/lex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Fri Sep 1 07:01:06 UTC 2017 Modified Files: src/external/historical/nawk/dist: lex.c Log Message: PR/52516: Guy Incognito: Fix memory leak; setsymtab already calls tostring() for the buffer, don't do it twice. XXX: pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/historical/nawk/dist/lex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: shm Date: Tue Nov 3 14:15:08 UTC 2015 Modified Files: src/external/historical/nawk/dist: run.c Log Message: PR/50199 - fix for strftime called with empty string. Patch written by Juho Salminen To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/historical/nawk/dist/run.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Sun Dec 15 06:41:18 UTC 2013 Modified Files: src/external/historical/nawk/dist: run.c Log Message: PR/48448: David A. Holland: Avoid coredump by checking return code of localtime(3) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/historical/nawk/dist/run.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: mlelstv Date: Sun Oct 27 10:06:01 UTC 2013 Modified Files: src/external/historical/nawk/dist: run.c Log Message: Fix memory leak in gensub() To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/historical/nawk/dist/run.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Sun Oct 20 21:35:46 UTC 2013 Modified Files: src/external/historical/nawk/dist: lib.c Log Message: remove unused variable To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/historical/nawk/dist/lib.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Mon Feb 11 00:32:08 UTC 2013 Modified Files: src/external/historical/nawk/dist: tran.c Log Message: PR/47553: Aleksev Cheusov: awk segfault: NULL dereference. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/historical/nawk/dist/tran.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Wed Jan 2 13:46:17 UTC 2013 Modified Files: src/external/historical/nawk/dist: b.c Log Message: we define HAS_ISBLANK in the Makefile To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/historical/nawk/dist/b.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Sat Dec 29 14:51:41 UTC 2012 Modified Files: src/external/historical/nawk/dist: lib.c Log Message: remove useless cast. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/historical/nawk/dist/lib.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Sat Dec 29 02:44:26 UTC 2012 Modified Files: src/external/historical/nawk/dist: awkgram.y b.c lib.c main.c makefile proctab.c proto.h run.c tran.c Log Message: merge 2012-12-20 To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/historical/nawk/dist/awkgram.y \ src/external/historical/nawk/dist/b.c \ src/external/historical/nawk/dist/proctab.c cvs rdiff -u -r1.5 -r1.6 src/external/historical/nawk/dist/lib.c \ src/external/historical/nawk/dist/run.c cvs rdiff -u -r1.7 -r1.8 src/external/historical/nawk/dist/main.c cvs rdiff -u -r1.2 -r1.3 src/external/historical/nawk/dist/makefile cvs rdiff -u -r1.6 -r1.7 src/external/historical/nawk/dist/proto.h \ src/external/historical/nawk/dist/tran.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Sat Dec 29 02:14:53 UTC 2012 Update of /cvsroot/src/external/historical/nawk/dist In directory ivanova.netbsd.org:/tmp/cvs-serv29526 Log Message: from http://www.cs.princeton.edu/~bwk/btl.mirror/ Status: Vendor Tag: NAWK Release Tags: NAWK20121220 C src/external/historical/nawk/dist/awkgram.y U src/external/historical/nawk/dist/README U src/external/historical/nawk/dist/FIXES U src/external/historical/nawk/dist/awk.h N src/external/historical/nawk/dist/ytab.c N src/external/historical/nawk/dist/ytab.h C src/external/historical/nawk/dist/proto.h U src/external/historical/nawk/dist/maketab.c C src/external/historical/nawk/dist/lex.c C src/external/historical/nawk/dist/b.c C src/external/historical/nawk/dist/main.c C src/external/historical/nawk/dist/proctab.c U src/external/historical/nawk/dist/parse.c C src/external/historical/nawk/dist/lib.c C src/external/historical/nawk/dist/run.c C src/external/historical/nawk/dist/tran.c C src/external/historical/nawk/dist/makefile U src/external/historical/nawk/dist/awk.1 10 conflicts created by this import. Use the following command to help the merge: cvs checkout -jNAWK:yesterday -jNAWK src/external/historical/nawk/dist
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Mon Dec 10 19:49:05 UTC 2012 Modified Files: src/external/historical/nawk/dist: tran.c Log Message: PR/47306: Aleksey Cheusov: Don't free strings of symbols where we maintain pointers to. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/historical/nawk/dist/tran.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Mon Mar 12 18:17:12 UTC 2012 Modified Files: src/external/historical/nawk/dist: main.c Log Message: don't switch back LC_NUMERIC after parsing the command line, we always want to format numbers in the C locale. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/historical/nawk/dist/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Sat Mar 10 19:18:48 UTC 2012 Modified Files: src/external/historical/nawk/dist: b.c lib.c proto.h run.c Log Message: PR/46155: Miguel Pi�eiro Jr: Fix RS processing. Apply the gawk-like patch from the excellent PR. Many thanks for all the work you put on this, explanation, tests, and patch! To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/historical/nawk/dist/b.c cvs rdiff -u -r1.4 -r1.5 src/external/historical/nawk/dist/lib.c \ src/external/historical/nawk/dist/run.c cvs rdiff -u -r1.5 -r1.6 src/external/historical/nawk/dist/proto.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Tue Nov 22 22:30:22 UTC 2011 Modified Files: src/external/historical/nawk/dist: run.c Log Message: - make decimal conversions use the maximum width integers available on the architecture. - make signed and unsigned code consistent. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/historical/nawk/dist/run.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: joerg Date: Fri Sep 16 16:09:47 UTC 2011 Modified Files: src/external/historical/nawk/dist: main.c proto.h Log Message: Use __dead To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/historical/nawk/dist/main.c cvs rdiff -u -r1.4 -r1.5 src/external/historical/nawk/dist/proto.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Sat May 28 15:13:04 UTC 2011 Modified Files: src/external/historical/nawk/dist: awkgram.y proto.h tran.c Log Message: Handle string concatenation in terms: '{ print "foo" > "file" ".txt"; }', To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/historical/nawk/dist/awkgram.y cvs rdiff -u -r1.3 -r1.4 src/external/historical/nawk/dist/proto.h cvs rdiff -u -r1.4 -r1.5 src/external/historical/nawk/dist/tran.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Mon Apr 18 15:23:28 UTC 2011 Modified Files: src/external/historical/nawk/dist: main.c run.c Log Message: PR/44876: Aleksey Cheusov: awk: incorrect return value of function srand() Make it return the value of the previous random seed as the standard mandates. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/historical/nawk/dist/main.c cvs rdiff -u -r1.2 -r1.3 src/external/historical/nawk/dist/run.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: drochner Date: Thu Jan 20 21:26:20 UTC 2011 Modified Files: src/external/historical/nawk/dist: tran.c Log Message: fix bug introduced in rev. 1.3: need to set the string before converting it into a numerical value, otherwise we might get junk or crash To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/historical/nawk/dist/tran.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: drochner Date: Thu Jan 20 21:23:11 UTC 2011 Modified Files: src/external/historical/nawk/dist: lib.c Log Message: avoid crash if certain operations are done before an input record is read, ie in a BEGIN rule To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/historical/nawk/dist/lib.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Sun Nov 7 22:55:27 UTC 2010 Modified Files: src/external/historical/nawk/dist: lib.c proto.h tran.c Log Message: PR/44063: Aleksey Cheusov: awk: setting NF doesn't change $i http://www.opengroup.org/onlinepubs/009695399/utilities/awk.html ... References to nonexistent fields (that is, fields after $NF), shall evaluate to the uninitialized value. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/historical/nawk/dist/lib.c \ src/external/historical/nawk/dist/proto.h \ src/external/historical/nawk/dist/tran.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Mon Oct 18 15:58:06 UTC 2010 Modified Files: src/external/historical/nawk/dist: main.c Log Message: remove the unused MAX_PFILE define from Aleksey Cheusov. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/historical/nawk/dist/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Sun Oct 17 22:12:23 UTC 2010 Modified Files: src/external/historical/nawk/dist: main.c Log Message: PR/43981: Aleksey Cheusov: awk too small limit on number -f options remove the limit should we pullup to 5.x? To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/historical/nawk/dist/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Fri Aug 27 16:49:48 UTC 2010 Modified Files: src/external/historical/nawk/dist: proctab.c Log Message: fix botched merge. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/historical/nawk/dist/proctab.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Thu Aug 26 14:55:20 UTC 2010 Modified Files: src/external/historical/nawk/dist: awk.h awkgram.y b.c lex.c lib.c main.c makefile maketab.c parse.c proctab.c proto.h run.c tran.c Log Message: Apply all our changes including newer fixes to WARNS?=4 To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/historical/nawk/dist/awk.h \ src/external/historical/nawk/dist/awkgram.y \ src/external/historical/nawk/dist/b.c \ src/external/historical/nawk/dist/lex.c \ src/external/historical/nawk/dist/lib.c \ src/external/historical/nawk/dist/main.c \ src/external/historical/nawk/dist/makefile \ src/external/historical/nawk/dist/maketab.c \ src/external/historical/nawk/dist/parse.c \ src/external/historical/nawk/dist/proctab.c \ src/external/historical/nawk/dist/proto.h \ src/external/historical/nawk/dist/run.c \ src/external/historical/nawk/dist/tran.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Thu Aug 26 14:53:18 UTC 2010 Update of /cvsroot/src/external/historical/nawk/dist In directory ivanova.netbsd.org:/tmp/cvs-serv10406 Log Message: imprort latest nawk Status: Vendor Tag: NAWK Release Tags: NAWK20100523 N src/external/historical/nawk/dist/awkgram.y N src/external/historical/nawk/dist/README N src/external/historical/nawk/dist/FIXES N src/external/historical/nawk/dist/awk.h N src/external/historical/nawk/dist/proto.h N src/external/historical/nawk/dist/maketab.c N src/external/historical/nawk/dist/lex.c N src/external/historical/nawk/dist/b.c N src/external/historical/nawk/dist/main.c N src/external/historical/nawk/dist/proctab.c N src/external/historical/nawk/dist/parse.c N src/external/historical/nawk/dist/lib.c N src/external/historical/nawk/dist/run.c N src/external/historical/nawk/dist/tran.c N src/external/historical/nawk/dist/makefile N src/external/historical/nawk/dist/awk.1 No conflicts created by this import