From 6eb4e4fd92e16d8e86fe34efa288c39269e91269 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Mon, 28 Jan 2013 15:08:54 +0000 Subject: Simplify win32_popen. git-svn-id: svn://tug.org/texlive/trunk@28966 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/win32lib.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Build/source/texk/kpathsea/win32lib.h') 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); -- cgit v1.2.3