summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--awk.h9
-rw-r--r--configh.in6
-rwxr-xr-xconfigure32
-rw-r--r--configure.ac4
-rw-r--r--pc/config.h12
6 files changed, 22 insertions, 48 deletions
diff --git a/ChangeLog b/ChangeLog
index 26f4fcb8..05e1e91b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-08-16 Arnold D. Robbins <arnold@skeeve.com>
+
+ * configure.ac: Remove checks for memset_ulong and memcpy_ulong.
+ * awk.h: Remove checks and macro definitions for those two
+ functions. They used to be used in the PC code but were
+ removed.
+
2022-08-14 Arnold D. Robbins <arnold@skeeve.com>
* awkgram.y (mk_binary): Check for division by constant zero in
diff --git a/awk.h b/awk.h
index 71e617af..3d70bd11 100644
--- a/awk.h
+++ b/awk.h
@@ -156,15 +156,6 @@ typedef int off_t;
#define setlocale(locale, val) /* nothing */
#endif /* HAVE_SETLOCALE */
-#if HAVE_MEMCPY_ULONG
-extern char *memcpy_ulong(char *dest, const char *src, unsigned long l);
-#define memcpy memcpy_ulong
-#endif
-#if HAVE_MEMSET_ULONG
-extern void *memset_ulong(void *dest, int val, unsigned long l);
-#define memset memset_ulong
-#endif
-
#ifdef HAVE_FWRITE_UNLOCKED
#define fwrite fwrite_unlocked
#endif /* HAVE_FWRITE_UNLOCKED */
diff --git a/configh.in b/configh.in
index c23006e9..606fa1a5 100644
--- a/configh.in
+++ b/configh.in
@@ -135,9 +135,6 @@
/* Define to 1 if you have the `memcpy' function. */
#undef HAVE_MEMCPY
-/* Define to 1 if you have the `memcpy_ulong' function. */
-#undef HAVE_MEMCPY_ULONG
-
/* Define to 1 if you have the `memmove' function. */
#undef HAVE_MEMMOVE
@@ -147,9 +144,6 @@
/* Define to 1 if you have the `memset' function. */
#undef HAVE_MEMSET
-/* Define to 1 if you have the `memset_ulong' function. */
-#undef HAVE_MEMSET_ULONG
-
/* Define to 1 if you have the <minix/config.h> header file. */
#undef HAVE_MINIX_CONFIG_H
diff --git a/configure b/configure
index 11ca1f84..8d70db53 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for GNU Awk 5.1.63.
+# Generated by GNU Autoconf 2.71 for GNU Awk 5.1.64.
#
# Report bugs to <bug-gawk@gnu.org>.
#
@@ -611,8 +611,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='GNU Awk'
PACKAGE_TARNAME='gawk'
-PACKAGE_VERSION='5.1.63'
-PACKAGE_STRING='GNU Awk 5.1.63'
+PACKAGE_VERSION='5.1.64'
+PACKAGE_STRING='GNU Awk 5.1.64'
PACKAGE_BUGREPORT='bug-gawk@gnu.org'
PACKAGE_URL='https://www.gnu.org/software/gawk/'
@@ -1374,7 +1374,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures GNU Awk 5.1.63 to adapt to many kinds of systems.
+\`configure' configures GNU Awk 5.1.64 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1445,7 +1445,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of GNU Awk 5.1.63:";;
+ short | recursive ) echo "Configuration of GNU Awk 5.1.64:";;
esac
cat <<\_ACEOF
@@ -1570,7 +1570,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-GNU Awk configure 5.1.63
+GNU Awk configure 5.1.64
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2227,7 +2227,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by GNU Awk $as_me 5.1.63, which was
+It was created by GNU Awk $as_me 5.1.64, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@@ -3521,7 +3521,7 @@ fi
# Define the identity of the package.
PACKAGE='gawk'
- VERSION='5.1.63'
+ VERSION='5.1.64'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -12367,12 +12367,6 @@ then :
printf "%s\n" "#define HAVE_MEMCPY 1" >>confdefs.h
fi
-ac_fn_c_check_func "$LINENO" "memcpy_ulong" "ac_cv_func_memcpy_ulong"
-if test "x$ac_cv_func_memcpy_ulong" = xyes
-then :
- printf "%s\n" "#define HAVE_MEMCPY_ULONG 1" >>confdefs.h
-
-fi
ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
if test "x$ac_cv_func_memmove" = xyes
then :
@@ -12385,12 +12379,6 @@ then :
printf "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h
fi
-ac_fn_c_check_func "$LINENO" "memset_ulong" "ac_cv_func_memset_ulong"
-if test "x$ac_cv_func_memset_ulong" = xyes
-then :
- printf "%s\n" "#define HAVE_MEMSET_ULONG 1" >>confdefs.h
-
-fi
ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
if test "x$ac_cv_func_mkstemp" = xyes
then :
@@ -14413,7 +14401,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by GNU Awk $as_me 5.1.63, which was
+This file was extended by GNU Awk $as_me 5.1.64, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -14483,7 +14471,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-GNU Awk config.status 5.1.63
+GNU Awk config.status 5.1.64
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
diff --git a/configure.ac b/configure.ac
index 7da25b9f..94dd7c29 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@ dnl
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([GNU Awk],[5.1.63],[bug-gawk@gnu.org],[gawk])
+AC_INIT([GNU Awk],[5.1.64],[bug-gawk@gnu.org],[gawk])
# This is a hack. Different versions of install on different systems
# are just too different. Chuck it and use install-sh.
@@ -315,7 +315,7 @@ esac
# Need the check for mkstemp and tmpfile for missing_d/snprintf.c.
AC_CHECK_FUNCS(__etoa_l atexit btowc fmod fwrite_unlocked gai_strerror \
getgrent getgroups grantpt isascii isblank iswctype iswlower iswupper \
- mbrlen memcmp memcpy memcpy_ulong memmove memset memset_ulong \
+ mbrlen memcmp memcpy memmove memset \
mkstemp mtrace posix_openpt setenv setlocale setsid sigprocmask \
snprintf strcasecmp strchr strcoll strerror strftime strncasecmp \
strsignal strtod strtoul system timegm tmpfile towlower towupper \
diff --git a/pc/config.h b/pc/config.h
index 0388c02d..3017ddc6 100644
--- a/pc/config.h
+++ b/pc/config.h
@@ -136,9 +136,6 @@
/* Define to 1 if you have the `memcpy' function. */
#define HAVE_MEMCPY 1
-/* Define to 1 if you have the `memcpy_ulong' function. */
-#undef HAVE_MEMCPY_ULONG
-
/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1
@@ -148,9 +145,6 @@
/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1
-/* Define to 1 if you have the `memset_ulong' function. */
-#undef HAVE_MEMSET_ULONG
-
/* Define to 1 if you have the <minix/config.h> header file. */
#undef HAVE_MINIX_CONFIG_H
@@ -373,7 +367,7 @@
#define PACKAGE_NAME "GNU Awk"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU Awk 5.1.63"
+#define PACKAGE_STRING "GNU Awk 5.1.64"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gawk"
@@ -382,7 +376,7 @@
#define PACKAGE_URL "http://www.gnu.org/software/gawk/"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "5.1.63"
+#define PACKAGE_VERSION "5.1.64"
/* Define to 1 if *printf supports %a format */
#define PRINTF_HAS_A_FORMAT 1
@@ -510,7 +504,7 @@
/* Version number of package */
-#define VERSION "5.1.63"
+#define VERSION "5.1.64"
/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS