diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2014-01-14 05:39:35 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2014-01-14 05:39:35 +0000 |
commit | 58b77341b2ac292f26c7c3049f0feb9136d09cb3 (patch) | |
tree | a64a62a50f6bc1e9de88864b5510fe8a730d3059 | |
parent | 5fef6cd2ed2fb4cd1e9a49bf995a935a73facf96 (diff) |
Use fsyscp_system() (Windows only).
git-svn-id: svn://tug.org/texlive/trunk@32669 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog index 205e95d0a82..39f34ca2c7d 100644 --- a/Build/source/texk/web2c/lib/ChangeLog +++ b/Build/source/texk/web2c/lib/ChangeLog @@ -1,3 +1,7 @@ +2014-01-14 Akira Kakuto <kakuto@fuk.kinidai.ac.jp> + + * texmfmp.c: use fsyscp_system indtead of system (Windows only). + 2013-12-31 TANAKA Takuji <KXD02663@nifty.ne.jp> * openclose.c: bug fix about error check when fopen. diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index 4ae5c262602..e138136c94c 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -486,7 +486,12 @@ shell_cmd_is_allowed (const char *cmd, char **safecmd, char **cmdname) 1 if shell escapes are not restricted, hence any command is allowed. 2 if shell escapes are restricted and CMD is allowed (possibly after quoting). */ - + +#ifdef WIN32 +#undef system +#define system fsyscp_system +#endif + int runsystem (const char *cmd) { |