summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ctiedir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-28 13:27:05 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-28 13:27:05 +0000
commit63800a99fb223f2d7c4253c71a0488af1aede23e (patch)
treefcad34bcd26d2bba3158453e4482b8c0b681ba70 /Build/source/texk/web2c/ctiedir
parent5c8f5c4c20e8920b2f8e2c74653551163bda28de (diff)
Include the Autoconf generated headers always first
git-svn-id: svn://tug.org/texlive/trunk@31002 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ctiedir')
-rw-r--r--Build/source/texk/web2c/ctiedir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/ctiedir/ctie-k.ch18
2 files changed, 13 insertions, 10 deletions
diff --git a/Build/source/texk/web2c/ctiedir/ChangeLog b/Build/source/texk/web2c/ctiedir/ChangeLog
index ec8f665963c..4c5001aafe5 100644
--- a/Build/source/texk/web2c/ctiedir/ChangeLog
+++ b/Build/source/texk/web2c/ctiedir/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-28 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * ctie-k.ch: Include <stdio.h> after <kpathsea/kpathsea.h>.
+ Drop unused string variable 'file_open_mode'.
+
2012-05-18 Peter Breitenlohner <peb@mppmu.mpg.de>
* ctie-k.ch: Use binary mode for output files.
diff --git a/Build/source/texk/web2c/ctiedir/ctie-k.ch b/Build/source/texk/web2c/ctiedir/ctie-k.ch
index eb4cb2de0ca..b527aa373ea 100644
--- a/Build/source/texk/web2c/ctiedir/ctie-k.ch
+++ b/Build/source/texk/web2c/ctiedir/ctie-k.ch
@@ -111,6 +111,13 @@ extern char *strerror();
the \.{kpathsea} headers do the right thing.
@z
+@x l.173 The kpathsea include files must be first.
+#include <stdio.h>
+@y
+#include <kpathsea/kpathsea.h>
+#include <stdio.h>
+@z
+
@x l.176 And this.
@ And we need dynamic memory allocation.
This should cause no trouble in any \CEE/ program.
@@ -479,14 +486,5 @@ module number.
@^system dependencies@>
@y
@* System-dependent changes.
-We modify the program to use the \.{kpathsea} library.
-We need to include the headers first.
-
-@<Global \&{\#include}s@>=
-#include <kpathsea/kpathsea.h>
-
-@ A global variable for the file read mode.
-
-@<Global variables@>=
-string file_open_mode;
+There are no additional changes.
@z