summaryrefslogtreecommitdiff
path: root/libiberty/pex-msdos.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2006-08-27 23:50:30 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2006-08-27 23:50:30 +0000
commitb470eeb2d8fc5d32c666974f7328313820597dd4 (patch)
tree605a7786db7fb3a02245d989ed8b13db7d8bdb92 /libiberty/pex-msdos.c
parente6c28517069c27ab2a3600b8b23c5816fd35ee30 (diff)
downloadgcc-b470eeb2d8fc5d32c666974f7328313820597dd4.tar.gz
PR driver/27622
* pex-common.h (struct pex_funcs): Add toclose parameter to exec_child field. * pex-common.c (pex_run_in_environment): Pass toclose to exec_child. * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter. * pex-unix.c (pex_unix_exec_child): Likewise. * pex-msdos.c (pex_msdos_exec_child): Likewise. * pex-win32.c (pex_win32_exec_child): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116494 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/pex-msdos.c')
-rw-r--r--libiberty/pex-msdos.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libiberty/pex-msdos.c b/libiberty/pex-msdos.c
index bcad93dbe26..b5acd86b0f5 100644
--- a/libiberty/pex-msdos.c
+++ b/libiberty/pex-msdos.c
@@ -56,7 +56,8 @@ static int pex_msdos_open (struct pex_obj *, const char *, int);
static int pex_msdos_fdindex (struct pex_msdos *, int);
static long pex_msdos_exec_child (struct pex_obj *, int, const char *,
char * const *, char * const *,
- int, int, int, const char **, int *);
+ int, int, int, int,
+ int, const char **, int *);
static int pex_msdos_close (struct pex_obj *, int);
static int pex_msdos_wait (struct pex_obj *, long, int *, struct pex_time *,
int, const char **, int *);
@@ -154,6 +155,7 @@ pex_msdos_close (struct pex_obj *obj, int fd)
static long
pex_msdos_exec_child (struct pex_obj *obj, int flags, const char *executable,
char * const * argv, char * const * env, int in, int out,
+ int toclose ATTRIBUTE_UNUSED,
int errdes ATTRIBUTE_UNUSED, const char **errmsg,
int *err)
{