diff options
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/win32lib.c | 10 |
2 files changed, 6 insertions, 8 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index c260148ce78..5c908834df5 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,7 @@ +2012-10-01 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * win32lib.c: remove _osver since it is obsolete. + 2012-09-28 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * win32lib.h: remove definition of mkdir. diff --git a/Build/source/texk/kpathsea/win32lib.c b/Build/source/texk/kpathsea/win32lib.c index 4722782cfd7..274dc2c9f60 100644 --- a/Build/source/texk/kpathsea/win32lib.c +++ b/Build/source/texk/kpathsea/win32lib.c @@ -113,10 +113,7 @@ FILE * __cdecl kpathsea_win32_popen (kpathsea kpse, const char *cmd, const char #ifdef TRACE fprintf(stderr, "%s not found, concatenating comspec\n", app_name); #endif - if(_osver & 0x8000) - new_cmd = concatn("command.com", " /c ", cmd, NULL); - else - new_cmd = concatn("cmd.exe", " /c ", cmd, NULL); + new_cmd = concatn("cmd.exe", " /c ", cmd, NULL); free(app_name); app_name = NULL; } @@ -664,10 +661,7 @@ look_for_cmd(const char *cmd, char **app, char **new) #ifdef TRACE fprintf(stderr, "%s not found, concatenating comspec\n", app_name); #endif - if(_osver & 0x8000) - new_cmd = concatn("command.com", " /c ", cmd, NULL); - else - new_cmd = concatn("cmd.exe", " /c ", cmd, NULL); + new_cmd = concatn("cmd.exe", " /c ", cmd, NULL); free(app_name); app_name = NULL; } |