SHA256
1
0
forked from pool/gawk
gawk/gawk-3.1.8.diff
Dirk Mueller 090ef72840 Accepting request 78415 from home:elvigia:branches:Base:System
- Update to version 4.0.0 , important changes
 * The special files /dev/pid, /dev/ppid, /dev/pgrpid and /dev/user are
    now completely gone. Use PROCINFO instead.
 * The POSIX 2008 behavior for `sub' and `gsub' are now the default.
 * In POSIX mode, string comparisons use strcoll/wcscoll.
 * Gawk now treats ranges of the form [d-h] as if they were in the C

OBS-URL: https://build.opensuse.org/request/show/78415
OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=12
2011-08-10 09:55:56 +00:00

57 lines
1.4 KiB
Diff

--- doc/gawk.texi.orig
+++ doc/gawk.texi
@@ -1549,7 +1549,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.
@@ -27180,7 +27180,7 @@ did the initial work to convert @command
GNU Automake and GNU @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 optional third argument to the
--- builtin.c.orig
+++ builtin.c
@@ -29,7 +29,6 @@
#include <fcntl.h>
#endif
#include <math.h>
-#include "random.h"
#include "floatmagic.h"
#ifndef CHAR_BIT
@@ -60,11 +59,6 @@
static size_t mbc_byte_count(const char *ptr, size_t numchars);
static size_t mbc_char_count(const char *ptr, size_t numbytes);
-/* Can declare these, since we always use the random shipped with gawk */
-extern char *initstate(unsigned long seed, char *state, long n);
-extern char *setstate(char *state);
-extern long random(void);
-extern void srandom(unsigned long seed);
extern NODE **args_array;
extern int max_args;
--- Makefile.am.orig
+++ Makefile.am
@@ -103,11 +103,7 @@ base_sources = \
msg.c \
node.c \
protos.h \
- random.c \
- random.h \
re.c \
- regex.c \
- regex.h \
replace.c \
version.c \
xalloc.h