[MacPorts] #39996: mawk @1.3.4-20100625: update to 1.3.4-20130803

MacPorts noreply at macports.org
Sun Aug 4 11:14:35 PDT 2013


#39996: mawk @1.3.4-20100625: update to 1.3.4-20130803
---------------------+--------------------------------
 Reporter:  egall@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.2.0
 Keywords:           |       Port:  mawk
---------------------+--------------------------------
 {{{
 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.

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/39996>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list