aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-03-15 15:35:24 +0000
committerRon Yorston <rmy@pobox.com>2018-03-15 15:35:24 +0000
commit701cea96c43d185ebe433df9ecca39ecc9742ef3 (patch)
treeb9b0dcc699f5319f0055d5d29aded690ff37258b /include
parent7cc082e2370da69c8783812c251190d316ce82b3 (diff)
downloadbusybox-w32-701cea96c43d185ebe433df9ecca39ecc9742ef3.tar.gz
busybox-w32-701cea96c43d185ebe433df9ecca39ecc9742ef3.tar.bz2
busybox-w32-701cea96c43d185ebe433df9ecca39ecc9742ef3.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h1
1 files changed, 0 insertions, 1 deletions
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*);
111 111
112FILE *mingw_popen(const char *cmd, const char *mode); 112FILE *mingw_popen(const char *cmd, const char *mode);
113int mingw_popen_fd(const char *cmd, const char *mode, int fd0, pid_t *pid); 113int mingw_popen_fd(const char *cmd, const char *mode, int fd0, pid_t *pid);
114int mingw_popen2(const char *cmd, pid_t *pid);
115int mingw_pclose(FILE *fd); 114int mingw_pclose(FILE *fd);
116#undef popen 115#undef popen
117#undef pclose 116#undef pclose