ctype functions require their argument to be EOF or representable as an
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 11 Jan 2009 14:17:57 +0000 (14:17 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 11 Jan 2009 14:17:57 +0000 (14:17 +0000)
commit273ef1a19b9f44a1dbe4365e66d854879415ff5a
tree57c5624e6671f41eedf0bd57cb6f7ee24a5a96f5
parent2780033c4a0de98250091a54a3a3edde6da461fc
ctype functions require their argument to be EOF or representable as an
unsigned char.  On platforms were char is signed, passing plain char won't
cut it.  Make sure we case chars to unsigned char before passing them to
tolower().

git-svn-id: svn://svn.tartarus.org/sgt/charset@8404 cda61777-01e9-0310-a592-d414129be87e
emacsenc.c
localenc.c
mimeenc.c
xenc.c