Commit graph

6 commits

Author SHA1 Message Date
Aleksey Cheusov
6c5b992fd6 Update to 1.3.4
patch-aa were applied in upstream, so removed from here

Changes:
    20091220
	+ bump version to 1.3.4

	+ update INSTALL and README files.

	+ improve configure checks for math library.

	  + change test for NaN to use sqrt() rather than log() to work around
	    cygwin's partly broken math functions.

	  + add/use isnanf() to work around other breakage in cygwin math
	    functions.

	  + add configure check for _XOPEN_SOURCE, etc., needed to define
	    proper function pointer for sigaction, e.g., on Tru64.

	  + add check for sigaction function pointer, whose POSIX form is
	    absent from the cygwin header.

	+ extend MAWKBINMODE, adding a third bit which when set will suppress
	  the change for RS or ORS to use CR/LF rather than LF.  This is used
	  for MinGW to make the "check" rule in a build work, for instance.

	+ add configure check for functions used for pipe/system calls, e.g.,
	  for MinGW where these are absent.

	+ add runtime check for floating-point underflow exceptions

	+ fix an old 1.3.3 bug in re_split(), which did not check properly for
	  the end of buffer; this broke on Tru64.

	+ drop obsolete config-user, v7 and atarist subdirectories

	+ improve configure checks for sigaction, making the definitions used
	  in fpe_check.c consistent with matherr.c

	+ build fixes for AIX, Tru64.

	+ add configure check for 'environ'.

	+ remove redundant setlocale() calls; only LC_CTYPE and LC_NUMERIC
	  are used.

    20091213
	+ add makedeps.sh script to aid in updating object dependencies in
	  Makefile.in

	+ use "mkdir -p" rather than mkdirs.sh (suggested by Aleksey Cheusov).

	+ reformatted this file, to simplify extraction of contributor names.

	+ update config.guess and config.sub

	> patches by Jonathan Nieder:

	+ modify CF_DISABLE_ECHO autoconf macro to ensure that command lines
	  in Makefile.in begin with a tab.

	+ the makefile does not use $(MAKE); remove the SET_MAKE substitution.

	+ add some files to the "make clean" rule, in case make gets
	  interrupted in the middle of a rule.

	+ add a maintainer-clean rule to the makefile, to remove files which
	  could be regenerated.

	+ fix an unescaped "-" in man/mawk.1

	+ remove an unneeded cast in bi_funct.c

	+ fix an unused parameter warning in matherr.c

	+ drop unused line_no parameter from compile_error() and its callers.

	+ convert makescan.c to ANSI C, do further cleanup of that file.

	+ split-out scancode.h from scan.h
2009-12-21 20:41:08 +00:00
Aleksey Cheusov
70a7005bfa update to the latest version 1.3.3.20090920
Changes:

        improve hash function by using FNV-1 algorithm (patch/discussion by
        Jim Mellander).  This greatly improves speed for accessing arrays
        with a large number of distinct keys; however the unsorted order in
        "for" loops will differ.

        add "internal regex" or "external regex" string to version message
        to allow scripting based on support for embedded nulls.

        drop obsolete CF_MAWK_PROG_GCC and CF_MAWK_PROG_YACC macros from
        configure script (report by Mike Frysinger).

        fixes to allow build outside source-tree (report by Mike Frysinger).

        correct logic in scan.c to handle expression "[[]" (report by
        Aleksey Cheusov).

        add MAWK_LONG_OPTIONS feature to allow mawk to ignore long options
        which are not implemented.

        two changes for embedded nulls, allows FS to be either a null or
        contain a character class with null, e.g., '\000' or '[ \000]':

        + modify built-in regular expression functions to accept embedded
          nulls.

        + modify input reader FINgets() to accept embedded nulls in data
          read from files.  Data read from standard input is line-buffered,
          and is still null-terminated.

        update config.guess and config.sub
2009-09-22 19:10:17 +00:00
Aleksey Cheusov
8829265354 update to 1.3.3-20090820.
See CHANGES file for details.
Almost all pkgsrc patches were applied in upstream.
2009-09-12 21:27:21 +00:00
Aleksey Cheusov
c5f8923be1 fixed: two pkglint warnings 2008-10-19 21:01:54 +00:00
Aleksey Cheusov
a94aa6db28 FIXED: /[\001-\177]/ regexp now works correctly.
For this a few REG_XXX were needed in addition to REG_EXTENDED.
2008-10-18 13:18:40 +00:00
Aleksey Cheusov
57a039f4f2 Patched version of Mike Brennan's awk clone.
Unlike original mawk it better supports
POSIX regexp (at least it support character classes)
and supports utf-8.
For this to work the external regular expression
library is used - libuxre
2008-02-06 21:33:54 +00:00