Subject: CVS commit: pkgsrc/lang/awka
To: None <pkgsrc-changes@netbsd.org>
From: Yuji Yamano <yyamano@netbsd.org>
List: pkgsrc-changes
Date: 06/05/2002 18:39:56
Module Name: pkgsrc
Committed By: yyamano
Date: Wed Jun 5 15:39:56 UTC 2002
Modified Files:
pkgsrc/lang/awka: Makefile distinfo
Log Message:
Updated awka to 0.7.5 to fix pkg/17112.
From CHANGELOG.txt:
v 0.7.5, June 20 2001
* Gawk 3.1.0's Coprocessing and inet functions are now supported by Awka,
as are the new builtin functions asort() and mktime(). Thanks to Juergen
Kahrs for the original work to implement this excellent feature, and to
Arnold Robbins for including it in Gawk. That libawka will now be
distributed under the GNU General Public License (GPL) rather than
LGPL as a result of having to include some code from Gawk. The previously
separate dfa library is now absorbed into libawka, and the -d command-line
option for awka removed as it is no longer needed.
* The match() function has been extended to support its new capability in
Gawk 3.1.0. See the Gawk manpage for details.
* awka -a -v 'var="string with whitespace"' will now work correctly.
* To avoid breaching ANSI-C guidelines, \r in AWK program strings will
be preserved as \r in the generated C code, not converted to ASCII
character 13. Previously some platforms were incorrectly treating
\r as \n - this has been fixed by this change.
* Fixed a problem wherein awka -c sometimes failed to output matching
curly braces in the translated code.
* Fixed a data-input parsing error that could occur when RS="". The new
test rsnul1nl (from gawk-3.1.0) will ensure the buglet doesn't return.
* A new hash routine was implemented providing fewer collisions, particularly
with long string indexes that have only minor differences. The optional
SLOW_HASH #define is no longer needed.
* Translator now tracks the datatype of scalar variables, and will produce
more efficient code for vars that stay one type throughout a script.
This is the first optimisation of translated code in a long, long time
and it makes a considerable difference to many scripts.
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 pkgsrc/lang/awka/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/lang/awka/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.