Update to 20th June 1999 sources, fixing PR 9935 from Greg Woods.

The checksum on the old package corresponded to the 19990620 source,
whilst the package thought it was 19980211. Fix package name accordingly.

Unfortunately, there is no version number or date on the awk distfile,
so put the distfile in its own uniquely-named directory.

Just for the record, there are a number of bug fixes in the 19990620
source:

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.
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.
This commit is contained in:
agc 2000-04-20 08:26:11 +00:00
parent ab62c7aa09
commit 11d1f7b147
2 changed files with 6 additions and 4 deletions

View file

@ -1,14 +1,16 @@
# $NetBSD: Makefile,v 1.1.1.1 1998/10/15 13:19:21 agc Exp $
# $NetBSD: Makefile,v 1.2 2000/04/20 08:26:11 agc Exp $
#
DISTNAME= awk
PKGNAME= nawk-19980211
PKGNAME= nawk-19990620
CATEGORIES= lang
MASTER_SITES= http://cm.bell-labs.com/who/bwk/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://cm.bell-labs.com/who/bwk/
DIST_SUBDIR= ${PKGNAME}
NO_WRKSUBDIR= yes
MAKEFILE= makefile
ALL_TARGET= a.out

View file

@ -1,3 +1,3 @@
$NetBSD: md5,v 1.2 1999/11/23 20:44:03 windsor Exp $
$NetBSD: md5,v 1.3 2000/04/20 08:26:12 agc Exp $
MD5 (awk.tar.gz) = d85853b63b117415d16daba456c0e6c5
MD5 (nawk-19990620/awk.tar.gz) = d85853b63b117415d16daba456c0e6c5