gawk/gawk-3.1.8.diff

61 lines
1.8 KiB
Diff

diff -aur gawk-4.0.1.orig/builtin.c gawk-4.0.1/builtin.c
--- gawk-4.0.1.orig/builtin.c 2012-03-28 15:54:55.000000000 -0400
+++ gawk-4.0.1/builtin.c 2012-04-03 21:03:30.156093525 -0400
@@ -29,7 +29,6 @@
#include <fcntl.h>
#endif
#include <math.h>
-#include "random.h"
#include "floatmagic.h"
#if defined(HAVE_POPEN_H)
@@ -64,12 +63,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;
extern NODE **fields_arr;
diff -aur gawk-4.0.1.orig/doc/gawk.texi gawk-4.0.1/doc/gawk.texi
--- gawk-4.0.1.orig/doc/gawk.texi 2012-03-28 15:47:54.000000000 -0400
+++ gawk-4.0.1/doc/gawk.texi 2012-04-03 21:02:52.242567511 -0400
@@ -1511,7 +1511,7 @@
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.
@@ -27272,7 +27272,7 @@
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
diff -aur gawk-4.0.1.orig/Makefile.am gawk-4.0.1/Makefile.am
--- gawk-4.0.1.orig/Makefile.am 2012-03-28 15:47:53.000000000 -0400
+++ gawk-4.0.1/Makefile.am 2012-04-03 21:03:52.165818367 -0400
@@ -106,11 +106,7 @@
msg.c \
node.c \
protos.h \
- random.c \
- random.h \
re.c \
- regex.c \
- regex.h \
replace.c \
version.c \
xalloc.h