summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ctiedir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-06-18 12:01:19 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-06-18 12:01:19 +0000
commit862f90359ce158a261692c35129db2e48ebdeaa6 (patch)
tree8e69b142c08856499e1178743db232d5ad4ad104 /Build/source/texk/web2c/ctiedir
parent18ae8c479214dcd927acae90b8c755da4077bf9e (diff)
web2c/ctiedir, web2c/cwebdir: Avoid useless char subscript warnings
git-svn-id: svn://tug.org/texlive/trunk@34289 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ctiedir')
-rw-r--r--Build/source/texk/web2c/ctiedir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/ctiedir/ctie-k.ch12
2 files changed, 16 insertions, 0 deletions
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 <peb@mppmu.mpg.de>
+
+ * ctie-k.ch: Avoid useless char subscript warnings.
+
2014-02-12 Peter Breitenlohner <peb@mppmu.mpg.de>
* 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 <stdio.h>
@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;