diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2012-10-01 13:06:34 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2012-10-01 13:06:34 +0000 |
commit | 9bfb5bbdada577655a0dd1951bcd28ce00765acf (patch) | |
tree | 1d470cbc7150c85994f47514e6a16c34b8acc5f4 /Build | |
parent | eaa1e0ce320d2ee1c1e3aaf71465b964ef012a25 (diff) |
remove _osver since it is obsolete.
git-svn-id: svn://tug.org/texlive/trunk@27859 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 | 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; } |