From 862f90359ce158a261692c35129db2e48ebdeaa6 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Wed, 18 Jun 2014 12:01:19 +0000 Subject: web2c/ctiedir, web2c/cwebdir: Avoid useless char subscript warnings git-svn-id: svn://tug.org/texlive/trunk@34289 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/ctiedir/ChangeLog | 4 ++++ Build/source/texk/web2c/ctiedir/ctie-k.ch | 12 ++++++++++++ 2 files changed, 16 insertions(+) (limited to 'Build/source/texk/web2c/ctiedir') diff --git a/Build/source/texk/web2c/ctiedir/ChangeLog b/Build/source/texk/web2c/ctiedir/ChangeLog index 9e16d1d1e91..2ce0f61df9d 100644 --- a/Build/source/texk/web2c/ctiedir/ChangeLog +++ b/Build/source/texk/web2c/ctiedir/ChangeLog @@ -1,3 +1,7 @@ +2014-06-18 Peter Breitenlohner + + * ctie-k.ch: Avoid useless char subscript warnings. + 2014-02-12 Peter Breitenlohner * ctie-k.ch: Handle input lines with CRLF. diff --git a/Build/source/texk/web2c/ctiedir/ctie-k.ch b/Build/source/texk/web2c/ctiedir/ctie-k.ch index ebb0fa0d910..5741bb1c06d 100644 --- a/Build/source/texk/web2c/ctiedir/ctie-k.ch +++ b/Build/source/texk/web2c/ctiedir/ctie-k.ch @@ -111,6 +111,12 @@ extern char *strerror(); the \.{kpathsea} headers do the right thing. @z +@x l.149 +@d xisupper(c) (isupper(c)&&((unsigned char)c<0200)) +@y +@d xisupper(c) (isupper((unsigned char)c)&&((unsigned char)c<0200)) +@z + @x l.173 The kpathsea include files must be first. #include @y @@ -379,6 +385,12 @@ static void init_change_file (file_index i) @z +@x l.833 + if (xisupper(ccode)) ccode=tolower(ccode); +@y + if (xisupper(ccode)) ccode=tolower((unsigned char)ccode); +@z + @x l.858 void put_line(j) file_index j; -- cgit v1.2.3