This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to use more safe-ctype macros


>>>>> "DJ" == DJ Delorie <dj@redhat.com> writes:

>> (I asked for EBCDIC versions of safe-ctype months ago, and no one
>> responded.)

DJ> You may contribute a patch to add EBCDIC support if you wish.

If we add EBCDIC support to safe-ctype, then the changes to gjavah.c
are incorrect.  gjavah.c uses Unicode internally.  The current changes
"work" because Unicode is a superset of ASCII.  But if, say, ISALNUM
starts interpreting its argument as EBCDIC, then the code in
jni_print_char will be wrong.

Perhaps this means that the gjavah.c change is already incorrect.  I
don't know.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]