- 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
This commit is contained in:
Dirk Mueller 2011-04-19 11:55:53 +00:00 committed by Git OBS Bridge
parent c123cea27e
commit 2bcf2190bd
5 changed files with 66 additions and 48 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:513fdd5a0bd1b467bd4993eb3adb4690f65fff6857c9e2ed1a3e46d72151cb6c
size 1861630

View File

@ -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 <fcntl.h>
#endif
#include <math.h>
-#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 <fcntl.h>
#endif
#include <math.h>
-#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

3
gawk-3.1.8.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3900175021e85e92f879ab1f4432d6c94e3594d6dce676d968dd391d4cd3d0e2
size 1984127

View File

@ -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

View File

@ -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