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/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