Added EBCDIC support to safe-ctype.h in include
Wed Jun 26 09:07:00 GMT 2002
DJ Delorie wrote:
>>+#define TOASCII(c) _sch_ebcasc[(c) & 0xff]
>>+#define TOEBCDIC(c) _sch_ascebc[(c) & 0xff]
>I would argue against TOASCII as toascii() has a different meaning in
>dos-based compilers (like i586-pc-msdosdjgpp) - it means strip a
>character to 7 bits.
>I would suggest something like ASCII2EBCSIC or ASCTOEBC so that it's
>more obvious what it's doing.
Do you want me to resubmit the patch with the above change or do you
patch the patch?
Dave Pitts PULLMAN: Travel and sleep in safety and comfort.
email@example.com My other RV IS a Pullman (Colorado Pine).
More information about the Gcc-patches