diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2012-05-29 09:40:35 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2012-05-29 09:40:35 +0000 |
commit | b089e9998450457d272b9a93f37a47f75879fc54 (patch) | |
tree | 6598b557e46be9c4b4383b622c0412d8e6264e4b /Build | |
parent | 2380399231783ee57198e971d07c7172d914dbe2 (diff) |
fix a w32 bug
git-svn-id: svn://tug.org/texlive/trunk@26712 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/win32lib.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index 1fb829f5d34..e7c21fc460c 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,7 @@ +2012-05-29 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * win32lib.c: rewrite win32_system. + 2012-05-22 Karl Berry <karl@tug.org> * mktexmf: test $name for csso12*, not $rootname. diff --git a/Build/source/texk/kpathsea/win32lib.c b/Build/source/texk/kpathsea/win32lib.c index 47753c3a456..77dde008303 100644 --- a/Build/source/texk/kpathsea/win32lib.c +++ b/Build/source/texk/kpathsea/win32lib.c @@ -1100,6 +1100,9 @@ int __cdecl win32_system(const char *cmd) int len, ret; int spacep = 0; + if(cmd == NULL) + return 1; + av[0] = xstrdup("cmd.exe"); av[1] = xstrdup("/c"); |