[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] IBM z/OS + EBCDIC support

From: Paul Eggert
Subject: Re: [PATCH] IBM z/OS + EBCDIC support
Date: Wed, 23 Sep 2015 12:29:25 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

On 09/22/2015 11:58 PM, Daniel Richard G. wrote:
What about having a check in test-c-ctype that compares c_iscntrl() with
its system counterpart? If the assumption is that alternate EBCDIC
encodings used with Gnulib will agree with EBCDIC-1047 on these
characters, then that should be checked.

Good idea.  Done in the attached patch.

Also, perhaps, that any character for which c_iscntrl() is true should
return false from most of the other functions...

That's already tested by "ASSERT (! (c_iscntrl (c) && c_isprint (c)));".

Attachment: 0001-Test-that-c_iscntrl-agrees-with-iscntrl-etc.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]