summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/ChangeLog4
-rw-r--r--Build/source/texk/web2c/texmfmp.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index c02e71d2229..42c370001c8 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,7 @@
+2012-10-12 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * texmfmp.h: Support pipe except for tex.
+
2012-10-09 Peter Breitenlohner <peb@mppmu.mpg.de>
* ac/web2c.ac (kpse_tex_progs): Remove obsdcompat.
diff --git a/Build/source/texk/web2c/texmfmp.h b/Build/source/texk/web2c/texmfmp.h
index 98e5ca1668b..ce9c43500af 100644
--- a/Build/source/texk/web2c/texmfmp.h
+++ b/Build/source/texk/web2c/texmfmp.h
@@ -108,8 +108,8 @@ typedef void* voidpointer;
/* Hacks for TeX that are better not to #ifdef, see lib/openclose.c. */
extern int tfmtemp, texinputtype;
-/* pdfTeX uses these for pipe support */
-#if defined(pdfTeX)
+/* pdftex etc. except for tex use these for pipe support */
+#if defined(TeX) && !defined(onlyTeX)
extern boolean open_in_or_pipe (FILE **, int, const_string fopen_mode);
extern boolean open_out_or_pipe (FILE **, const_string fopen_mode);
extern void close_file_or_pipe (FILE *);