From edc2856a2ae2dc46037f85652440bd329b1a2c8a Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 2 Aug 2015 21:41:40 +0300 Subject: Rework zOS patches; keep separate from autotools. --- helpers/testdfa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpers') diff --git a/helpers/testdfa.c b/helpers/testdfa.c index 25a229a2..1e144bd7 100644 --- a/helpers/testdfa.c +++ b/helpers/testdfa.c @@ -668,7 +668,7 @@ char casetable[] = { C('\360'), C('\361'), C('\362'), C('\363'), C('\364'), C('\365'), C('\366'), C('\367'), C('\370'), C('\371'), C('\372'), C('\373'), C('\374'), C('\375'), C('\376'), C('\377'), }; -#elif 'a' == 0x81 /* it's EBCDIC */ +#elif defined(USE_EBCDIC) char casetable[] = { /*00 NU SH SX EX PF HT LC DL */ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, -- cgit v1.2.3 From d8ed23b4604a9366f9d532d614ab74943fb1748d Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 1 Sep 2015 06:00:19 +0300 Subject: ChangeLog entries for z/OS added. --- helpers/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'helpers') diff --git a/helpers/ChangeLog b/helpers/ChangeLog index 4188c17d..3215d159 100644 --- a/helpers/ChangeLog +++ b/helpers/ChangeLog @@ -1,3 +1,11 @@ +2015-08-28 Daniel Richard G. + + * testdfa.c: Define and use the USE_EBCDIC cpp symbol + instead of checking the value of 'a' whenever we want to know + if we're on an EBCDIC system. Also, don't assume that z/OS + necessarily means EBCDIC, as the compiler does have an ASCII + mode (-qascii). + 2015-05-27 Arnold D. Robbins * mb_cur_max.c, timeformat.c: New files. -- cgit v1.2.3