summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ctiedir
diff options
context:
space:
mode:
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;