From 701cea96c43d185ebe433df9ecca39ecc9742ef3 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Thu, 15 Mar 2018 15:35:24 +0000 Subject: win32: tidy up popen implementation Make mingw_popen_fd sufficiently general that it can be used to implement the other two popen routines. mingw_popen now just creates a command line and passes it to mingw_popen_fd. The one call to mingw_popen2 has been replaced by a call to mingw_popen_fd. --- include/mingw.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/mingw.h b/include/mingw.h index e56e8f03d..386540b37 100644 --- a/include/mingw.h +++ b/include/mingw.h @@ -111,7 +111,6 @@ int mingw_rename(const char*, const char*); FILE *mingw_popen(const char *cmd, const char *mode); int mingw_popen_fd(const char *cmd, const char *mode, int fd0, pid_t *pid); -int mingw_popen2(const char *cmd, pid_t *pid); int mingw_pclose(FILE *fd); #undef popen #undef pclose -- cgit v1.2.3-55-g6feb