summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-05 10:53:55 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-05 10:53:55 +0000
commit1252294c95d0521ec9602ea9824aeb69bcabf7c0 (patch)
treeb4bf7829a78e1f1e2fb63623d8f4d31979a7298f
parentc6d945b937015079bc389b365658f0288cc717d4 (diff)
declare shell commands for luaTeX
git-svn-id: svn://tug.org/texlive/trunk@12932 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/ChangeLog7
-rw-r--r--Build/source/texk/web2c/texmfmp.h10
2 files changed, 15 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index 6414c2a7691..6d61844e467 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,10 @@
+2009-05-05 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * texmfmp.h: remove references to pdfeTeX.
+
+ * texmfmp.h (mk_shellcmdlist, init_shell_escape,
+ shell_cmd_is_allowed, runsystem): declare for luaTeX.
+
2009-04-17 Karl Berry <karl@tug.org>
* texmfmp.h (runsystem): declare.
diff --git a/Build/source/texk/web2c/texmfmp.h b/Build/source/texk/web2c/texmfmp.h
index efbd280522b..ce8a7795e92 100644
--- a/Build/source/texk/web2c/texmfmp.h
+++ b/Build/source/texk/web2c/texmfmp.h
@@ -105,7 +105,7 @@ extern boolean openinnameok P1H(const_string);
extern boolean openoutnameok P1H(const_string);
/* pdfTeX uses these for pipe support */
-#if defined(pdfTeX) || defined(pdfeTeX) || defined (luaTeX)
+#if defined(pdfTeX)
extern boolean open_in_or_pipe P3H(FILE **, int, const_string fopen_mode);
extern boolean open_out_or_pipe P2H(FILE **, const_string fopen_mode);
extern void close_file_or_pipe P1H(FILE *);
@@ -206,7 +206,7 @@ extern void setupboundvariable P3H(integer *, const_string, integer);
/* These defines reroute the file i/o calls to the new pipe-enabled
functions in texmfmp.c*/
-#if defined(pdfTeX) || defined(pdfeTeX)
+#if defined(pdfTeX)
#undef aopenin
#undef aopenout
#undef aclose
@@ -384,6 +384,12 @@ extern boolean open_in_or_pipe P3H(FILE **, int, const_string fopen_mode);
extern boolean open_out_or_pipe P2H(FILE **, const_string fopen_mode);
extern void close_file_or_pipe P1H(FILE *);
+/* Executing shell commands. */
+extern void mk_shellcmdlist (char *);
+extern void init_shell_escape (void);
+extern int shell_cmd_is_allowed (char **cmd, char **safecmd, char **cmdname);
+extern int runsystem (char *cmd);
+
#ifndef GLUERATIO_TYPE
#define GLUERATIO_TYPE double
#endif