diff options
Diffstat (limited to 'Build/source')
-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) { |