SHA256
1
0
forked from pool/gawk
gawk/gawk-3.1.8.diff
Dirk Mueller 2bcf2190bd - 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
2011-04-19 11:55:53 +00:00

58 lines
1.3 KiB
Diff

--- doc/gawk.texi.orig
+++ doc/gawk.texi
@@ -1406,7 +1406,7 @@ and
Chuck Toporek.
@cindex Berry, Karl
-@cindex Chassell, Robert J.@:
+@cindex Chassell, Robert J.
@c @cindex Texinfo
Robert J.@: Chassell provided much valuable advice on
the use of Texinfo.
@@ -23713,7 +23713,7 @@ did the initial work to convert @command
GNU Automake and @code{gettext}.
@item
-@cindex Broder, Alan J.@:
+@cindex Broder, Alan J.
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