Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   agc
Date:           Thu Apr 20 08:26:12 UTC 2000

Modified Files:
        pkgsrc/lang/nawk: Makefile
        pkgsrc/lang/nawk/files: md5

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/lang/nawk/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/lang/nawk/files/md5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index