Opened 11 years ago

Closed 11 years ago

#39996 closed defect (fixed)

mawk @1.3.4-20100625: update to 1.3.4-20130803

Reported by: cooljeanius (Eric Gallager) Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: mawk

Description

Local-Admins-MacBook-Pro:~ root# port -v livecheck mawk
mawk seems to have been updated (port version: 1.3.4-20100625, new version: 1.3.4-20130803)

Besides the most recent update (20130803), this update would also include the changes from 20130219, 20121209, 20121129, 20120627, 20101210, and 20101207. Some cherry-picks from the ChangeLog:

20130803
	...
	+ add limit-checks, improve index computation in scan.c to fix old
	  1.3.3 problems with very long string-literals in the parsed script.
	...

20130219
	+ modify missing-operand check in rexp.c to allow the case of empty
	  "()", matching behavior of gawk and BWK.
	...

20121209
	...
	+ fix issues reported by Coverity scan.  Most of these were minor,
	  and were addressed by modifying the source to allow Coverity to
	  improve its analysis of the code.
	+ amend support for LC_NUMERIC by translating period to the local
	  decimal separator as needed to work with strtod() which is used
	  to validate decimal constants when scanning source files.
	...

20121129
	+ change behavior if internal fflush call fails: rather than exiting
	  with an error, propagate the return value to the script as -1, for
	  consistency with gawk and BWK.
	+ add special case for forward reference to a function using an array
	  parameter, updating the function's parameter type so that the array
	  is passed properly.
	+ support length(array), as done in gawk and BWK awk.
	+ support LC_NUMERIC, which will modify the displayed decimal point in
	  some locales... does not modify the decimal point used for input,
	  matching the behavior of nawk and BWK awk.
	+ add configure option --enable-init-srand to allow choice whether to
	  initialize random numbers automatically at startup or not.  Not doing
	  this makes programs more predictable.
	+ add configure option --enable-builtin-srand, use that to deprecate
	  mawk's builtin srand/rand functions which generally are not as good
	  as the system-provided functions.
	+ extend --enable-trace configure option to show builtin functions.
	+ add systime and mktime functions.
	+ when warning about unrecognized options, do not exit with error
	  on these gawk options:
		  --lint
		  --lint-old
		  --posix
		  --re-interval
		  --traditional
	+ integrate strtime function.
	+ correct logic for "/dev/stdin" special device.
	+ updates for configure script macros:
	  ...
	  + support --datarootdir option.
	...
	+ add icons for webpage artwork

20120627
	+ add "/dev/stdin" name for stdin for consistency with other
	  implementations of awk.
	+ improve overflow check in check_strnum().
	+ implement gawk extension "nextfile".
	...

20101210
	+ update copyright notices to reflect changes...

20101207
	+ add configure --enable-trace, to consolidate various debugging
	  traces which were written to stderr... writes to Trace.out.
	+ modify zmalloc.c to make it simpler to use the --disable-leaks
	  configure script option to analyze memory leaks... can be disabled 
	  by defining DEBUG_ZMALLOC.
	...
	+ fix printable token value for SC_MATCH in scan.c.

Change History (2)

comment:1 in reply to:  description Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: toby@… removed
Owner: changed from macports-tickets@… to toby@…

Replying to egall@…:

Some cherry-picks from the ChangeLog:

There’s no need to enumerate new features in update tickets, since we don’t need to be persuaded to provide the latest version of a port. It would be useful to know about backwards incompatibilities, though.

comment:2 Changed 11 years ago by tobypeterson

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.