From 1252294c95d0521ec9602ea9824aeb69bcabf7c0 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Tue, 5 May 2009 10:53:55 +0000 Subject: declare shell commands for luaTeX git-svn-id: svn://tug.org/texlive/trunk@12932 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/ChangeLog | 7 +++++++ Build/source/texk/web2c/texmfmp.h | 10 ++++++++-- 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 + + * 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 * 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 -- cgit v1.2.3