diff options
Diffstat (limited to 'Build/source/texk/kpathsea/win32lib.c')
-rw-r--r-- | Build/source/texk/kpathsea/win32lib.c | 3 |
1 files changed, 3 insertions, 0 deletions
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"); |