diff options
author | vprus <vprus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-31 18:40:34 +0000 |
---|---|---|
committer | vprus <vprus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-31 18:40:34 +0000 |
commit | f8b619f0a133258cd094e2f5cebb7a5ea35556b6 (patch) | |
tree | 870f21c9718416f8744d44e883b9722141905461 /libiberty/pex-common.h | |
parent | f250df0850b353c9c6108d7ebffc3b046a15c355 (diff) | |
download | gcc-f8b619f0a133258cd094e2f5cebb7a5ea35556b6.tar.gz |
include/
* libiberty.h (PEX_STDERR_TO_PIPE): New define.
(PEX_BINARY_ERROR): New define.
(pex_read_err): New function.
libiberty/
* pex-common.h (struct pex_obj): New fields
stderr_pipe and read_err.
* pex-common.c (pex_init_common): Initialize
stderr_pipe.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121430 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/pex-common.h')
-rw-r--r-- | libiberty/pex-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libiberty/pex-common.h b/libiberty/pex-common.h index 0e88c355ffc..8edc13b7650 100644 --- a/libiberty/pex-common.h +++ b/libiberty/pex-common.h @@ -59,6 +59,8 @@ struct pex_obj char *next_input_name; /* Whether next_input_name was allocated using malloc. */ int next_input_name_allocated; + /* If not -1, stderr pipe from the last process. */ + int stderr_pipe; /* Number of child processes. */ int count; /* PIDs of child processes; array allocated using malloc. */ @@ -73,6 +75,8 @@ struct pex_obj FILE *input_file; /* FILE created by pex_read_output. */ FILE *read_output; + /* FILE created by pex_read_err. */ + FILE *read_err; /* Number of temporary files to remove. */ int remove_count; /* List of temporary files to remove; array allocated using malloc |