diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2013-01-28 15:08:54 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2013-01-28 15:08:54 +0000 |
commit | 6eb4e4fd92e16d8e86fe34efa288c39269e91269 (patch) | |
tree | ed7755e0b4956d2dc4e0c4ec9a827f5744fb26cd /Build/source/texk/kpathsea/win32lib.h | |
parent | 514749b8e48e8f9dbf83252adb1cbd0b9335c016 (diff) |
Simplify win32_popen.
git-svn-id: svn://tug.org/texlive/trunk@28966 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/win32lib.h')
-rw-r--r-- | Build/source/texk/kpathsea/win32lib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/kpathsea/win32lib.h b/Build/source/texk/kpathsea/win32lib.h index caf616c1132..64b1945f473 100644 --- a/Build/source/texk/kpathsea/win32lib.h +++ b/Build/source/texk/kpathsea/win32lib.h @@ -245,14 +245,15 @@ #undef min #endif -extern KPSEDLL FILE *kpathsea_win32_popen (kpathsea kpse, const char *cmd, const char *mode); -extern KPSEDLL int kpathsea_win32_pclose (kpathsea kpse, FILE *f); +extern KPSEDLL FILE *win32_popen (const char *cmd, const char *mode); +extern KPSEDLL int win32_pclose (FILE *f); extern KPSEDLL struct passwd *kpathsea_getpwnam (kpathsea kpse, char *name); extern KPSEDLL int win32_system(const char *cmd); #if defined (KPSE_COMPAT_API) extern KPSEDLL struct passwd *getpwnam (char *name); -#define MAX_PIPES 128 +#endif /* KPSE_COMPAT_API */ + #define system(p) win32_system(p) #define popen(cmd, mode) win32_popen(cmd, mode) #define pclose(file) win32_pclose(file) @@ -260,7 +261,6 @@ extern KPSEDLL struct passwd *getpwnam (char *name); extern KPSEDLL FILE *popen(const char * str, const char * str2); extern KPSEDLL int pclose(FILE * f); extern KPSEDLL int system(const char * cmd); -#endif /* KPSE_COMPAT_API */ extern KPSEDLL void texlive_gs_init(void); extern KPSEDLL int getlongpath (char *output, char *input, int len); |