diff options
author | Karl Berry <karl@freefriends.org> | 2009-03-28 22:42:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-03-28 22:42:17 +0000 |
commit | ad0855bc768a844bde2ac650c6a6902de9889f02 (patch) | |
tree | 25d4ef80fbf871fb862229450397b22c23c64952 /Build | |
parent | b80e6202a69846a9384b2f484d10920a36042439 (diff) |
no static for shell cmd functions
git-svn-id: svn://tug.org/texlive/trunk@12552 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog index a1107c6bcb4..be183bf4ddd 100644 --- a/Build/source/texk/web2c/lib/ChangeLog +++ b/Build/source/texk/web2c/lib/ChangeLog @@ -1,3 +1,8 @@ +2009-03-28 Karl Berry <karl@tug.org> + + * texmfmp.c (mk_shellcmdlist, shell_cmd_is_allowed): not static, + so luatex can access. From Taco. + 2009-03-27 Taco Hoekwater <taco@luatex.org> * texmfmp.c (parse_options): add #ifndef luaTeX guard for diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index f52b6327fe3..22afe6fc4a5 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -154,7 +154,7 @@ static char **cmdlist = NULL; -static void +void mk_shellcmdlist (char *v) { char **p; @@ -281,7 +281,7 @@ free_shellcmdlist (void) should get executed. And we set CMDNAME to its first word; this is what is checked against the shell_escape_commands list. */ -static int +int shell_cmd_is_allowed (char **cmd, char **safecmd, char **cmdname) { char **p; |