From 2bcf2190bdfd6495a80811f86d4e8c21c95c87534230f85fb840da1ff5f6b620 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 19 Apr 2011 11:55:53 +0000 Subject: [PATCH] - update to 3.1.8: * The zero flag no longer applies to %c and %s; apparently the standards changed at some point. * Failure to open a socket is no longer a fatal error. * dfa.h and dfa.c are now more-or-less in sync with GNU grep, for the first time in many years. * Gawk no longer includes its own copy of libsigsegv but it will use it if installed on the build system. The --disable-libsigsegv configure option is now gone. * The ' flag (%'d) is now just ignored on systems that can't support it. * Gawk now has support for z/OS (IBM S/390 architecture). * Gawk now handles multibyte strings better in [s]printf with field widths and such. * A getline from a directory is no longer fatal; instead it returns -1. * Per POSIX, special variable names (like FS) cannot be used as function parameter names. * The new -O / --optimize option enables simple constant folding on the parse tree during parsing. We hope that with time the number of optimizations will increase. * Lots of bug fixes, see the ChangeLog. OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=10 --- gawk-3.1.6.tar.bz2 | 3 -- gawk-3.1.6.diff => gawk-3.1.8.diff | 80 ++++++++++++++---------------- gawk-3.1.8.tar.bz2 | 3 ++ gawk.changes | 24 +++++++++ gawk.spec | 4 +- 5 files changed, 66 insertions(+), 48 deletions(-) delete mode 100644 gawk-3.1.6.tar.bz2 rename gawk-3.1.6.diff => gawk-3.1.8.diff (74%) create mode 100644 gawk-3.1.8.tar.bz2 diff --git a/gawk-3.1.6.tar.bz2 b/gawk-3.1.6.tar.bz2 deleted file mode 100644 index 89abce4..0000000 --- a/gawk-3.1.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:513fdd5a0bd1b467bd4993eb3adb4690f65fff6857c9e2ed1a3e46d72151cb6c -size 1861630 diff --git a/gawk-3.1.6.diff b/gawk-3.1.8.diff similarity index 74% rename from gawk-3.1.6.diff rename to gawk-3.1.8.diff index 0a5f8c5..a52c55d 100644 --- a/gawk-3.1.6.diff +++ b/gawk-3.1.8.diff @@ -1,46 +1,3 @@ -Index: Makefile.am -=================================================================== ---- Makefile.am.orig -+++ Makefile.am -@@ -102,11 +102,7 @@ base_sources = \ - msg.c \ - node.c \ - protos.h \ -- random.c \ -- random.h \ - re.c \ -- regex.c \ -- regex.h \ - replace.c \ - version.c - -Index: builtin.c -=================================================================== ---- builtin.c.orig -+++ builtin.c -@@ -29,7 +29,6 @@ - #include - #endif - #include --#include "random.h" - - #ifndef CHAR_BIT - # define CHAR_BIT 8 -@@ -54,12 +53,6 @@ - #define SIZE_MAX ((size_t) -1) - #endif - --/* can declare these, since we always use the random shipped with gawk */ --extern char *initstate P((unsigned long seed, char *state, long n)); --extern char *setstate P((char *state)); --extern long random P((void)); --extern void srandom P((unsigned long seed)); -- - extern NODE **fields_arr; - extern int output_is_tty; - -Index: doc/gawk.texi -=================================================================== --- doc/gawk.texi.orig +++ doc/gawk.texi @@ -1406,7 +1406,7 @@ and @@ -61,3 +18,40 @@ Index: doc/gawk.texi Alan J.@: Broder provided the initial version of the @code{asort} function as well as the code for the new optional third argument to the +--- builtin.c ++++ builtin.c +@@ -29,7 +29,6 @@ + #include + #endif + #include +-#include "random.h" + #include "floatmagic.h" + + #ifndef CHAR_BIT +@@ -55,12 +54,6 @@ + #define SIZE_MAX ((size_t) -1) + #endif + +-/* can declare these, since we always use the random shipped with gawk */ +-extern char *initstate P((unsigned long seed, char *state, long n)); +-extern char *setstate P((char *state)); +-extern long random P((void)); +-extern void srandom P((unsigned long seed)); +- + extern NODE **fields_arr; + extern int output_is_tty; + +--- Makefile.am ++++ Makefile.am +@@ -103,11 +103,7 @@ + msg.c \ + node.c \ + protos.h \ +- random.c \ +- random.h \ + re.c \ +- regex.c \ +- regex.h \ + replace.c \ + version.c \ + xalloc.h diff --git a/gawk-3.1.8.tar.bz2 b/gawk-3.1.8.tar.bz2 new file mode 100644 index 0000000..bec5a1c --- /dev/null +++ b/gawk-3.1.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3900175021e85e92f879ab1f4432d6c94e3594d6dce676d968dd391d4cd3d0e2 +size 1984127 diff --git a/gawk.changes b/gawk.changes index 81af82a..d0e9720 100644 --- a/gawk.changes +++ b/gawk.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Tue Apr 19 13:46:32 CEST 2011 - dmueller@suse.de + +- update to 3.1.8: + * The zero flag no longer applies to %c and %s; apparently the standards + changed at some point. + * Failure to open a socket is no longer a fatal error. + * dfa.h and dfa.c are now more-or-less in sync with GNU grep, for the first + time in many years. + * Gawk no longer includes its own copy of libsigsegv but it will use it if + installed on the build system. The --disable-libsigsegv configure option + is now gone. + * The ' flag (%'d) is now just ignored on systems that can't support it. + * Gawk now has support for z/OS (IBM S/390 architecture). + * Gawk now handles multibyte strings better in [s]printf with field + widths and such. + * A getline from a directory is no longer fatal; instead it returns -1. + * Per POSIX, special variable names (like FS) cannot be used as function + parameter names. + * The new -O / --optimize option enables simple constant folding on + the parse tree during parsing. We hope that with time the number + of optimizations will increase. + * Lots of bug fixes, see the ChangeLog. + ------------------------------------------------------------------- Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de diff --git a/gawk.spec b/gawk.spec index 1bc2f9b..0e0ceb8 100644 --- a/gawk.spec +++ b/gawk.spec @@ -25,8 +25,8 @@ Provides: awk AutoReqProv: on BuildRequires: update-alternatives PreReq: %{install_info_prereq} update-alternatives -Version: 3.1.6 -Release: 28 +Version: 3.1.8 +Release: 1 Summary: GNU awk Source: gawk-%{version}.tar.bz2 Patch: gawk-%{version}.diff