diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-10-04 11:22:56 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-10-04 11:22:56 +0300 |
commit | 2626d04d332dd87d4e6e9effe943dd6aa3d21cac (patch) | |
tree | 705737cb3eda7b80afaec1c0b22c620491e212e0 /helpers | |
parent | b08964cd1db8da56e2a16cebde05d493d4f6ae1b (diff) | |
parent | d992c45de5c007fc28a8e0cafec81bb9308a342c (diff) | |
download | egawk-2626d04d332dd87d4e6e9effe943dd6aa3d21cac.tar.gz egawk-2626d04d332dd87d4e6e9effe943dd6aa3d21cac.tar.bz2 egawk-2626d04d332dd87d4e6e9effe943dd6aa3d21cac.zip |
Merge branch 'gawk-4.1-stable' (zOS updates included)
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/ChangeLog | 8 | ||||
-rw-r--r-- | helpers/testdfa.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/helpers/ChangeLog b/helpers/ChangeLog index fb0cc109..ac00c1f5 100644 --- a/helpers/ChangeLog +++ b/helpers/ChangeLog @@ -1,3 +1,11 @@ +2015-08-28 Daniel Richard G. <skunk@iSKUNK.ORG> + + * 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 <arnold@skeeve.com> * mb_cur_max.c, timeformat.c: New files. diff --git a/helpers/testdfa.c b/helpers/testdfa.c index 2b773467..4495e11a 100644 --- a/helpers/testdfa.c +++ b/helpers/testdfa.c @@ -659,7 +659,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, |