From owner-svn-src-vendor@FreeBSD.ORG Sat Jan 9 22:31:11 2010 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A302310656A5; Sat, 9 Jan 2010 22:31:11 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5E48FC1A; Sat, 9 Jan 2010 22:31:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o09MVBAf034525; Sat, 9 Jan 2010 22:31:11 GMT (envelope-from ru@svn.freebsd.org) Received: (from ru@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o09MVBoV034520; Sat, 9 Jan 2010 22:31:11 GMT (envelope-from ru@svn.freebsd.org) Message-Id: <201001092231.o09MVBoV034520@svn.freebsd.org> From: Ruslan Ermilov Date: Sat, 9 Jan 2010 22:31:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201936 - in vendor/one-true-awk: 20001115 20001115/contrib 20020101 20020101/contrib 20020210 20020210/contrib 20021129 20021129/contrib 20021213 20021213/contrib 20030314 20030314/con... X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 22:31:11 -0000 Author: ru Date: Sat Jan 9 22:31:11 2010 New Revision: 201936 URL: http://svn.freebsd.org/changeset/base/201936 Log: Flatten out vendor tree. Added: vendor/one-true-awk/20001115/FIXES - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/FIXES vendor/one-true-awk/20001115/README - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/README vendor/one-true-awk/20001115/awk.1 - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/awk.1 vendor/one-true-awk/20001115/awk.h - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/awk.h vendor/one-true-awk/20001115/awkgram.y - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/awkgram.y vendor/one-true-awk/20001115/b.c - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/b.c vendor/one-true-awk/20001115/buildwin.bat - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/buildwin.bat vendor/one-true-awk/20001115/lex.c - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/lex.c vendor/one-true-awk/20001115/lib.c - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/lib.c vendor/one-true-awk/20001115/mac.code - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/mac.code vendor/one-true-awk/20001115/main.c - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/main.c vendor/one-true-awk/20001115/makefile - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/makefile vendor/one-true-awk/20001115/maketab.c - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/maketab.c vendor/one-true-awk/20001115/parse.c - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/parse.c vendor/one-true-awk/20001115/proctab.c - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/proctab.c vendor/one-true-awk/20001115/proto.h - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/proto.h vendor/one-true-awk/20001115/run.c - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/run.c vendor/one-true-awk/20001115/tran.c - copied unchanged from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/tran.c vendor/one-true-awk/20020101/FIXES - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/FIXES vendor/one-true-awk/20020101/README - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/README vendor/one-true-awk/20020101/awk.1 - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/awk.1 vendor/one-true-awk/20020101/awk.h - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/awk.h vendor/one-true-awk/20020101/awkgram.y - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/awkgram.y vendor/one-true-awk/20020101/b.c - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/b.c vendor/one-true-awk/20020101/lex.c - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/lex.c vendor/one-true-awk/20020101/lib.c - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/lib.c vendor/one-true-awk/20020101/mac.code - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/mac.code vendor/one-true-awk/20020101/main.c - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/main.c vendor/one-true-awk/20020101/maketab.c - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/maketab.c vendor/one-true-awk/20020101/parse.c - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/parse.c vendor/one-true-awk/20020101/proctab.c - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/proctab.c vendor/one-true-awk/20020101/proto.h - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/proto.h vendor/one-true-awk/20020101/run.c - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/run.c vendor/one-true-awk/20020101/tran.c - copied unchanged from r201903, vendor/one-true-awk/20020101/contrib/one-true-awk/tran.c vendor/one-true-awk/20020210/FIXES - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/FIXES vendor/one-true-awk/20020210/README - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/README vendor/one-true-awk/20020210/awk.1 - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/awk.1 vendor/one-true-awk/20020210/awk.h - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/awk.h vendor/one-true-awk/20020210/awkgram.y - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/awkgram.y vendor/one-true-awk/20020210/b.c - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/b.c vendor/one-true-awk/20020210/lex.c - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/lex.c vendor/one-true-awk/20020210/lib.c - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/lib.c vendor/one-true-awk/20020210/mac.code - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/mac.code vendor/one-true-awk/20020210/main.c - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/main.c vendor/one-true-awk/20020210/makefile - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/makefile vendor/one-true-awk/20020210/maketab.c - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/maketab.c vendor/one-true-awk/20020210/parse.c - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/parse.c vendor/one-true-awk/20020210/proctab.c - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/proctab.c vendor/one-true-awk/20020210/proto.h - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/proto.h vendor/one-true-awk/20020210/run.c - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/run.c vendor/one-true-awk/20020210/tran.c - copied unchanged from r201903, vendor/one-true-awk/20020210/contrib/one-true-awk/tran.c vendor/one-true-awk/20021129/FIXES - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/FIXES vendor/one-true-awk/20021129/README - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/README vendor/one-true-awk/20021129/awk.1 - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/awk.1 vendor/one-true-awk/20021129/awk.h - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/awk.h vendor/one-true-awk/20021129/awkgram.y - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/awkgram.y vendor/one-true-awk/20021129/b.c - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/b.c vendor/one-true-awk/20021129/lex.c - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/lex.c vendor/one-true-awk/20021129/lib.c - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/lib.c vendor/one-true-awk/20021129/mac.code - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/mac.code vendor/one-true-awk/20021129/main.c - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/main.c vendor/one-true-awk/20021129/makefile - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/makefile vendor/one-true-awk/20021129/maketab.c - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/maketab.c vendor/one-true-awk/20021129/parse.c - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/parse.c vendor/one-true-awk/20021129/proctab.c - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/proctab.c vendor/one-true-awk/20021129/proto.h - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/proto.h vendor/one-true-awk/20021129/run.c - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/run.c vendor/one-true-awk/20021129/tran.c - copied unchanged from r201903, vendor/one-true-awk/20021129/contrib/one-true-awk/tran.c vendor/one-true-awk/20021213/FIXES - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/FIXES vendor/one-true-awk/20021213/README - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/README vendor/one-true-awk/20021213/awk.1 - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/awk.1 vendor/one-true-awk/20021213/awk.h - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/awk.h vendor/one-true-awk/20021213/awkgram.y - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/awkgram.y vendor/one-true-awk/20021213/b.c - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/b.c vendor/one-true-awk/20021213/lex.c - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/lex.c vendor/one-true-awk/20021213/lib.c - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/lib.c vendor/one-true-awk/20021213/mac.code - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/mac.code vendor/one-true-awk/20021213/main.c - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/main.c vendor/one-true-awk/20021213/makefile - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/makefile vendor/one-true-awk/20021213/maketab.c - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/maketab.c vendor/one-true-awk/20021213/parse.c - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/parse.c vendor/one-true-awk/20021213/proctab.c - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/proctab.c vendor/one-true-awk/20021213/proto.h - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/proto.h vendor/one-true-awk/20021213/run.c - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/run.c vendor/one-true-awk/20021213/tran.c - copied unchanged from r201903, vendor/one-true-awk/20021213/contrib/one-true-awk/tran.c vendor/one-true-awk/20030314/FIXES - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/FIXES vendor/one-true-awk/20030314/README - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/README vendor/one-true-awk/20030314/awk.1 - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/awk.1 vendor/one-true-awk/20030314/awk.h - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/awk.h vendor/one-true-awk/20030314/awkgram.y - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/awkgram.y vendor/one-true-awk/20030314/b.c - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/b.c vendor/one-true-awk/20030314/lex.c - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/lex.c vendor/one-true-awk/20030314/lib.c - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/lib.c vendor/one-true-awk/20030314/mac.code - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/mac.code vendor/one-true-awk/20030314/main.c - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/main.c vendor/one-true-awk/20030314/makefile - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/makefile vendor/one-true-awk/20030314/maketab.c - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/maketab.c vendor/one-true-awk/20030314/parse.c - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/parse.c vendor/one-true-awk/20030314/proctab.c - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/proctab.c vendor/one-true-awk/20030314/proto.h - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/proto.h vendor/one-true-awk/20030314/run.c - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/run.c vendor/one-true-awk/20030314/tran.c - copied unchanged from r201903, vendor/one-true-awk/20030314/contrib/one-true-awk/tran.c vendor/one-true-awk/20030729/FIXES - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/FIXES vendor/one-true-awk/20030729/README - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/README vendor/one-true-awk/20030729/awk.1 - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/awk.1 vendor/one-true-awk/20030729/awk.h - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/awk.h vendor/one-true-awk/20030729/awkgram.y - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/awkgram.y vendor/one-true-awk/20030729/b.c - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/b.c vendor/one-true-awk/20030729/lex.c - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/lex.c vendor/one-true-awk/20030729/lib.c - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/lib.c vendor/one-true-awk/20030729/mac.code - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/mac.code vendor/one-true-awk/20030729/main.c - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/main.c vendor/one-true-awk/20030729/makefile - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/makefile vendor/one-true-awk/20030729/maketab.c - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/maketab.c vendor/one-true-awk/20030729/parse.c - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/parse.c vendor/one-true-awk/20030729/proctab.c - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/proctab.c vendor/one-true-awk/20030729/proto.h - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/proto.h vendor/one-true-awk/20030729/run.c - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/run.c vendor/one-true-awk/20030729/tran.c - copied unchanged from r201903, vendor/one-true-awk/20030729/contrib/one-true-awk/tran.c vendor/one-true-awk/20030731/FIXES - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/FIXES vendor/one-true-awk/20030731/README - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/README vendor/one-true-awk/20030731/awk.1 - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/awk.1 vendor/one-true-awk/20030731/awk.h - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/awk.h vendor/one-true-awk/20030731/awkgram.y - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/awkgram.y vendor/one-true-awk/20030731/b.c - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/b.c vendor/one-true-awk/20030731/lex.c - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/lex.c vendor/one-true-awk/20030731/lib.c - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/lib.c vendor/one-true-awk/20030731/mac.code - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/mac.code vendor/one-true-awk/20030731/main.c - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/main.c vendor/one-true-awk/20030731/makefile - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/makefile vendor/one-true-awk/20030731/maketab.c - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/maketab.c vendor/one-true-awk/20030731/parse.c - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/parse.c vendor/one-true-awk/20030731/proctab.c - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/proctab.c vendor/one-true-awk/20030731/proto.h - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/proto.h vendor/one-true-awk/20030731/run.c - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/run.c vendor/one-true-awk/20030731/tran.c - copied unchanged from r201903, vendor/one-true-awk/20030731/contrib/one-true-awk/tran.c vendor/one-true-awk/20040207/FIXES - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/FIXES vendor/one-true-awk/20040207/README - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/README vendor/one-true-awk/20040207/awk.1 - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/awk.1 vendor/one-true-awk/20040207/awk.h - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/awk.h vendor/one-true-awk/20040207/awkgram.y - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/awkgram.y vendor/one-true-awk/20040207/b.c - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/b.c vendor/one-true-awk/20040207/lex.c - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/lex.c vendor/one-true-awk/20040207/lib.c - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/lib.c vendor/one-true-awk/20040207/mac.code - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/mac.code vendor/one-true-awk/20040207/main.c - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/main.c vendor/one-true-awk/20040207/makefile - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/makefile vendor/one-true-awk/20040207/maketab.c - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/maketab.c vendor/one-true-awk/20040207/parse.c - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/parse.c vendor/one-true-awk/20040207/proctab.c - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/proctab.c vendor/one-true-awk/20040207/proto.h - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/proto.h vendor/one-true-awk/20040207/run.c - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/run.c vendor/one-true-awk/20040207/tran.c - copied unchanged from r201903, vendor/one-true-awk/20040207/contrib/one-true-awk/tran.c vendor/one-true-awk/20050424/FIXES - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/FIXES vendor/one-true-awk/20050424/README - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/README vendor/one-true-awk/20050424/awk.1 - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/awk.1 vendor/one-true-awk/20050424/awk.h - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/awk.h vendor/one-true-awk/20050424/awkgram.y - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/awkgram.y vendor/one-true-awk/20050424/b.c - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/b.c vendor/one-true-awk/20050424/lex.c - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/lex.c vendor/one-true-awk/20050424/lib.c - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/lib.c vendor/one-true-awk/20050424/mac.code - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/mac.code vendor/one-true-awk/20050424/main.c - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/main.c vendor/one-true-awk/20050424/makefile - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/makefile vendor/one-true-awk/20050424/maketab.c - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/maketab.c vendor/one-true-awk/20050424/parse.c - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/parse.c vendor/one-true-awk/20050424/proctab.c - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/proctab.c vendor/one-true-awk/20050424/proto.h - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/proto.h vendor/one-true-awk/20050424/run.c - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/run.c vendor/one-true-awk/20050424/tran.c - copied unchanged from r201903, vendor/one-true-awk/20050424/contrib/one-true-awk/tran.c vendor/one-true-awk/20070501/FIXES - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/FIXES vendor/one-true-awk/20070501/README - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/README vendor/one-true-awk/20070501/awk.1 - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/awk.1 vendor/one-true-awk/20070501/awk.h - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/awk.h vendor/one-true-awk/20070501/awkgram.y - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/awkgram.y vendor/one-true-awk/20070501/b.c - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/b.c vendor/one-true-awk/20070501/lex.c - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/lex.c vendor/one-true-awk/20070501/lib.c - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/lib.c vendor/one-true-awk/20070501/mac.code - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/mac.code vendor/one-true-awk/20070501/main.c - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/main.c vendor/one-true-awk/20070501/makefile - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/makefile vendor/one-true-awk/20070501/maketab.c - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/maketab.c vendor/one-true-awk/20070501/parse.c - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/parse.c vendor/one-true-awk/20070501/proctab.c - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/proctab.c vendor/one-true-awk/20070501/proto.h - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/proto.h vendor/one-true-awk/20070501/run.c - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/run.c vendor/one-true-awk/20070501/tran.c - copied unchanged from r201903, vendor/one-true-awk/20070501/contrib/one-true-awk/tran.c vendor/one-true-awk/20071023/FIXES - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/FIXES vendor/one-true-awk/20071023/README - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/README vendor/one-true-awk/20071023/awk.1 - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/awk.1 vendor/one-true-awk/20071023/awk.h - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/awk.h vendor/one-true-awk/20071023/awkgram.y - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/awkgram.y vendor/one-true-awk/20071023/b.c - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/b.c vendor/one-true-awk/20071023/lex.c - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/lex.c vendor/one-true-awk/20071023/lib.c - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/lib.c vendor/one-true-awk/20071023/main.c - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/main.c vendor/one-true-awk/20071023/makefile - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/makefile vendor/one-true-awk/20071023/maketab.c - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/maketab.c vendor/one-true-awk/20071023/parse.c - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/parse.c vendor/one-true-awk/20071023/proctab.c - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/proctab.c vendor/one-true-awk/20071023/proto.h - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/proto.h vendor/one-true-awk/20071023/run.c - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/run.c vendor/one-true-awk/20071023/tran.c - copied unchanged from r201903, vendor/one-true-awk/20071023/contrib/one-true-awk/tran.c vendor/one-true-awk/dist/FIXES - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/FIXES vendor/one-true-awk/dist/README - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/README vendor/one-true-awk/dist/awk.1 - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/awk.1 vendor/one-true-awk/dist/awk.h - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/awk.h vendor/one-true-awk/dist/awkgram.y - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/awkgram.y vendor/one-true-awk/dist/b.c - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/b.c vendor/one-true-awk/dist/buildwin.bat - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/buildwin.bat vendor/one-true-awk/dist/lex.c - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/lex.c vendor/one-true-awk/dist/lib.c - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/lib.c vendor/one-true-awk/dist/mac.code - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/mac.code vendor/one-true-awk/dist/main.c - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/main.c vendor/one-true-awk/dist/makefile - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/makefile vendor/one-true-awk/dist/maketab.c - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/maketab.c vendor/one-true-awk/dist/parse.c - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/parse.c vendor/one-true-awk/dist/proctab.c - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/proctab.c vendor/one-true-awk/dist/proto.h - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/proto.h vendor/one-true-awk/dist/run.c - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/run.c vendor/one-true-awk/dist/tran.c - copied unchanged from r201903, vendor/one-true-awk/dist/contrib/one-true-awk/tran.c Deleted: vendor/one-true-awk/20001115/contrib/ vendor/one-true-awk/20020101/contrib/ vendor/one-true-awk/20020210/contrib/ vendor/one-true-awk/20021129/contrib/ vendor/one-true-awk/20021213/contrib/ vendor/one-true-awk/20030314/contrib/ vendor/one-true-awk/20030729/contrib/ vendor/one-true-awk/20030731/contrib/ vendor/one-true-awk/20040207/contrib/ vendor/one-true-awk/20050424/contrib/ vendor/one-true-awk/20070501/contrib/ vendor/one-true-awk/20071023/contrib/ vendor/one-true-awk/dist/contrib/ Copied: vendor/one-true-awk/20001115/FIXES (from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/FIXES) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/one-true-awk/20001115/FIXES Sat Jan 9 22:31:11 2010 (r201936, copy of r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/FIXES) @@ -0,0 +1,703 @@ +/**************************************************************** +Copyright (C) Lucent Technologies 1997 +All Rights Reserved + +Permission to use, copy, modify, and distribute this software and +its documentation for any purpose and without fee is hereby +granted, provided that the above copyright notice appear in all +copies and that both that the copyright notice and this +permission notice and warranty disclaimer appear in supporting +documentation, and that the name Lucent Technologies or any of +its entities not be used in advertising or publicity pertaining +to distribution of the software without specific, written prior +permission. + +LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. +IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER +IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. +****************************************************************/ + +This file lists all bug fixes, changes, etc., made since the AWK book +was sent to the printers in August, 1987. + +Nov 15, 2000: + fixed a bug introduced in august 1997 that caused expressions + like $f[1] to be syntax errors. thanks to arnold robbins for + noticing this and providing a fix. + +Oct 30, 2000: + fixed some nextfile bugs: not handling all cases. thanks to + arnold robbins for pointing this out. new regressions added. + + close() is now a function. it returns whatever the library + fclose returns, and -1 for closing a file or pipe that wasn't + opened. + +Sep 24, 2000: + permit \n explicitly in character classes; won't work right + if comes in as "[\n]" but ok as /[\n]/, because of multiple + processing of \'s. thanks to arnold robbins. + +July 5, 2000: + minor fiddles in tran.c to keep compilers happy about uschar. + thanks to norman wilson. + +May 25, 2000: + yet another attempt at making 8-bit input work, with another + band-aid in b.c (member()), and some (uschar) casts to head + off potential errors in subscripts (like isdigit). also + changed HAT to NCHARS-2. thanks again to santiago vila. + + changed maketab.c to ignore apparently out of range definitions + instead of halting; new freeBSD generates one. thanks to + jon snader for pointing out the problem. + +May 2, 2000: + fixed an 8-bit problem in b.c by making several char*'s into + unsigned char*'s. not clear i have them all yet. thanks to + Santiago Vila for the bug report. + +Apr 21, 2000: + finally found and fixed a memory leak in function call; it's + been there since functions were added ~1983. thanks to + jon bentley for the test case that found it. + + added test in envinit to catch environment "variables" with + names begining with '='; thanks to Berend Hasselman. + +Jul 28, 1999: + added test in defn() to catch function foo(foo), which + otherwise recurses until core dump. thanks to arnold + robbins for noticing this. + +Jun 20, 1999: + added *bp in gettok in lex.c; appears possible to exit function + without terminating the string. thanks to russ cox. + +Jun 2, 1999: + added function stdinit() to run to initialize files[] array, + in case stdin, etc., are not constants; some compilers care. + +May 10, 1999: + replaced the ERROR ... FATAL, etc., macros with functions + based on vprintf, to avoid problems caused by overrunning + fixed-size errbuf array. thanks to ralph corderoy for the + impetus, and for pointing out a string termination bug in + qstring as well. + +Apr 21, 1999: + fixed bug that caused occasional core dumps with commandline + variable with value ending in \. (thanks to nelson beebe for + the test case.) + +Apr 16, 1999: + with code kindly provided by Bruce Lilly, awk now parses + /=/ and similar constructs more sensibly in more places. + Bruce also provided some helpful test cases. + +Apr 5, 1999: + changed true/false to True/False in run.c to make it + easier to compile with C++. Added some casts on malloc + and realloc to be honest about casts; ditto. changed + ltype int to long in struct rrow to reduce some 64-bit + complaints; other changes scattered throughout for the + same purpose. thanks to Nelson Beebe for these portability + improvements. + + removed some horrible pointer-int casting in b.c and elsewhere + by adding ptoi and itonp to localize the casts, which are + all benign. fixed one incipient bug that showed up on sgi + in 64-bit mode. + + reset lineno for new source file; include filename in error + message. also fixed line number error in continuation lines. + (thanks to Nelson Beebe for both of these.) + +Mar 24, 1999: + Nelson Beebe notes that irix 5.3 yacc dies with a bogus + error; use a newer version or switch to bison, since sgi + is unlikely to fix it. + +Mar 5, 1999: + changed isnumber to is_number to avoid the problem caused by + versions of ctype.h that include the name isnumber. + + distribution now includes a script for building on a Mac, + thanks to Dan Allen. + +Feb 20, 1999: + fixed memory leaks in run.c (call) and tran.c (setfval). + thanks to Stephen Nutt for finding these and providing the fixes. + +Jan 13, 1999: + replaced srand argument by (unsigned int) in run.c; + avoids problem on Mac and potentially on Unix & Windows. + thanks to Dan Allen. + + added a few (int) casts to silence useless compiler warnings. + e.g., errorflag= in run.c jump(). + + added proctab.c to the bundle outout; one less thing + to have to compile out of the box. + + added calls to _popen and _pclose to the win95 stub for + pipes (thanks to Steve Adams for this helpful suggestion). + seems to work, though properties are not well understood + by me, and it appears that under some circumstances the + pipe output is truncated. Be careful. + +Oct 19, 1998: + fixed a couple of bugs in getrec: could fail to update $0 + after a getline var; because inputFS wasn't initialized, + could split $0 on every character, a misleading diversion. + + fixed caching bug in makedfa: LRU was actually removing + least often used. + + thanks to ross ridge for finding these, and for providing + great bug reports. + +May 12, 1998: + fixed potential bug in readrec: might fail to update record + pointer after growing. thanks to dan levy for spotting this + and suggesting the fix. + +Mar 12, 1998: + added -V to print version number and die. + +Feb 11, 1998: + subtle silent bug in lex.c: if the program ended with a number + longer than 1 digit, part of the input would be pushed back and + parsed again because token buffer wasn't terminated right. + example: awk 'length($0) > 10'. blush. at least i found it + myself. + +Aug 31, 1997: + s/adelete/awkdelete/: SGI uses this in malloc.h. + thanks to nelson beebe for pointing this one out. + +Aug 21, 1997: + fixed some bugs in sub and gsub when replacement includes \\. + this is a dark, horrible corner, but at least now i believe that + the behavior is the same as gawk and the intended posix standard. + thanks to arnold robbins for advice here. + +Aug 9, 1997: + somewhat regretfully, replaced the ancient lex-based lexical + analyzer with one written in C. it's longer, generates less code, + and more portable; the old one depended too much on mysterious + properties of lex that were not preserved in other environments. + in theory these recognize the same language. + + now using strtod to test whether a string is a number, instead of + the convoluted original function. should be more portable and + reliable if strtod is implemented right. + + removed now-pointless optimization in makefile that tries to avoid + recompilation when awkgram.y is changed but symbols are not. + + removed most fixed-size arrays, though a handful remain, some + of which are unchecked. you have been warned. + +Aug 4, 1997: + with some trepidation, replaced the ancient code that managed + fields and $0 in fixed-size arrays with arrays that grow on + demand. there is still some tension between trying to make this + run fast and making it clean; not sure it's right yet. + + the ill-conceived -mr and -mf arguments are now useful only + for debugging. previous dynamic string code removed. + + numerous other minor cleanups along the way. + +Jul 30, 1997: + using code provided by dan levy (to whom profuse thanks), replaced + fixed-size arrays and awkward kludges by a fairly uniform mechanism + to grow arrays as needed for printf, sub, gsub, etc. + +Jul 23, 1997: + falling off the end of a function returns "" and 0, not 0. + thanks to arnold robbins. + +Jun 17, 1997: + replaced several fixed-size arrays by dynamically-created ones + in run.c; added overflow tests to some previously unchecked cases. + getline, toupper, tolower. + + getline code is still broken in that recursive calls may wind + up using the same space. [fixed later] + + increased RECSIZE to 8192 to push problems further over the horizon. + + added \r to \n as input line separator for programs, not data. + damn CRLFs. + + modified format() to permit explicit printf("%c", 0) to include + a null byte in output. thanks to ken stailey for the fix. + + added a "-safe" argument that disables file output (print >, + print >>), process creation (cmd|getline, print |, system), and + access to the environment (ENVIRON). this is a first approximation + to a "safe" version of awk, but don't rely on it too much. thanks + to joan feigenbaum and matt blaze for the inspiration long ago. + +Jul 8, 1996: + fixed long-standing bug in sub, gsub(/a/, "\\\\&"); thanks to + ralph corderoy. + +Jun 29, 1996: + fixed awful bug in new field splitting; didn't get all the places + where input was done. + +Jun 28, 1996: + changed field-splitting to conform to posix definition: fields are + split using the value of FS at the time of input; it used to be + the value when the field or NF was first referred to, a much less + predictable definition. thanks to arnold robbins for encouragement + to do the right thing. + +May 28, 1996: + fixed appalling but apparently unimportant bug in parsing octal + numbers in reg exprs. + + explicit hex in reg exprs now limited to 2 chars: \xa, \xaa. + +May 27, 1996: + cleaned up some declarations so gcc -Wall is now almost silent. + + makefile now includes backup copies of ytab.c and lexyy.c in case + one makes before looking; it also avoids recreating lexyy.c unless + really needed. + + s/aprintf/awkprint, s/asprintf/awksprintf/ to avoid some name clashes + with unwisely-written header files. + + thanks to jeffrey friedl for several of these. + +May 26, 1996: + an attempt to rationalize the (unsigned) char issue. almost all + instances of unsigned char have been removed; the handful of places + in b.c where chars are used as table indices have been hand-crafted. + added some latin-1 tests to the regression, but i'm not confident; + none of my compilers seem to care much. thanks to nelson beebe for + pointing out some others that do care. + +May 2, 1996: + removed all register declarations. + + enhanced split(), as in gawk, etc: split(s, a, "") splits s into + a[1]...a[length(s)] with each character a single element. + + made the same changes for field-splitting if FS is "". + + added nextfile, as in gawk: causes immediate advance to next + input file. (thanks to arnold robbins for inspiration and code). + + small fixes to regexpr code: can now handle []], [[], and + variants; [] is now a syntax error, rather than matching + everything; [z-a] is now empty, not z. far from complete + or correct, however. (thanks to jeffrey friedl for pointing out + some awful behaviors.) + +Apr 29, 1996: + replaced uchar by uschar everwhere; apparently some compilers + usurp this name and this causes conflicts. + + fixed call to time in run.c (bltin); arg is time_t *. + + replaced horrible pointer/long punning in b.c by a legitimate + union. should be safer on 64-bit machines and cleaner everywhere. + (thanks to nelson beebe for pointing out some of these problems.) + + replaced nested comments by #if 0...#endif in run.c, lib.c. + + removed getsval, setsval, execute macros from run.c and lib.c. + machines are 100x faster than they were when these macros were + first used. + + revised filenames: awk.g.y => awkgram.y, awk.lx.l => awklex.l, + y.tab.[ch] => ytab.[ch], lex.yy.c => lexyy.c, all in the aid of + portability to nameless systems. + + "make bundle" now includes yacc and lex output files for recipients + who don't have yacc or lex. + +Aug 15, 1995: + initialized Cells in setsymtab more carefully; some fields + were not set. (thanks to purify, all of whose complaints i + think i now understand.) + + fixed at least one error in gsub that looked at -1-th element + of an array when substituting for a null match (e.g., $). + + delete arrayname is now legal; it clears the elements but leaves + the array, which may not be the right behavior. + + modified makefile: my current make can't cope with the test used + to avoid unnecessary yacc invocations. + +Jul 17, 1995: + added dynamically growing strings to awk.lx.l and b.c + to permit regular expressions to be much bigger. + the state arrays can still overflow. + +Aug 24, 1994: + detect duplicate arguments in function definitions (mdm). + +May 11, 1994: + trivial fix to printf to limit string size in sub(). + +Apr 22, 1994: + fixed yet another subtle self-assignment problem: + $1 = $2; $1 = $1 clobbered $1. + + Regression tests now use private echo, to avoid quoting problems. + +Feb 2, 1994: + changed error() to print line number as %d, not %g. + +Jul 23, 1993: + cosmetic changes: increased sizes of some arrays, + reworded some error messages. + + added CONVFMT as in posix (just replaced OFMT in getsval) + + FILENAME is now "" until the first thing that causes a file + to be opened. + +Nov 28, 1992: + deleted yyunput and yyoutput from proto.h; + different versions of lex give these different declarations. + +May 31, 1992: + added -mr N and -mf N options: more record and fields. + these really ought to adjust automatically. + + cleaned up some error messages; "out of space" now means + malloc returned NULL in all cases. + + changed rehash so that if it runs out, it just returns; + things will continue to run slow, but maybe a bit longer. + +Apr 24, 1992: + remove redundant close of stdin when using -f -. + + got rid of core dump with -d; awk -d just prints date. + +Apr 12, 1992: + added explicit check for /dev/std(in,out,err) in redirection. + unlike gawk, no /dev/fd/n yet. + + added (file/pipe) builtin. hard to test satisfactorily. + not posix. + +Feb 20, 1992: + recompile after abortive changes; should be unchanged. + +Dec 2, 1991: + die-casting time: converted to ansi C, installed that. + +Nov 30, 1991: + fixed storage leak in freefa, failing to recover [N]CCL. + thanks to Bill Jones (jones@cs.usask.ca) + +Nov 19, 1991: + use RAND_MAX instead of literal in builtin(). + +Nov 12, 1991: + cranked up some fixed-size arrays in b.c, and added a test for + overflow in penter. thanks to mark larsen. + +Sep 24, 1991: + increased buffer in gsub. a very crude fix to a general problem. + and again on Sep 26. + +Aug 18, 1991: + enforce variable name syntax for commandline variables: has to + start with letter or _. + +Jul 27, 1991: + allow newline after ; in for statements. + +Jul 21, 1991: + fixed so that in self-assignment like $1=$1, side effects + like recomputing $0 take place. (this is getting subtle.) + +Jun 30, 1991: + better test for detecting too-long output record. + +Jun 2, 1991: + better defense against very long printf strings. + made break and continue illegal outside of loops. + +May 13, 1991: + removed extra arg on gettemp, tempfree. minor error message rewording. + +May 6, 1991: + fixed silly bug in hex parsing in hexstr(). + removed an apparently unnecessary test in isnumber(). + warn about weird printf conversions. + fixed unchecked array overwrite in relex(). + + changed for (i in array) to access elements in sorted order. + then unchanged it -- it really does run slower in too many cases. + left the code in place, commented out. + +Feb 10, 1991: + check error status on all writes, to avoid banging on full disks. + +Jan 28, 1991: + awk -f - reads the program from stdin. + +Jan 11, 1991: + failed to set numeric state on $0 in cmd|getline context in run.c. + +Nov 2, 1990: + fixed sleazy test for integrality in getsval; use modf. + +Oct 29, 1990: + fixed sleazy buggy code in lib.c that looked (incorrectly) for + too long input lines. + +Oct 14, 1990: + fixed the bug on p. 198 in which it couldn't deduce that an + argument was an array in some contexts. replaced the error + message in intest() by code that damn well makes it an array. + +Oct 8, 1990: + fixed horrible bug: types and values were not preserved in + some kinds of self-assignment. (in assign().) + +Aug 24, 1990: + changed NCHARS to 256 to handle 8-bit characters in strings + presented to match(), etc. + +Jun 26, 1990: + changed struct rrow (awk.h) to use long instead of int for lval, + since cfoll() stores a pointer in it. now works better when int's + are smaller than pointers! + +May 6, 1990: + AVA fixed the grammar so that ! is uniformly of the same precedence as + unary + and -. This renders illegal some constructs like !x=y, which + now has to be parenthesized as !(x=y), and makes others work properly: + !x+y is (!x)+y, and x!y is x !y, not two pattern-action statements. + (These problems were pointed out by Bob Lenk of Posix.) + + Added \x to regular expressions (already in strings). + Limited octal to octal digits; \8 and \9 are not octal. + Centralized the code for parsing escapes in regular expressions. + Added a bunch of tests to T.re and T.sub to verify some of this. + +Feb 9, 1990: + fixed null pointer dereference bug in main.c: -F[nothing]. sigh. + + restored srand behavior: it returns the current seed. + +Jan 18, 1990: + srand now returns previous seed value (0 to start). + +Jan 5, 1990: + fix potential problem in tran.c -- something was freed, + then used in freesymtab. + +Oct 18, 1989: + another try to get the max number of open files set with + relatively machine-independent code. + + small fix to input() in case of multiple reads after EOF. + +Oct 11, 1989: + FILENAME is now defined in the BEGIN block -- too many old + programs broke. + + "-" means stdin in getline as well as on the commandline. + + added a bunch of casts to the code to tell the truth about + char * vs. unsigned char *, a right royal pain. added a + setlocale call to the front of main, though probably no one + has it usefully implemented yet. + +Aug 24, 1989: + removed redundant relational tests against nullnode if parse + tree already had a relational at that point. + +Aug 11, 1989: + fixed bug: commandline variable assignment has to look like + var=something. (consider the man page for =, in file =.1) + + changed number of arguments to functions to static arrays + to avoid repeated malloc calls. + +Aug 2, 1989: + restored -F (space) separator + +Jul 30, 1989: + added -v x=1 y=2 ... for immediate commandline variable assignment; + done before the BEGIN block for sure. they have to precede the + program if the program is on the commandline. + Modified Aug 2 to require a separate -v for each assignment. + +Jul 10, 1989: + fixed ref-thru-zero bug in environment code in tran.c + +Jun 23, 1989: + add newline to usage message. + +Jun 14, 1989: + added some missing ansi printf conversion letters: %i %X %E %G. + no sensible meaning for h or L, so they may not do what one expects. + + made %* conversions work. + + changed x^y so that if n is a positive integer, it's done + by explicit multiplication, thus achieving maximum accuracy. + (this should be done by pow() but it seems not to be locally.) + done to x ^= y as well. + +Jun 4, 1989: + ENVIRON array contains environment: if shell variable V=thing, + ENVIRON["V"] is "thing" + + multiple -f arguments permitted. error reporting is naive. + (they were permitted before, but only the last was used.) + + fixed a really stupid botch in the debugging macro dprintf + + fixed order of evaluation of commandline assignments to match + what the book claims: an argument of the form x=e is evaluated + at the time it would have been opened if it were a filename (p 63). + this invalidates the suggested answer to ex 4-1 (p 195). + + removed some code that permitted -F (space) fieldseparator, + since it didn't quite work right anyway. (restored aug 2) + +Apr 27, 1989: + Line number now accumulated correctly for comment lines. + +Apr 26, 1989: + Debugging output now includes a version date, + if one compiles it into the source each time. + +Apr 9, 1989: + Changed grammar to prohibit constants as 3rd arg of sub and gsub; + prevents class of overwriting-a-constant errors. (Last one?) + This invalidates the "banana" example on page 43 of the book. + + Added \a ("alert"), \v (vertical tab), \xhhh (hexadecimal), + as in ANSI, for strings. Rescinded the sloppiness that permitted + non-octal digits in \ooo. Warning: not all compilers and libraries + will be able to deal with \x correctly. + +Jan 9, 1989: + Fixed bug that caused tempcell list to contain a duplicate. + The fix is kludgy. + +Dec 17, 1988: + Catches some more commandline errors in main. + Removed redundant decl of modf in run.c (confuses some compilers). + Warning: there's no single declaration of malloc, etc., in awk.h + that seems to satisfy all compilers. + +Dec 7, 1988: + Added a bit of code to error printing to avoid printing nulls. + (Not clear that it actually would.) + +Nov 27, 1988: + With fear and trembling, modified the grammar to permit + multiple pattern-action statements on one line without + an explicit separator. By definition, this capitulation + to the ghost of ancient implementations remains undefined + and thus subject to change without notice or apology. + DO NOT COUNT ON IT. + +Oct 30, 1988: + Fixed bug in call() that failed to recover storage. + + A warning is now generated if there are more arguments + in the call than in the definition (in lieu of fixing + another storage leak). + +Oct 20, 1988: + Fixed %c: if expr is numeric, use numeric value; + otherwise print 1st char of string value. still + doesn't work if the value is 0 -- won't print \0. + + Added a few more checks for running out of malloc. + +Oct 12, 1988: + Fixed bug in call() that freed local arrays twice. + + Fixed to handle deletion of non-existent array right; + complains about attempt to delete non-array element. + +Sep 30, 1988: + Now guarantees to evaluate all arguments of built-in + functions, as in C; the appearance is that arguments + are evaluated before the function is called. Places + affected are sub (gsub was ok), substr, printf, and + all the built-in arithmetic functions in bltin(). + A warning is generated if a bltin() is called with + the wrong number of arguments. + + This requires changing makeprof on p167 of the book. + +Aug 23, 1988: + setting FILENAME in BEGIN caused core dump, apparently + because it was freeing space not allocated by malloc. + +July 24, 1988: + fixed egregious error in toupper/tolower functions. + still subject to rescinding, however. + +July 2, 1988: + flush stdout before opening file or pipe + +July 2, 1988: + performance bug in b.c/cgoto(): not freeing some sets of states. + partial fix only right now, and the number of states increased + to make it less obvious. + +June 1, 1988: + check error status on close + +May 28, 1988: + srand returns seed value it's using. + see 1/18/90 + +May 22, 1988: + Removed limit on depth of function calls. + +May 10, 1988: + Fixed lib.c to permit _ in commandline variable names. + +Mar 25, 1988: + main.c fixed to recognize -- as terminator of command- + line options. Illegal options flagged. + Error reporting slightly cleaned up. + +Dec 2, 1987: + Newer C compilers apply a strict scope rule to extern + declarations within functions. Two extern declarations in + lib.c and tran.c have been moved to obviate this problem. + +Oct xx, 1987: + Reluctantly added toupper and tolower functions. + Subject to rescinding without notice. + +Sep 17, 1987: + Error-message printer had printf(s) instead of + printf("%s",s); got core dumps when the message + included a %. + +Sep 12, 1987: + Very long printf strings caused core dump; + fixed aprintf, asprintf, format to catch them. + Can still get a core dump in printf itself. + + Copied: vendor/one-true-awk/20001115/README (from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/README) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/one-true-awk/20001115/README Sat Jan 9 22:31:11 2010 (r201936, copy of r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/README) @@ -0,0 +1,83 @@ +/**************************************************************** +Copyright (C) Lucent Technologies 1997 +All Rights Reserved + +Permission to use, copy, modify, and distribute this software and +its documentation for any purpose and without fee is hereby +granted, provided that the above copyright notice appear in all +copies and that both that the copyright notice and this +permission notice and warranty disclaimer appear in supporting +documentation, and that the name Lucent Technologies or any of +its entities not be used in advertising or publicity pertaining +to distribution of the software without specific, written prior +permission. + +LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. +IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER +IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. +****************************************************************/ + +This is the version of awk described in "The AWK Programming Language", +by Al Aho, Brian Kernighan, and Peter Weinberger +(Addison-Wesley, 1988, ISBN 0-201-07981-X). + +Changes, mostly bug fixes and occasional enhancements, are listed +in FIXES. If you distribute this code further, please please please +distribute FIXES with it. If you find errors, please report them +to bwk@bell-labs.com. Thanks. + +The program itself is created by + make +which should produce a sequence of messages roughly like this: + + yacc -d awkgram.y + +conflicts: 43 shift/reduce, 85 reduce/reduce + mv y.tab.c ytab.c + mv y.tab.h ytab.h + cc -O -c ytab.c + cc -O -c b.c + cc -O -c main.c + cc -O -c parse.c + cc -O maketab.c -o maketab + ./maketab >proctab.c + cc -O -c proctab.c + cc -O -c tran.c + cc -O -c lib.c + cc -O -c run.c + cc -O -c lex.c + cc -O ytab.o b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o -lm + +This produces an executable a.out; you will eventually want to +move this to some place like /usr/bin/awk. + +If your system is does not have yacc or bison (the GNU +equivalent), you must compile the pieces manually. We have +included yacc output in ytab.c and ytab.h, and backup copies in +case you overwrite them. We have also included a copy of +proctab.c so you do not need to run maketab. + +NOTE: This version uses ANSI C, as you should also. We have +compiled this without any changes using gcc -Wall and/or local C +compilers on a variety of systems, but new systems or compilers +may raise some new complaint; reports of difficulties are +welcome. + +This also compiles with Visual C++ on Windows 95 and Windows NT, +*if* you provide versions of popen and pclose. The file +missing95.c contains versions that can be used to get started +with, though the underlying support has mysterious properties, +the symptom of which can be truncated pipe output. Beware. + +This is also said to compile on Macintosh systems, using the +file "buildmac" provided by Dan Allen (danallen@microsoft.com), +to whom many thanks. Dan also provided buildwin.bat, a simple +script for compiling on NT if you prefer. + +The version of malloc that comes with some systems is sometimes +astonishly slow. If awk seems slow, you might try fixing that. Copied: vendor/one-true-awk/20001115/awk.1 (from r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/awk.1) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/one-true-awk/20001115/awk.1 Sat Jan 9 22:31:11 2010 (r201936, copy of r201903, vendor/one-true-awk/20001115/contrib/one-true-awk/awk.1) @@ -0,0 +1,529 @@ +.de EX +.nf +.ft CW +.. +.de EE +.br +.fi +.ft 1 +.. +awk +.TH AWK 1 +.CT 1 files prog_other +.SH NAME +awk \- pattern-directed scanning and processing language +.SH SYNOPSIS +.B awk +[ +.BI \-F +.I fs +] +[ +.BI \-v +.I var=value +] +[ +.I 'prog' +| +.BI \-f +.I progfile +] +[ +.I file ... +] +.SH DESCRIPTION +.I Awk +scans each input +.I file +for lines that match any of a set of patterns specified literally in +.IR prog +or in one or more files +specified as +.B \-f +.IR progfile . +With each pattern +there can be an associated action that will be performed +when a line of a +.I file +matches the pattern. +Each line is matched against the +pattern portion of every pattern-action statement; +the associated action is performed for each matched pattern. +The file name +.B \- +means the standard input. +Any +.IR file +of the form +.I var=value +is treated as an assignment, not a filename, +and is executed at the time it would have been opened if it were a filename. +The option +.B \-v +followed by +.I var=value +is an assignment to be done before +.I prog +is executed; +any number of +.B \-v +options may be present. +The +.B \-F +.IR fs +option defines the input field separator to be the regular expression +.IR fs. +.PP +An input line is normally made up of fields separated by white space, +or by regular expression +.BR FS . +The fields are denoted +.BR $1 , +.BR $2 , +\&..., while +.B $0 +refers to the entire line. +If +.BR FS +is null, the input line is split into one field per character. +.PP +A pattern-action statement has the form +.IP +.IB pattern " { " action " } +.PP +A missing +.BI { " action " } +means print the line; +a missing pattern always matches. +Pattern-action statements are separated by newlines or semicolons. +.PP +An action is a sequence of statements. +A statement can be one of the following: +.PP +.EX +.ta \w'\f(CWdelete array[expression]'u +.RS +.nf +.ft CW +if(\fI expression \fP)\fI statement \fP\fR[ \fPelse\fI statement \fP\fR]\fP +while(\fI expression \fP)\fI statement\fP +for(\fI expression \fP;\fI expression \fP;\fI expression \fP)\fI statement\fP +for(\fI var \fPin\fI array \fP)\fI statement\fP +do\fI statement \fPwhile(\fI expression \fP) +break +continue +{\fR [\fP\fI statement ... \fP\fR] \fP} +\fIexpression\fP #\fR commonly\fP\fI var = expression\fP +print\fR [ \fP\fIexpression-list \fP\fR] \fP\fR[ \fP>\fI expression \fP\fR]\fP +printf\fI format \fP\fR[ \fP,\fI expression-list \fP\fR] \fP\fR[ \fP>\fI expression \fP\fR]\fP +return\fR [ \fP\fIexpression \fP\fR]\fP +next #\fR skip remaining patterns on this input line\fP +nextfile #\fR skip rest of this file, open next, start at top\fP +delete\fI array\fP[\fI expression \fP] #\fR delete an array element\fP +delete\fI array\fP #\fR delete all elements of array\fP +exit\fR [ \fP\fIexpression \fP\fR]\fP #\fR exit immediately; status is \fP\fIexpression\fP +.fi +.RE +.EE +.DT +.PP +Statements are terminated by +semicolons, newlines or right braces. +An empty +.I expression-list +stands for +.BR $0 . +String constants are quoted \&\f(CW"\ "\fR, +with the usual C escapes recognized within. +Expressions take on string or numeric values as appropriate, +and are built using the operators +.B + \- * / % ^ +(exponentiation), and concatenation (indicated by white space). +The operators +.B +! ++ \-\- += \-= *= /= %= ^= > >= < <= == != ?: +are also available in expressions. +Variables may be scalars, array elements +(denoted +.IB x [ i ] ) +or fields. +Variables are initialized to the null string. +Array subscripts may be any string, +not necessarily numeric; +this allows for a form of associative memory. +Multiple subscripts such as +.B [i,j,k] +are permitted; the constituents are concatenated, +separated by the value of +.BR SUBSEP . +.PP +The +.B print +statement prints its arguments on the standard output +(or on a file if +.BI > file +or +.BI >> file +is present or on a pipe if +.BI | cmd +is present), separated by the current output field separator, +and terminated by the output record separator. +.I file +and +.I cmd +may be literal names or parenthesized expressions; +identical string values in different statements denote +the same open file. +The +.B printf +statement formats its expression list according to the format +(see +.IR printf (3)) . +The built-in function +.BI close( expr ) +closes the file or pipe +.IR expr . +The built-in function +.BI fflush( expr ) +flushes any buffered output for the file or pipe +.IR expr . +.PP +The mathematical functions +.BR exp , +.BR log , +.BR sqrt , +.BR sin , +.BR cos , +and +.BR atan2 +are built in. +Other built-in functions: +.TF length +.TP +.B length +the length of its argument +taken as a string, *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-vendor@FreeBSD.ORG Sat Jan 9 22:39:02 2010 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF1A81065670; Sat, 9 Jan 2010 22:39:01 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DADD18FC14; Sat, 9 Jan 2010 22:39:01 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o09Md1F1036326; Sat, 9 Jan 2010 22:39:01 GMT (envelope-from ru@svn.freebsd.org) Received: (from ru@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o09Md1ZM036325; Sat, 9 Jan 2010 22:39:01 GMT (envelope-from ru@svn.freebsd.org) Message-Id: <201001092239.o09Md1ZM036325@svn.freebsd.org> From: Ruslan Ermilov Date: Sat, 9 Jan 2010 22:39:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201938 - in vendor/one-true-awk: 20001115 20020101 20020210 20021129 20021213 20030314 20030729 20030731 20040207 20050424 20070501 20071023 dist X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 22:39:02 -0000 Author: ru Date: Sat Jan 9 22:39:01 2010 New Revision: 201938 URL: http://svn.freebsd.org/changeset/base/201938 Log: Clean up. Deleted: vendor/one-true-awk/dist/buildwin.bat vendor/one-true-awk/dist/mac.code Modified: Directory Properties: vendor/one-true-awk/20001115/FIXES (props changed) vendor/one-true-awk/20001115/README (props changed) vendor/one-true-awk/20001115/awk.1 (props changed) vendor/one-true-awk/20001115/awk.h (props changed) vendor/one-true-awk/20001115/awkgram.y (props changed) vendor/one-true-awk/20001115/b.c (props changed) vendor/one-true-awk/20001115/buildwin.bat (props changed) vendor/one-true-awk/20001115/lex.c (props changed) vendor/one-true-awk/20001115/lib.c (props changed) vendor/one-true-awk/20001115/mac.code (props changed) vendor/one-true-awk/20001115/main.c (props changed) vendor/one-true-awk/20001115/makefile (props changed) vendor/one-true-awk/20001115/maketab.c (props changed) vendor/one-true-awk/20001115/parse.c (props changed) vendor/one-true-awk/20001115/proctab.c (props changed) vendor/one-true-awk/20001115/proto.h (props changed) vendor/one-true-awk/20001115/run.c (props changed) vendor/one-true-awk/20001115/tran.c (props changed) vendor/one-true-awk/20020101/FIXES (props changed) vendor/one-true-awk/20020101/README (props changed) vendor/one-true-awk/20020101/awk.1 (props changed) vendor/one-true-awk/20020101/awk.h (props changed) vendor/one-true-awk/20020101/awkgram.y (props changed) vendor/one-true-awk/20020101/b.c (props changed) vendor/one-true-awk/20020101/lex.c (props changed) vendor/one-true-awk/20020101/lib.c (props changed) vendor/one-true-awk/20020101/mac.code (props changed) vendor/one-true-awk/20020101/main.c (props changed) vendor/one-true-awk/20020101/maketab.c (props changed) vendor/one-true-awk/20020101/parse.c (props changed) vendor/one-true-awk/20020101/proctab.c (props changed) vendor/one-true-awk/20020101/proto.h (props changed) vendor/one-true-awk/20020101/run.c (props changed) vendor/one-true-awk/20020101/tran.c (props changed) vendor/one-true-awk/20020210/FIXES (props changed) vendor/one-true-awk/20020210/README (props changed) vendor/one-true-awk/20020210/awk.1 (props changed) vendor/one-true-awk/20020210/awk.h (props changed) vendor/one-true-awk/20020210/awkgram.y (props changed) vendor/one-true-awk/20020210/b.c (props changed) vendor/one-true-awk/20020210/lex.c (props changed) vendor/one-true-awk/20020210/lib.c (props changed) vendor/one-true-awk/20020210/mac.code (props changed) vendor/one-true-awk/20020210/main.c (props changed) vendor/one-true-awk/20020210/makefile (props changed) vendor/one-true-awk/20020210/maketab.c (props changed) vendor/one-true-awk/20020210/parse.c (props changed) vendor/one-true-awk/20020210/proctab.c (props changed) vendor/one-true-awk/20020210/proto.h (props changed) vendor/one-true-awk/20020210/run.c (props changed) vendor/one-true-awk/20020210/tran.c (props changed) vendor/one-true-awk/20021129/FIXES (props changed) vendor/one-true-awk/20021129/README (props changed) vendor/one-true-awk/20021129/awk.1 (props changed) vendor/one-true-awk/20021129/awk.h (props changed) vendor/one-true-awk/20021129/awkgram.y (props changed) vendor/one-true-awk/20021129/b.c (props changed) vendor/one-true-awk/20021129/lex.c (props changed) vendor/one-true-awk/20021129/lib.c (props changed) vendor/one-true-awk/20021129/mac.code (props changed) vendor/one-true-awk/20021129/main.c (props changed) vendor/one-true-awk/20021129/makefile (props changed) vendor/one-true-awk/20021129/maketab.c (props changed) vendor/one-true-awk/20021129/parse.c (props changed) vendor/one-true-awk/20021129/proctab.c (props changed) vendor/one-true-awk/20021129/proto.h (props changed) vendor/one-true-awk/20021129/run.c (props changed) vendor/one-true-awk/20021129/tran.c (props changed) vendor/one-true-awk/20021213/FIXES (props changed) vendor/one-true-awk/20021213/README (props changed) vendor/one-true-awk/20021213/awk.1 (props changed) vendor/one-true-awk/20021213/awk.h (props changed) vendor/one-true-awk/20021213/awkgram.y (props changed) vendor/one-true-awk/20021213/b.c (props changed) vendor/one-true-awk/20021213/lex.c (props changed) vendor/one-true-awk/20021213/lib.c (props changed) vendor/one-true-awk/20021213/mac.code (props changed) vendor/one-true-awk/20021213/main.c (props changed) vendor/one-true-awk/20021213/makefile (props changed) vendor/one-true-awk/20021213/maketab.c (props changed) vendor/one-true-awk/20021213/parse.c (props changed) vendor/one-true-awk/20021213/proctab.c (props changed) vendor/one-true-awk/20021213/proto.h (props changed) vendor/one-true-awk/20021213/run.c (props changed) vendor/one-true-awk/20021213/tran.c (props changed) vendor/one-true-awk/20030314/FIXES (props changed) vendor/one-true-awk/20030314/README (props changed) vendor/one-true-awk/20030314/awk.1 (props changed) vendor/one-true-awk/20030314/awk.h (props changed) vendor/one-true-awk/20030314/awkgram.y (props changed) vendor/one-true-awk/20030314/b.c (props changed) vendor/one-true-awk/20030314/lex.c (props changed) vendor/one-true-awk/20030314/lib.c (props changed) vendor/one-true-awk/20030314/mac.code (props changed) vendor/one-true-awk/20030314/main.c (props changed) vendor/one-true-awk/20030314/makefile (props changed) vendor/one-true-awk/20030314/maketab.c (props changed) vendor/one-true-awk/20030314/parse.c (props changed) vendor/one-true-awk/20030314/proctab.c (props changed) vendor/one-true-awk/20030314/proto.h (props changed) vendor/one-true-awk/20030314/run.c (props changed) vendor/one-true-awk/20030314/tran.c (props changed) vendor/one-true-awk/20030729/FIXES (props changed) vendor/one-true-awk/20030729/README (props changed) vendor/one-true-awk/20030729/awk.1 (props changed) vendor/one-true-awk/20030729/awk.h (props changed) vendor/one-true-awk/20030729/awkgram.y (props changed) vendor/one-true-awk/20030729/b.c (props changed) vendor/one-true-awk/20030729/lex.c (props changed) vendor/one-true-awk/20030729/lib.c (props changed) vendor/one-true-awk/20030729/mac.code (props changed) vendor/one-true-awk/20030729/main.c (props changed) vendor/one-true-awk/20030729/makefile (props changed) vendor/one-true-awk/20030729/maketab.c (props changed) vendor/one-true-awk/20030729/parse.c (props changed) vendor/one-true-awk/20030729/proctab.c (props changed) vendor/one-true-awk/20030729/proto.h (props changed) vendor/one-true-awk/20030729/run.c (props changed) vendor/one-true-awk/20030729/tran.c (props changed) vendor/one-true-awk/20030731/FIXES (props changed) vendor/one-true-awk/20030731/README (props changed) vendor/one-true-awk/20030731/awk.1 (props changed) vendor/one-true-awk/20030731/awk.h (props changed) vendor/one-true-awk/20030731/awkgram.y (props changed) vendor/one-true-awk/20030731/b.c (props changed) vendor/one-true-awk/20030731/lex.c (props changed) vendor/one-true-awk/20030731/lib.c (props changed) vendor/one-true-awk/20030731/mac.code (props changed) vendor/one-true-awk/20030731/main.c (props changed) vendor/one-true-awk/20030731/makefile (props changed) vendor/one-true-awk/20030731/maketab.c (props changed) vendor/one-true-awk/20030731/parse.c (props changed) vendor/one-true-awk/20030731/proctab.c (props changed) vendor/one-true-awk/20030731/proto.h (props changed) vendor/one-true-awk/20030731/run.c (props changed) vendor/one-true-awk/20030731/tran.c (props changed) vendor/one-true-awk/20040207/FIXES (props changed) vendor/one-true-awk/20040207/README (props changed) vendor/one-true-awk/20040207/awk.1 (props changed) vendor/one-true-awk/20040207/awk.h (props changed) vendor/one-true-awk/20040207/awkgram.y (props changed) vendor/one-true-awk/20040207/b.c (props changed) vendor/one-true-awk/20040207/lex.c (props changed) vendor/one-true-awk/20040207/lib.c (props changed) vendor/one-true-awk/20040207/mac.code (props changed) vendor/one-true-awk/20040207/main.c (props changed) vendor/one-true-awk/20040207/makefile (props changed) vendor/one-true-awk/20040207/maketab.c (props changed) vendor/one-true-awk/20040207/parse.c (props changed) vendor/one-true-awk/20040207/proctab.c (props changed) vendor/one-true-awk/20040207/proto.h (props changed) vendor/one-true-awk/20040207/run.c (props changed) vendor/one-true-awk/20040207/tran.c (props changed) vendor/one-true-awk/20050424/FIXES (props changed) vendor/one-true-awk/20050424/README (props changed) vendor/one-true-awk/20050424/awk.1 (props changed) vendor/one-true-awk/20050424/awk.h (props changed) vendor/one-true-awk/20050424/awkgram.y (props changed) vendor/one-true-awk/20050424/b.c (props changed) vendor/one-true-awk/20050424/lex.c (props changed) vendor/one-true-awk/20050424/lib.c (props changed) vendor/one-true-awk/20050424/mac.code (props changed) vendor/one-true-awk/20050424/main.c (props changed) vendor/one-true-awk/20050424/makefile (props changed) vendor/one-true-awk/20050424/maketab.c (props changed) vendor/one-true-awk/20050424/parse.c (props changed) vendor/one-true-awk/20050424/proctab.c (props changed) vendor/one-true-awk/20050424/proto.h (props changed) vendor/one-true-awk/20050424/run.c (props changed) vendor/one-true-awk/20050424/tran.c (props changed) vendor/one-true-awk/20070501/FIXES (props changed) vendor/one-true-awk/20070501/README (props changed) vendor/one-true-awk/20070501/awk.1 (props changed) vendor/one-true-awk/20070501/awk.h (props changed) vendor/one-true-awk/20070501/awkgram.y (props changed) vendor/one-true-awk/20070501/b.c (props changed) vendor/one-true-awk/20070501/lex.c (props changed) vendor/one-true-awk/20070501/lib.c (props changed) vendor/one-true-awk/20070501/mac.code (props changed) vendor/one-true-awk/20070501/main.c (props changed) vendor/one-true-awk/20070501/makefile (props changed) vendor/one-true-awk/20070501/maketab.c (props changed) vendor/one-true-awk/20070501/parse.c (props changed) vendor/one-true-awk/20070501/proctab.c (props changed) vendor/one-true-awk/20070501/proto.h (props changed) vendor/one-true-awk/20070501/run.c (props changed) vendor/one-true-awk/20070501/tran.c (props changed) vendor/one-true-awk/20071023/FIXES (props changed) vendor/one-true-awk/20071023/README (props changed) vendor/one-true-awk/20071023/awk.1 (props changed) vendor/one-true-awk/20071023/awk.h (props changed) vendor/one-true-awk/20071023/awkgram.y (props changed) vendor/one-true-awk/20071023/b.c (props changed) vendor/one-true-awk/20071023/lex.c (props changed) vendor/one-true-awk/20071023/lib.c (props changed) vendor/one-true-awk/20071023/main.c (props changed) vendor/one-true-awk/20071023/makefile (props changed) vendor/one-true-awk/20071023/maketab.c (props changed) vendor/one-true-awk/20071023/parse.c (props changed) vendor/one-true-awk/20071023/proctab.c (props changed) vendor/one-true-awk/20071023/proto.h (props changed) vendor/one-true-awk/20071023/run.c (props changed) vendor/one-true-awk/20071023/tran.c (props changed) vendor/one-true-awk/dist/FIXES (props changed) vendor/one-true-awk/dist/README (props changed) vendor/one-true-awk/dist/awk.1 (props changed) vendor/one-true-awk/dist/awk.h (props changed) vendor/one-true-awk/dist/awkgram.y (props changed) vendor/one-true-awk/dist/b.c (props changed) vendor/one-true-awk/dist/lex.c (props changed) vendor/one-true-awk/dist/lib.c (props changed) vendor/one-true-awk/dist/main.c (props changed) vendor/one-true-awk/dist/makefile (props changed) vendor/one-true-awk/dist/maketab.c (props changed) vendor/one-true-awk/dist/parse.c (props changed) vendor/one-true-awk/dist/proctab.c (props changed) vendor/one-true-awk/dist/proto.h (props changed) vendor/one-true-awk/dist/run.c (props changed) vendor/one-true-awk/dist/tran.c (props changed) From owner-svn-src-vendor@FreeBSD.ORG Sat Jan 9 23:04:24 2010 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1E5F1065672; Sat, 9 Jan 2010 23:04:24 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8FE998FC13; Sat, 9 Jan 2010 23:04:24 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o09N4Opk042167; Sat, 9 Jan 2010 23:04:24 GMT (envelope-from ru@svn.freebsd.org) Received: (from ru@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o09N4OxO042157; Sat, 9 Jan 2010 23:04:24 GMT (envelope-from ru@svn.freebsd.org) Message-Id: <201001092304.o09N4OxO042157@svn.freebsd.org> From: Ruslan Ermilov Date: Sat, 9 Jan 2010 23:04:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201945 - vendor/one-true-awk/dist X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 23:04:24 -0000 Author: ru Date: Sat Jan 9 23:04:24 2010 New Revision: 201945 URL: http://svn.freebsd.org/changeset/base/201945 Log: Vendor import of bwk's 26-Nov-2009 release. Modified: vendor/one-true-awk/dist/FIXES vendor/one-true-awk/dist/b.c vendor/one-true-awk/dist/lib.c vendor/one-true-awk/dist/main.c vendor/one-true-awk/dist/makefile vendor/one-true-awk/dist/maketab.c vendor/one-true-awk/dist/proctab.c vendor/one-true-awk/dist/proto.h vendor/one-true-awk/dist/run.c Modified: vendor/one-true-awk/dist/FIXES ============================================================================== --- vendor/one-true-awk/dist/FIXES Sat Jan 9 23:02:49 2010 (r201944) +++ vendor/one-true-awk/dist/FIXES Sat Jan 9 23:04:24 2010 (r201945) @@ -25,6 +25,23 @@ THIS SOFTWARE. This file lists all bug fixes, changes, etc., made since the AWK book was sent to the printers in August, 1987. +Nov 26, 2009: + fixed a long-standing issue with when FS takes effect. a + change to FS is now noticed immediately for subsequent splits. + + changed the name getline() to awkgetline() to avoid yet another + name conflict somewhere. + +Feb 11, 2009: + temporarily for now defined HAS_ISBLANK, since that seems to + be the best way through the thicket. isblank arrived in C99, + but seems to be arriving at different systems at different + times. + +Oct 8, 2008: + fixed typo in b.c that set tmpvec wrongly. no one had ever + run into the problem, apparently. thanks to alistair crooks. + Oct 23, 2007: minor fix in lib.c: increase inputFS to 100, change malloc for fields to n+1. Modified: vendor/one-true-awk/dist/b.c ============================================================================== --- vendor/one-true-awk/dist/b.c Sat Jan 9 23:02:49 2010 (r201944) +++ vendor/one-true-awk/dist/b.c Sat Jan 9 23:04:24 2010 (r201945) @@ -731,6 +731,7 @@ Node *unary(Node *np) * to nelson beebe for the suggestion; let's see if it works everywhere. */ +/* #define HAS_ISBLANK */ #ifndef HAS_ISBLANK int (isblank)(int c) @@ -876,7 +877,7 @@ int cgoto(fa *f, int s, int c) if (q[j] >= maxsetvec) { maxsetvec *= 4; setvec = (int *) realloc(setvec, maxsetvec * sizeof(int)); - tmpset = (int *) realloc(setvec, maxsetvec * sizeof(int)); + tmpset = (int *) realloc(tmpset, maxsetvec * sizeof(int)); if (setvec == 0 || tmpset == 0) overflo("cgoto overflow"); } Modified: vendor/one-true-awk/dist/lib.c ============================================================================== --- vendor/one-true-awk/dist/lib.c Sat Jan 9 23:02:49 2010 (r201944) +++ vendor/one-true-awk/dist/lib.c Sat Jan 9 23:04:24 2010 (r201945) @@ -274,6 +274,7 @@ void fldbld(void) /* create fields from } fr = fields; i = 0; /* number of fields accumulated here */ + strcpy(inputFS, *FS); if (strlen(inputFS) > 1) { /* it's a regular expression */ i = refldbld(r, inputFS); } else if ((sep = *inputFS) == ' ') { /* default whitespace */ Modified: vendor/one-true-awk/dist/main.c ============================================================================== --- vendor/one-true-awk/dist/main.c Sat Jan 9 23:02:49 2010 (r201944) +++ vendor/one-true-awk/dist/main.c Sat Jan 9 23:04:24 2010 (r201945) @@ -22,7 +22,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE THIS SOFTWARE. ****************************************************************/ -const char *version = "version 20070501"; +const char *version = "version 20091126"; #define DEBUG #include Modified: vendor/one-true-awk/dist/makefile ============================================================================== --- vendor/one-true-awk/dist/makefile Sat Jan 9 23:02:49 2010 (r201944) +++ vendor/one-true-awk/dist/makefile Sat Jan 9 23:04:24 2010 (r201945) @@ -31,7 +31,6 @@ CC = gcc -fprofile-arcs -ftest-coverage CC = gcc -Wall -g CC = cc CC = gcc -O4 -CC = gcc -Wall -g YACC = bison -y Modified: vendor/one-true-awk/dist/maketab.c ============================================================================== --- vendor/one-true-awk/dist/maketab.c Sat Jan 9 23:02:49 2010 (r201944) +++ vendor/one-true-awk/dist/maketab.c Sat Jan 9 23:04:24 2010 (r201945) @@ -102,7 +102,7 @@ struct xx { CALL, "call", "call" }, { ARG, "arg", "arg" }, { VARNF, "getnf", "NF" }, - { GETLINE, "getline", "getline" }, + { GETLINE, "awkgetline", "getline" }, { 0, "", "" }, }; Modified: vendor/one-true-awk/dist/proctab.c ============================================================================== --- vendor/one-true-awk/dist/proctab.c Sat Jan 9 23:02:49 2010 (r201944) +++ vendor/one-true-awk/dist/proctab.c Sat Jan 9 23:04:24 2010 (r201945) @@ -180,7 +180,7 @@ Cell *(*proctab[93])(Node **, int) = { nullproc, /* NUMBER */ nullproc, /* STRING */ nullproc, /* REGEXPR */ - getline, /* GETLINE */ + awkgetline, /* GETLINE */ substr, /* SUBSTR */ split, /* SPLIT */ jump, /* RETURN */ Modified: vendor/one-true-awk/dist/proto.h ============================================================================== --- vendor/one-true-awk/dist/proto.h Sat Jan 9 23:02:49 2010 (r201944) +++ vendor/one-true-awk/dist/proto.h Sat Jan 9 23:04:24 2010 (r201945) @@ -149,7 +149,7 @@ extern Cell *call(Node **, int); extern Cell *copycell(Cell *); extern Cell *arg(Node **, int); extern Cell *jump(Node **, int); -extern Cell *getline(Node **, int); +extern Cell *awkgetline(Node **, int); extern Cell *getnf(Node **, int); extern Cell *array(Node **, int); extern Cell *awkdelete(Node **, int); Modified: vendor/one-true-awk/dist/run.c ============================================================================== --- vendor/one-true-awk/dist/run.c Sat Jan 9 23:02:49 2010 (r201944) +++ vendor/one-true-awk/dist/run.c Sat Jan 9 23:04:24 2010 (r201945) @@ -388,7 +388,7 @@ Cell *jump(Node **a, int n) /* break, co return 0; /* not reached */ } -Cell *getline(Node **a, int n) /* get next line from specific input */ +Cell *awkgetline(Node **a, int n) /* get next line from specific input */ { /* a[0] is variable, a[1] is operator, a[2] is filename */ Cell *r, *x; extern Cell **fldtab; @@ -1159,11 +1159,11 @@ Cell *cat(Node **a, int q) /* a[0] cat a x->sval, y->sval); strcpy(s, x->sval); strcpy(s+n1, y->sval); + tempfree(x); tempfree(y); z = gettemp(); z->sval = s; z->tval = STR; - tempfree(x); return(z); } From owner-svn-src-vendor@FreeBSD.ORG Sat Jan 9 23:06:20 2010 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13560106566B; Sat, 9 Jan 2010 23:06:20 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DB79E8FC15; Sat, 9 Jan 2010 23:06:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o09N6JSe042637; Sat, 9 Jan 2010 23:06:19 GMT (envelope-from ru@svn.freebsd.org) Received: (from ru@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o09N6J3a042636; Sat, 9 Jan 2010 23:06:19 GMT (envelope-from ru@svn.freebsd.org) Message-Id: <201001092306.o09N6J3a042636@svn.freebsd.org> From: Ruslan Ermilov Date: Sat, 9 Jan 2010 23:06:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201946 - vendor/one-true-awk/20091126 X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 23:06:20 -0000 Author: ru Date: Sat Jan 9 23:06:19 2010 New Revision: 201946 URL: http://svn.freebsd.org/changeset/base/201946 Log: Tag a 20091126 release. Added: vendor/one-true-awk/20091126/ - copied from r201945, vendor/one-true-awk/dist/