aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-04-09 11:19:10 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-04-09 11:19:10 +0300
commit9091a155190093c3d2dbbed4bd29b0feec50c8ce (patch)
treec4ffb7997068829fa0093ac1efd7a59f484cfdc2
parent850078f7e3b3b777bb908fe15ca55f2c024721f2 (diff)
parent894bf983b22e22e46c1df0460a6f215ca21fc76e (diff)
downloadegawk-9091a155190093c3d2dbbed4bd29b0feec50c8ce.tar.gz
egawk-9091a155190093c3d2dbbed4bd29b0feec50c8ce.tar.bz2
egawk-9091a155190093c3d2dbbed4bd29b0feec50c8ce.zip
Merge branch 'master' into feature/wasted-byte
-rw-r--r--ChangeLog5
-rw-r--r--README_d/ChangeLog4
-rw-r--r--README_d/README.macosx9
-rw-r--r--custom.h4
-rw-r--r--test/ChangeLog9
-rw-r--r--test/Makefile.am24
-rw-r--r--test/Makefile.in24
-rw-r--r--test/fts.awk4
-rw-r--r--vms/ChangeLog4
-rw-r--r--vms/generate_config_vms_h_gawk.com3
10 files changed, 73 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index 2e9329c0..f94afcf8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-08 John E. Malmberg <wb8tyw@qsl.net>
+
+ * custom.h: VMS shares some code paths with ZOS_USS in
+ building gawkfts extension.
+
2015-04-08 Arnold D. Robbins <arnold@skeeve.com>
Factor out opening of /dev/XXX files from /inet.
diff --git a/README_d/ChangeLog b/README_d/ChangeLog
index 8c19cfdb..8fe1b447 100644
--- a/README_d/ChangeLog
+++ b/README_d/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-09 Arnold D. Robbins <arnold@skeeve.com>
+
+ * README.macosx: New file.
+
2014-08-12 Juergen Kahrs <jkahrs@users.sourceforge.net>
* README.cmake: Moved file from top-level to here.
diff --git a/README_d/README.macosx b/README_d/README.macosx
new file mode 100644
index 00000000..884ad59a
--- /dev/null
+++ b/README_d/README.macosx
@@ -0,0 +1,9 @@
+Thu Apr 9 10:39:26 IDT 2015
+============================
+
+There are reports of compilation issues on Mac OS X 10.10 (Yosemite).
+The only compiler reported to have produced a complete pass of
+"make check" is the MacPorts compiler, /opt/local/bin/clang-mp-3.5.
+
+Arnold Robbins
+arnold@skeeve.com
diff --git a/custom.h b/custom.h
index efaa0f27..1f57a83a 100644
--- a/custom.h
+++ b/custom.h
@@ -59,8 +59,8 @@
#define _TZSET 1
#endif
-/* For z/OS, from Dave Pitts */
-#ifdef ZOS_USS
+/* For z/OS, from Dave Pitts - VMS using some ZOS_USS code paths */
+#if defined(ZOS_USS) && !defined(__VMS)
#undef HAVE_DLFCN_H
#undef HAVE_SYS_PARAM_H
#undef HAVE_MCHECK_H
diff --git a/test/ChangeLog b/test/ChangeLog
index 1aafb685..a04e4064 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,12 @@
+2015-04-09 Arnold D. Robbins <arnold@skeeve.com>
+
+ * fts.awk: Skip atime to avoid spurious timestamp
+ differences. Thanks to Nelson Beebe for pointing this out.
+ * Makefile.am (charset-all): Group the charset tests
+ inside a check for locale support. Thanks to Nelson Beebe
+ for finally motivating me to do this.
+ (charset-msg-start): Update test of message some.
+
2015-04-08 Eli Zaretskii <eliz@gnu.org>
* Makefile.am (mpfrmemok1): Use -p- for portability and
diff --git a/test/Makefile.am b/test/Makefile.am
index f6b31fbd..d7e96353 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1145,7 +1145,7 @@ check: msg \
unix-msg-start unix-tests unix-msg-end \
extend-msg-start gawk-extensions extend-msg-end \
machine-msg-start machine-tests machine-msg-end \
- charset-msg-start charset-tests charset-msg-end \
+ charset-tests-all \
shlib-msg-start shlib-tests shlib-msg-end \
mpfr-msg-start mpfr-tests mpfr-msg-end
@$(MAKE) pass-fail || { $(MAKE) diffout; exit 1; }
@@ -1156,6 +1156,16 @@ unix-tests: $(UNIX_TESTS)
gawk-extensions: $(GAWK_EXT_TESTS)
+charset-tests-all:
+ @if locale -a | grep -i 'en_US.UTF.*8' > /dev/null && \
+ locale -a | grep -i 'ru_RU.UTF.*8' > /dev/null && \
+ locale -a | grep -i 'ja_JP.UTF.*8' > /dev/null ; \
+ then \
+ $(MAKE) charset-msg-start charset-tests charset-msg-end; \
+ else \
+ echo %%%%%%%%%% Inadequate locale support: skipping charset tests. ; \
+ fi
+
charset-tests: $(LOCALE_CHARSET_TESTS)
extra: $(EXTRA_TESTS) inet
@@ -1218,12 +1228,12 @@ machine-msg-end:
charset-msg-start:
@echo "======== Starting tests that can vary based on character set or locale support ========"
- @echo "************************************************"
- @echo "** Some or all of these tests may fail if you **"
- @echo "** have inadequate or missing locale support **"
- @echo "** At least en_US.UTF-8, ru_RU.UTF-8 and **"
- @echo "** ja_JP.UTF-8 are needed. **"
- @echo "************************************************"
+ @echo "**************************************************************************"
+ @echo "* Some or all of these tests may fail if you have inadequate or missing *"
+ @echo "* locale support At least en_US.UTF-8, ru_RU.UTF-8 and ja_JP.UTF-8 are *"
+ @echo "* needed. However, if you see this message, the Makefile thinks you have *"
+ @echo "* what you need ... *"
+ @echo "**************************************************************************"
charset-msg-end:
@echo "======== Done with tests that can vary based on character set or locale support ========"
diff --git a/test/Makefile.in b/test/Makefile.in
index 6ed60596..5c7314f1 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1585,7 +1585,7 @@ check: msg \
unix-msg-start unix-tests unix-msg-end \
extend-msg-start gawk-extensions extend-msg-end \
machine-msg-start machine-tests machine-msg-end \
- charset-msg-start charset-tests charset-msg-end \
+ charset-tests-all \
shlib-msg-start shlib-tests shlib-msg-end \
mpfr-msg-start mpfr-tests mpfr-msg-end
@$(MAKE) pass-fail || { $(MAKE) diffout; exit 1; }
@@ -1596,6 +1596,16 @@ unix-tests: $(UNIX_TESTS)
gawk-extensions: $(GAWK_EXT_TESTS)
+charset-tests-all:
+ @if locale -a | grep -i 'en_US.UTF.*8' > /dev/null && \
+ locale -a | grep -i 'ru_RU.UTF.*8' > /dev/null && \
+ locale -a | grep -i 'ja_JP.UTF.*8' > /dev/null ; \
+ then \
+ $(MAKE) charset-msg-start charset-tests charset-msg-end; \
+ else \
+ echo %%%%%%%%%% Inadequate locale support: skipping charset tests. ; \
+ fi
+
charset-tests: $(LOCALE_CHARSET_TESTS)
extra: $(EXTRA_TESTS) inet
@@ -1658,12 +1668,12 @@ machine-msg-end:
charset-msg-start:
@echo "======== Starting tests that can vary based on character set or locale support ========"
- @echo "************************************************"
- @echo "** Some or all of these tests may fail if you **"
- @echo "** have inadequate or missing locale support **"
- @echo "** At least en_US.UTF-8, ru_RU.UTF-8 and **"
- @echo "** ja_JP.UTF-8 are needed. **"
- @echo "************************************************"
+ @echo "**************************************************************************"
+ @echo "* Some or all of these tests may fail if you have inadequate or missing *"
+ @echo "* locale support At least en_US.UTF-8, ru_RU.UTF-8 and ja_JP.UTF-8 are *"
+ @echo "* needed. However, if you see this message, the Makefile thinks you have *"
+ @echo "* what you need ... *"
+ @echo "**************************************************************************"
charset-msg-end:
@echo "======== Done with tests that can vary based on character set or locale support ========"
diff --git a/test/fts.awk b/test/fts.awk
index 70af560f..b1df0600 100644
--- a/test/fts.awk
+++ b/test/fts.awk
@@ -69,7 +69,9 @@ function traverse(data, i)
traverse(data[i])
}
Level--
- } else {
+ } else if (data[i] != "atime") {
+ # 4/2015: skip for atime, since there can
+ # occasionally be small differences.
indent()
printf("%s --> %s\n", i, data[i]) > output
}
diff --git a/vms/ChangeLog b/vms/ChangeLog
index b642248e..76d9a626 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-08 John E. Malmberg <wb8tyw@qsl.net>
+
+ * generate_config_vms_h_gawk.com: Add custom.h include.
+
2015-04-07 Arnold D. Robbins <arnold@skeeve.com>
* vmsbuild.com, descrip.mms: Bump patchlevel.
diff --git a/vms/generate_config_vms_h_gawk.com b/vms/generate_config_vms_h_gawk.com
index 12d3d6cf..eff43d78 100644
--- a/vms/generate_config_vms_h_gawk.com
+++ b/vms/generate_config_vms_h_gawk.com
@@ -287,6 +287,9 @@ $ write cvh " vms_status |= STS$K_SUCCESS;"
$ write cvh " }"
$ write cvh " decc$exit(vms_status);"
$ write cvh "}"
+$ write cvh ""
+$ write cvh "#include ""custom.h"""
+$ write cvh ""
$!
$! Close out the file
$!