[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. 1e9ffdd82158ab
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. 1e9ffdd82158abb274eb512f53f5d1d771015751 |
Date: |
Mon, 14 Nov 2011 19:49:36 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, gawk-4.0-stable has been updated
via 1e9ffdd82158abb274eb512f53f5d1d771015751 (commit)
via 9af44f959b1591daf2f7d2953dbdd3e868044d27 (commit)
via 169aedcf3822c4b37b58d01ce97210839496e484 (commit)
via cceacad1d367b3019a5648521d4b4c0e201297f5 (commit)
via 7e8f32c84caa4c2a99e4cea09fa25c5ae9722784 (commit)
via 8ed7ce1717bf35f9cd268e21056b0c2fc5485cf5 (commit)
from 3f6a81b5812d5f527aea23e77754732374a10c55 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=1e9ffdd82158abb274eb512f53f5d1d771015751
commit 1e9ffdd82158abb274eb512f53f5d1d771015751
Author: Arnold D. Robbins <address@hidden>
Date: Mon Nov 14 21:49:05 2011 +0200
Bump version for test tarball.
diff --git a/configure b/configure
index 909198b..fbd545d 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.68 for GNU Awk 4.0.0d.
+# Generated by GNU Autoconf 2.68 for GNU Awk 4.0.0e.
#
# Report bugs to <address@hidden>.
#
@@ -560,8 +560,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='GNU Awk'
PACKAGE_TARNAME='gawk'
-PACKAGE_VERSION='4.0.0d'
-PACKAGE_STRING='GNU Awk 4.0.0d'
+PACKAGE_VERSION='4.0.0e'
+PACKAGE_STRING='GNU Awk 4.0.0e'
PACKAGE_BUGREPORT='address@hidden'
PACKAGE_URL='http://www.gnu.org/software/gawk/'
@@ -1290,7 +1290,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 4.0.0d to adapt to many kinds of systems.
+\`configure' configures GNU Awk 4.0.0e to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1360,7 +1360,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of GNU Awk 4.0.0d:";;
+ short | recursive ) echo "Configuration of GNU Awk 4.0.0e:";;
esac
cat <<\_ACEOF
@@ -1472,7 +1472,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-GNU Awk configure 4.0.0d
+GNU Awk configure 4.0.0e
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2176,7 +2176,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 4.0.0d, which was
+It was created by GNU Awk $as_me 4.0.0e, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -3011,7 +3011,7 @@ fi
# Define the identity of the package.
PACKAGE='gawk'
- VERSION='4.0.0d'
+ VERSION='4.0.0e'
cat >>confdefs.h <<_ACEOF
@@ -11221,7 +11221,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 4.0.0d, which was
+This file was extended by GNU Awk $as_me 4.0.0e, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -11289,7 +11289,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //;
s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-GNU Awk config.status 4.0.0d
+GNU Awk config.status 4.0.0e
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
diff --git a/configure.ac b/configure.ac
index 9eacc40..df7e5a0 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], 4.0.0d, address@hidden, gawk)
+AC_INIT([GNU Awk], 4.0.0e, address@hidden, gawk)
# This is a hack. Different versions of install on different systems
# are just too different. Chuck it and use install-sh.
diff --git a/pc/config.h b/pc/config.h
index c0143f3..1191c17 100644
--- a/pc/config.h
+++ b/pc/config.h
@@ -425,7 +425,7 @@
#define PACKAGE_NAME "GNU Awk"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU Awk 4.0.0d"
+#define PACKAGE_STRING "GNU Awk 4.0.0e"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gawk"
@@ -434,7 +434,7 @@
#define PACKAGE_URL "http://www.gnu.org/software/gawk/"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "4.0.0d"
+#define PACKAGE_VERSION "4.0.0e"
/* Define to 1 if *printf supports %F format */
#undef PRINTF_HAS_F_FORMAT
@@ -496,7 +496,7 @@
/* Version number of package */
-#define VERSION "4.0.0d"
+#define VERSION "4.0.0e"
/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS
diff --git a/po/da.gmo b/po/da.gmo
index 0b86e1b..0270b5c 100644
Binary files a/po/da.gmo and b/po/da.gmo differ
diff --git a/po/da.po b/po/da.po
index b4fb05e..bb9d3b9 100644
--- a/po/da.po
+++ b/po/da.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gawk 3.1.83\n"
"Report-Msgid-Bugs-To: address@hidden"
-"POT-Creation-Date: 2011-11-01 22:58+0200\n"
+"POT-Creation-Date: 2011-11-14 21:46+0200\n"
"PO-Revision-Date: 2011-05-22 10:37+0200\n"
"Last-Translator: Keld Simonsen <address@hidden>\n"
"Language-Team: Danish <address@hidden>\n"
diff --git a/po/de.gmo b/po/de.gmo
index 57013d8..f068278 100644
Binary files a/po/de.gmo and b/po/de.gmo differ
diff --git a/po/de.po b/po/de.po
index 19785ab..2c1c626 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gawk 4.0.0\n"
"Report-Msgid-Bugs-To: address@hidden"
-"POT-Creation-Date: 2011-11-01 22:58+0200\n"
+"POT-Creation-Date: 2011-11-14 21:46+0200\n"
"PO-Revision-Date: 2011-09-27 16:38+0200\n"
"Last-Translator: Philipp Thomas <address@hidden>\n"
"Language-Team: German <address@hidden>\n"
diff --git a/po/es.gmo b/po/es.gmo
index 36b57c9..7df5fab 100644
Binary files a/po/es.gmo and b/po/es.gmo differ
diff --git a/po/es.po b/po/es.po
index 8f063a3..fd28a8a 100644
--- a/po/es.po
+++ b/po/es.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gawk 4.0.0\n"
"Report-Msgid-Bugs-To: address@hidden"
-"POT-Creation-Date: 2011-11-01 22:58+0200\n"
+"POT-Creation-Date: 2011-11-14 21:46+0200\n"
"PO-Revision-Date: 2011-08-14 12:02-0500\n"
"Last-Translator: Cristian Othón MartÃnez Vera <address@hidden>\n"
"Language-Team: Spanish <address@hidden>\n"
diff --git a/po/fi.gmo b/po/fi.gmo
index 8f2ed4e..abe20e1 100644
Binary files a/po/fi.gmo and b/po/fi.gmo differ
diff --git a/po/fi.po b/po/fi.po
index 1da166b..c698f56 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gawk 4.0.0\n"
"Report-Msgid-Bugs-To: address@hidden"
-"POT-Creation-Date: 2011-11-01 22:58+0200\n"
+"POT-Creation-Date: 2011-11-14 21:46+0200\n"
"PO-Revision-Date: 2011-09-12 12:14+0200\n"
"Last-Translator: Jorma Karvonen <address@hidden>\n"
"Language-Team: Finnish <address@hidden>\n"
diff --git a/po/fr.gmo b/po/fr.gmo
index 01710ef..49267fd 100644
Binary files a/po/fr.gmo and b/po/fr.gmo differ
diff --git a/po/fr.po b/po/fr.po
index a590a9f..b43094c 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gawk 4.0.0\n"
"Report-Msgid-Bugs-To: address@hidden"
-"POT-Creation-Date: 2011-11-01 22:58+0200\n"
+"POT-Creation-Date: 2011-11-14 21:46+0200\n"
"PO-Revision-Date: 2011-07-16 16:50+0200\n"
"Last-Translator: Jean-Philippe Guérard <address@hidden"
"org>\n"
diff --git a/po/gawk.pot b/po/gawk.pot
index 3119cdc..aa30ff3 100644
--- a/po/gawk.pot
+++ b/po/gawk.pot
@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: gawk 4.0.0d\n"
+"Project-Id-Version: gawk 4.0.0e\n"
"Report-Msgid-Bugs-To: address@hidden"
-"POT-Creation-Date: 2011-11-01 22:58+0200\n"
+"POT-Creation-Date: 2011-11-14 21:46+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <address@hidden>\n"
"Language-Team: LANGUAGE <address@hidden>\n"
diff --git a/po/it.gmo b/po/it.gmo
index 93ba1d2..597024e 100644
Binary files a/po/it.gmo and b/po/it.gmo differ
diff --git a/po/it.po b/po/it.po
index 29cb015..4fd0974 100644
--- a/po/it.po
+++ b/po/it.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gawk 3.1.81\n"
"Report-Msgid-Bugs-To: address@hidden"
-"POT-Creation-Date: 2011-11-01 22:58+0200\n"
+"POT-Creation-Date: 2011-11-14 21:46+0200\n"
"PO-Revision-Date: 2011-03-19 16:52+0100\n"
"Last-Translator: Antonio Colombo <address@hidden>\n"
"Language-Team: Italian <address@hidden>\n"
diff --git a/po/ja.gmo b/po/ja.gmo
index 3effd20..c349e1b 100644
Binary files a/po/ja.gmo and b/po/ja.gmo differ
diff --git a/po/ja.po b/po/ja.po
index dc42614..19c654f 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gawk 4.0.0\n"
"Report-Msgid-Bugs-To: address@hidden"
-"POT-Creation-Date: 2011-11-01 22:58+0200\n"
+"POT-Creation-Date: 2011-11-14 21:46+0200\n"
"PO-Revision-Date: 2011-07-17 08:28+0900\n"
"Last-Translator: Yasuaki Taniguchi <address@hidden>\n"
"Language-Team: Japanese <address@hidden>\n"
diff --git a/po/nl.gmo b/po/nl.gmo
index 4b3fd50..52f492d 100644
Binary files a/po/nl.gmo and b/po/nl.gmo differ
diff --git a/po/nl.po b/po/nl.po
index d47100e..ecb4165 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gawk 4.0.0\n"
"Report-Msgid-Bugs-To: address@hidden"
-"POT-Creation-Date: 2011-11-01 22:58+0200\n"
+"POT-Creation-Date: 2011-11-14 21:46+0200\n"
"PO-Revision-Date: 2011-07-17 21:44+0200\n"
"Last-Translator: Benno Schulenberg <address@hidden>\n"
"Language-Team: Dutch <address@hidden>\n"
diff --git a/po/pl.gmo b/po/pl.gmo
index 4d109af..f0b2f7c 100644
Binary files a/po/pl.gmo and b/po/pl.gmo differ
diff --git a/po/pl.po b/po/pl.po
index e46cb14..68aedb4 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gawk 3.1.81\n"
"Report-Msgid-Bugs-To: address@hidden"
-"POT-Creation-Date: 2011-11-01 22:58+0200\n"
+"POT-Creation-Date: 2011-11-14 21:46+0200\n"
"PO-Revision-Date: 2011-05-14 11:41-0400\n"
"Last-Translator: Wojciech Polak <address@hidden>\n"
"Language-Team: Polish <address@hidden>\n"
diff --git a/po/sv.gmo b/po/sv.gmo
index 1d3753e..79e809b 100644
Binary files a/po/sv.gmo and b/po/sv.gmo differ
diff --git a/po/sv.po b/po/sv.po
index c297e52..874798c 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gawk 4.0.0\n"
"Report-Msgid-Bugs-To: address@hidden"
-"POT-Creation-Date: 2011-11-01 22:58+0200\n"
+"POT-Creation-Date: 2011-11-14 21:46+0200\n"
"PO-Revision-Date: 2011-07-16 15:20+0200\n"
"Last-Translator: Göran Uddeborg <address@hidden>\n"
"Language-Team: Swedish <address@hidden>\n"
diff --git a/version.c b/version.c
index 1ebd3d6..8187d1a 100644
--- a/version.c
+++ b/version.c
@@ -1,3 +1,3 @@
#include "config.h"
-const char *version_string = "GNU Awk 4.0.0d";
+const char *version_string = "GNU Awk 4.0.0e";
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=9af44f959b1591daf2f7d2953dbdd3e868044d27
commit 9af44f959b1591daf2f7d2953dbdd3e868044d27
Author: Arnold D. Robbins <address@hidden>
Date: Mon Nov 14 21:45:19 2011 +0200
Bug fix in debugger - switch/case line numbers.
diff --git a/ChangeLog b/ChangeLog
index b8397f5..a7a8be6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-14 John Haque <address@hidden>
+
+ * debug.c (set_breakpoint_at): Fix problem with setting
+ breakpoints in a switch statement. Thanks to Giorgio Palandri
+ <address@hidden> for the bug report.
+
2011-11-14 Arnold D. Robbins <address@hidden>
* mbsupport.h: Add check for HAVE_BTOWC, per Pat Rankin.
diff --git a/debug.c b/debug.c
index 29ce8b1..0a66b46 100644
--- a/debug.c
+++ b/debug.c
@@ -2231,6 +2231,23 @@ set_breakpoint_at(INSTRUCTION *rp, int lineno, int
silent)
INSTRUCTION *ip, *prevp;
for (prevp = rp, ip = rp->nexti; ip; prevp = ip, ip = ip->nexti) {
+ if (ip->opcode == Op_K_case) {
+ INSTRUCTION *i1, *i2;
+
+ /* Special case: the code line numbers for a switch do
not form
+ * a monotonically increasing sequence. Check if the
line # is between
+ * the first and last statements of the case block
before continuing
+ * the search.
+ */
+ for (i2 = ip->stmt_start, i1 = i2->nexti; i2 !=
ip->stmt_end;
+ i2 = i1, i1 =
i1->nexti) {
+ if (i1->source_line >= lineno)
+ return add_breakpoint(i2, i1,
rp->source_file, silent);
+ if (i1 == ip->stmt_end)
+ break;
+ }
+ }
+
if (ip->source_line >= lineno)
return add_breakpoint(prevp, ip, rp->source_file,
silent);
if (ip == (rp + 1)->lasti)
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=169aedcf3822c4b37b58d01ce97210839496e484
commit 169aedcf3822c4b37b58d01ce97210839496e484
Author: Arnold D. Robbins <address@hidden>
Date: Mon Nov 14 21:44:06 2011 +0200
Add a new item.
diff --git a/FUTURES b/FUTURES
index 0257410..6b57056 100644
--- a/FUTURES
+++ b/FUTURES
@@ -26,6 +26,9 @@ For 4.1
Continue code reviews / code cleanup
+ Consider making gawk output +nan for NaN values so that it
+ will accept its own output as input.
+
For 4.2
=======
Implement designed API for loadable modules
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=cceacad1d367b3019a5648521d4b4c0e201297f5
commit cceacad1d367b3019a5648521d4b4c0e201297f5
Author: Arnold D. Robbins <address@hidden>
Date: Mon Nov 14 21:43:44 2011 +0200
More changes for non-MBS case.
diff --git a/ChangeLog b/ChangeLog
index 0b440a9..b8397f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-11-14 Arnold D. Robbins <address@hidden>
+
+ * mbsupport.h: Add check for HAVE_BTOWC, per Pat Rankin.
+
+2011-11-12 Eli Zaretskii <address@hidden>
+
+ * mbsupport.h: Additional glop for dfa.c in Windows environment.
+
2011-11-01 Arnold D. Robbins <address@hidden>
* dfa.c: Move glop for ! MBS_SUPPORT to ...
diff --git a/mbsupport.h b/mbsupport.h
index 1a30785..57abaa6 100644
--- a/mbsupport.h
+++ b/mbsupport.h
@@ -40,6 +40,7 @@
#if defined(HAVE_ISWCTYPE) \
&& defined(HAVE_LOCALE_H) \
+ && defined(HAVE_BTOWC) \
&& defined(HAVE_MBRLEN) \
&& defined(HAVE_MBRTOWC) \
&& defined(HAVE_WCHAR_H) \
@@ -70,10 +71,11 @@
/* All this glop is for dfa.c. Bleah. */
+#define wchar_t char
#define wctype_t int
-#define wint_t int
+#define wint_t int
#define mbstate_t int
-#define WEOF EOF
+#define WEOF EOF
#define towupper toupper
#define towlower tolower
#define btowc(x) (x)
diff --git a/missing_d/ChangeLog b/missing_d/ChangeLog
index 45cc1ac..4a06aa6 100644
--- a/missing_d/ChangeLog
+++ b/missing_d/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-02 Pat Rankin <address@hidden>
+
+ * wcmisc.c: Make code be conditional upon corresponding !HAVE_WCxxx.
+
2011-11-01 Arnold D. Robbins <address@hidden>
* wcmisc.c: New file.
diff --git a/missing_d/wcmisc.c b/missing_d/wcmisc.c
index e53730e..d2b7aa0 100644
--- a/missing_d/wcmisc.c
+++ b/missing_d/wcmisc.c
@@ -16,8 +16,9 @@
Foundation, Inc.,
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA */
+#if !defined(HAVE_WCTYPE) || !defined(HAVE_ISWCTYPE)
static const char *classes[] = {
- "<dummy>",
+ "<dummy>",
"alnum",
"alpha",
"blank",
@@ -32,12 +33,16 @@ static const char *classes[] = {
"xdigit",
NULL
};
+#endif
+#ifndef HAVE_ISWCTYPE
static int is_blank (int c)
{
return (c == ' ' || c == '\t');
}
+#endif
+#ifndef HAVE_WCTYPE
wctype_t wctype(const char *name)
{
int i;
@@ -48,7 +53,9 @@ wctype_t wctype(const char *name)
return 0;
}
+#endif
+#ifndef HAVE_ISWCTYPE
int iswctype(wint_t wc, wctype_t desc)
{
int j = sizeof(classes) / sizeof(classes[0]);
@@ -72,7 +79,9 @@ int iswctype(wint_t wc, wctype_t desc)
default: return 0;
}
}
+#endif
+#ifndef HAVE_WCSCOLL
int wcscoll(const wchar_t *ws1, const wchar_t *ws2)
{
size_t i;
@@ -86,3 +95,6 @@ int wcscoll(const wchar_t *ws1, const wchar_t *ws2)
return (ws1[i] - ws2[i]);
}
+#endif
+
+/*wcmisc.c*/
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=7e8f32c84caa4c2a99e4cea09fa25c5ae9722784
commit 7e8f32c84caa4c2a99e4cea09fa25c5ae9722784
Author: Arnold D. Robbins <address@hidden>
Date: Mon Nov 14 21:42:42 2011 +0200
Minor doc fixes in man page.
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 64fe7a3..dec5ddc 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-10 Arnold D. Robbins <address@hidden>
+
+ * gawk.1: Fix some .BR to be .B.
+
2011-11-08 Arnold D. Robbins <address@hidden>
* gawk.texi: Further improvement in the discussion of sorted array
diff --git a/doc/gawk.1 b/doc/gawk.1
index 205eb38..e26f9a2 100644
--- a/doc/gawk.1
+++ b/doc/gawk.1
@@ -14,7 +14,7 @@
. if \w'\(rq' .ds rq "\(rq
. \}
.\}
-.TH GAWK 1 "May 29 2011" "Free Software Foundation" "Utility Commands"
+.TH GAWK 1 "Nov 10 2011" "Free Software Foundation" "Utility Commands"
.SH NAME
gawk \- pattern scanning and processing language
.SH SYNOPSIS
@@ -782,7 +782,7 @@ each field is made up of text that matches that regular
expression. In
this case, the regular expression describes the fields themselves,
instead of the text that separates the fields.
Assigning a new value to
-.BR FS
+.B FS
or
.B FIELDWIDTHS
overrides the use of
@@ -2089,7 +2089,7 @@ Sends data to a co-process or socket.
below.)
.PP
The
-.BR getline
+.B getline
command returns 1 on success, 0 on end of file, and \-1 on an error.
Upon an error,
.B ERRNO
@@ -2234,9 +2234,9 @@ For
and
.BR %X ,
supply a leading
-.BR 0x
+.B 0x
or
-.BR 0X
+.B 0X
for
a nonzero result.
For
@@ -2517,7 +2517,7 @@ a second array if you wish to preserve the original.
The purpose of the optional string
.I how
is the same as described in
-.BR asort()
+.B asort()
above.
.TP
\fBgensub(\fIr\fB, \fIs\fB, \fIh \fR[\fB, \fIt\fR]\fB)\fR
@@ -2589,7 +2589,7 @@ to get a literal
(This must be typed as \fB"\e\e&"\fP;
see \*(EP
for a fuller discussion of the rules for
-.BR &'s
+.BR & 's
and backslashes in the replacement text of
.BR sub() ,
.BR gsub() ,
@@ -3275,7 +3275,7 @@ the
array; the
.BR \ea ,
and
-.BR \ev
+.B \ev
escape sequences (done originally in
.I gawk
and fed back into the Bell Laboratories version); the
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=8ed7ce1717bf35f9cd268e21056b0c2fc5485cf5
commit 8ed7ce1717bf35f9cd268e21056b0c2fc5485cf5
Author: Arnold D. Robbins <address@hidden>
Date: Mon Nov 14 21:41:59 2011 +0200
VMS fixes, MBS related, sort of.
diff --git a/vms/ChangeLog b/vms/ChangeLog
index 9a3ffd7..62db87e 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,3 +1,14 @@
+2011-11-02 Pat Rankin <address@hidden>
+
+ * vms-conf.h (HAVE_SETSID, HAVE_SYS_IOCTL): Add but leave undef'd.
+ (HAVE_ISWCTYPE, HAVE_ISWLOWER, HAVE_ISWUPPER, HAVE_MBRLEN,
+ HAVE_MBRTOWC, HAVE_TOWLOWER, HAVE_TOWUPPER, HAVE_WCHAR_H,
+ HAVE_WCRTOMB, HAVE_WCSCOLL, HAVE_WCTYPE, HAVE_WCTYPE_H,
+ HAVE_WCTYPE_T): Define as 1 since DEC C supports all these.
+
+ * descrip.mms (replace.obj): Add dependencies for missing_d/*.c.
+ * vmstest.com (unix_tests): Fix typo in spelling of rtlen01.
+
2011-10-30 Pat Rankin <address@hidden>
* vmstest.com (fpat3, fwtest3, getline5, gsubtst7, gsubtst8,
diff --git a/vms/descrip.mms b/vms/descrip.mms
index 967a312..40b97eb 100644
--- a/vms/descrip.mms
+++ b/vms/descrip.mms
@@ -48,6 +48,7 @@
# location of various source files, relative to the 'main' directory
VMSDIR = [.vms]
DOCDIR = [.doc]
+MISSNGD = [.missing_d]
MAKEFILE = $(VMSDIR)Descrip.MMS
# debugging &c !'ccflags' is an escape to allow external compile flags
@@ -226,6 +227,13 @@ awkgram.obj : awkgram.c awk.h
dfa.obj : dfa.c dfa.h
regex.obj : regex.c regcomp.c regex_internal.c regexec.c regex.h
regex_internal.h
command.obj,debug.obj : cmd.h
+replace.obj : replace.c $(MISSNGD)system.c $(MISSNGD)memcmp.c \
+ $(MISSNGD)memcpy.c $(MISSNGD)memset.c $(MISSNGD)memmove.c \
+ $(MISSNGD)strncasecmp.c $(MISSNGD)strerror.c \
+ $(MISSNGD)strftime.c $(MISSNGD)strchr.c $(MISSNGD)strtod.c \
+ $(MISSNGD)strtoul.c $(MISSNGD)tzset.c $(MISSNGD)mktime.c \
+ $(MISSNGD)snprintf.c $(MISSNGD)getaddrinfo.c
$(MISSNGD)usleep.c \
+ $(MISSNGD)setenv.c $(MISSNGD)strcoll.c $(MISSNGD)wcmisc.c
# bison or yacc required
awkgram.c : awkgram.y # foo.y :: yacc => y[_]tab.c, bison => foo_tab.c
diff --git a/vms/vms-conf.h b/vms/vms-conf.h
index cbdc950..c42118f 100644
--- a/vms/vms-conf.h
+++ b/vms/vms-conf.h
@@ -128,13 +128,13 @@
#define HAVE_ISASCII 1
/* Define to 1 if you have the `iswctype' function. */
-#undef HAVE_ISWCTYPE
+#define HAVE_ISWCTYPE 1
/* Define to 1 if you have the `iswlower' function. */
-#undef HAVE_ISWLOWER
+#define HAVE_ISWLOWER 1
/* Define to 1 if you have the `iswupper' function. */
-#undef HAVE_ISWUPPER
+#define HAVE_ISWUPPER 1
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#undef HAVE_LANGINFO_CODESET
@@ -167,10 +167,10 @@
#undef HAVE_LONG_LONG_INT
/* Define to 1 if you have the `mbrlen' function. */
-#undef HAVE_MBRLEN
+#define HAVE_MBRLEN 1
/* Define to 1 if mbrtowc and mbstate_t are properly declared. */
-#undef HAVE_MBRTOWC
+#define HAVE_MBRTOWC 1
/* Define to 1 if you have the <mcheck.h> header file. */
#undef HAVE_MCHECK_H
@@ -214,6 +214,9 @@
/* Define to 1 if you have the `setlocale' function. */
#undef HAVE_SETLOCALE
+/* Define to 1 if you have the `setsid' function. */
+#undef HAVE_SETSID
+
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
@@ -289,6 +292,9 @@
/* Define to 1 if you have the `system' function. */
#define HAVE_SYSTEM 1
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
+#undef HAVE_SYS_IOCTL_H
+
/* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
@@ -322,10 +328,10 @@
#undef HAVE_TM_ZONE
/* Define to 1 if you have the `towlower' function. */
-#undef HAVE_TOWLOWER
+#define HAVE_TOWLOWER 1
/* Define to 1 if you have the `towupper' function. */
-#undef HAVE_TOWUPPER
+#define HAVE_TOWUPPER 1
/* Define to 1 if you don't have `tm_zone' but do have the external array
`tzname'. */
@@ -357,22 +363,22 @@
#define HAVE_VPRINTF 1
/* Define to 1 if you have the <wchar.h> header file. */
-#undef HAVE_WCHAR_H
+#define HAVE_WCHAR_H 1
/* Define to 1 if you have the `wcrtomb' function. */
-#undef HAVE_WCRTOMB
+#define HAVE_WCRTOMB 1
/* Define to 1 if you have the `wcscoll' function. */
-#undef HAVE_WCSCOLL
+#define HAVE_WCSCOLL 1
/* Define to 1 if you have the `wctype' function. */
-#undef HAVE_WCTYPE
+#define HAVE_WCTYPE 1
/* Define to 1 if you have the <wctype.h> header file. */
-#undef HAVE_WCTYPE_H
+#define HAVE_WCTYPE_H 1
/* systems should define this type here */
-#undef HAVE_WCTYPE_T
+#define HAVE_WCTYPE_T 1
/* systems should define this type here */
#undef HAVE_WINT_T
diff --git a/vms/vmstest.com b/vms/vmstest.com
index f35a9ad..146053e 100644
--- a/vms/vmstest.com
+++ b/vms/vmstest.com
@@ -89,7 +89,7 @@ $
$unix:
$unix_tests: echo "unix_tests..."
$ list = "fflush getlnhd localenl pid pipeio1 pipeio2" -
- + " poundbang rtlen relen01 space strftlng"
+ + " poundbang rtlen rtlen01 space strftlng"
$ gosub list_of_tests
$ return
$
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 14 ++++++++++++++
FUTURES | 3 +++
configure | 20 ++++++++++----------
configure.ac | 2 +-
debug.c | 17 +++++++++++++++++
doc/ChangeLog | 4 ++++
doc/gawk.1 | 16 ++++++++--------
mbsupport.h | 6 ++++--
missing_d/ChangeLog | 4 ++++
missing_d/wcmisc.c | 14 +++++++++++++-
pc/config.h | 6 +++---
po/da.gmo | Bin 48739 -> 48739 bytes
po/da.po | 2 +-
po/de.gmo | Bin 52166 -> 52166 bytes
po/de.po | 2 +-
po/es.gmo | Bin 51471 -> 51471 bytes
po/es.po | 2 +-
po/fi.gmo | Bin 51684 -> 51684 bytes
po/fi.po | 2 +-
po/fr.gmo | Bin 53311 -> 53311 bytes
po/fr.po | 2 +-
po/gawk.pot | 4 ++--
po/it.gmo | Bin 44316 -> 44316 bytes
po/it.po | 2 +-
po/ja.gmo | Bin 55596 -> 55596 bytes
po/ja.po | 2 +-
po/nl.gmo | Bin 49267 -> 49267 bytes
po/nl.po | 2 +-
po/pl.gmo | Bin 50946 -> 50946 bytes
po/pl.po | 2 +-
po/sv.gmo | Bin 48752 -> 48752 bytes
po/sv.po | 2 +-
version.c | 2 +-
vms/ChangeLog | 11 +++++++++++
vms/descrip.mms | 8 ++++++++
vms/vms-conf.h | 32 +++++++++++++++++++-------------
vms/vmstest.com | 2 +-
37 files changed, 133 insertions(+), 52 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. 1e9ffdd82158abb274eb512f53f5d1d771015751,
Arnold Robbins <=