]> Savannah Git Hosting - gnulib.git/commit
c-ctype: port better to z/OS EBCDIC
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Sep 2015 02:45:59 +0000 (19:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Sep 2015 02:46:50 +0000 (19:46 -0700)
commitff1ef114b420658fdf8ea3d812a80650047386d0
tree694ce9664e0c94bf2cb5bbedfbe9d167ab97703e
parentf8fe25fab60e3c687a12446984bb475342956bb8
c-ctype: port better to z/OS EBCDIC

Problems reported by Daniel Richard G. in:
http://lists.gnu.org/archive/html/bug-gnulib/2015-09/msg00050.html
* lib/c-ctype.h (_C_CTYPE_CNTRL): Rewrite in terms of
the C standard escapes and _C_CTYPE_OTHER_CNTRL.
(_C_CTYPE_OTHER_CNTRL): New macro.
* tests/test-c-ctype.c (test_all): Test from CHAR_MIN, not
from SCHAR_MIN, as the functions are defined only from values
promoted from char or from unsigned char, not necessarily from
signed char.
ChangeLog
lib/c-ctype.h
tests/test-c-ctype.c