summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/lib/texmfmp.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-01-02 01:30:38 +0000
committerKarl Berry <karl@freefriends.org>2010-01-02 01:30:38 +0000
commit5fb86ace7d80ffee3979cb2b75680fc893a6ce21 (patch)
treeec3aeae337a76219cb989d048a9b2cfa2ddfea22 /Build/source/texk/web2c/lib/texmfmp.c
parent0d7c5d4849ed469e76ed339f72c25dfb24894c07 (diff)
"executed safely" in log file, since the cmd may have been quoted before executation
git-svn-id: svn://tug.org/texlive/trunk@16568 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib/texmfmp.c')
-rw-r--r--Build/source/texk/web2c/lib/texmfmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c
index 6e471b7132b..52ab3da4c9a 100644
--- a/Build/source/texk/web2c/lib/texmfmp.c
+++ b/Build/source/texk/web2c/lib/texmfmp.c
@@ -414,7 +414,8 @@ shell_cmd_is_allowed (const char *cmd, char **safecmd, char **cmdname)
0 if CMD is not allowed; given shellenabledp==1, this is because
shell escapes are restricted and CMD is not allowed.
1 if shell escapes are not restricted, hence any command is allowed.
- 2 if shell escapes are restricted and CMD is allowed. */
+ 2 if shell escapes are restricted and CMD is allowed (possibly after
+ quoting). */
int
runsystem (const char *cmd)