diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-18 03:16:37 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-18 03:16:37 +0000 |
commit | e1e51a4a5724cbe7049559fa85b1f070d3579551 (patch) | |
tree | 6811fe401ca011fb4fb3791c0dad4ada7a9a0fbf /libiberty/pex-common.h | |
parent | fa714a5450ebf4090a07d65b01809ec862a8b5c0 (diff) | |
download | gcc-e1e51a4a5724cbe7049559fa85b1f070d3579551.tar.gz |
* pex-unix.c (pexecute): Use vfork instead of fork, with
appropriate changes to make this safe.
* pex-common.h (STDERR_FILE_NO): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79617 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/pex-common.h')
-rw-r--r-- | libiberty/pex-common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libiberty/pex-common.h b/libiberty/pex-common.h index da2f71e1247..df3c0f6519c 100644 --- a/libiberty/pex-common.h +++ b/libiberty/pex-common.h @@ -1,6 +1,6 @@ /* Utilities to execute a program in a subprocess (possibly linked by pipes with other subprocesses), and wait for it. Shared logic. - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003 + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. This file is part of the libiberty library. @@ -33,6 +33,9 @@ Boston, MA 02111-1307, USA. */ /* stdout file number. */ #define STDOUT_FILE_NO 1 +/* stderr file number. */ +#define STDERR_FILE_NO 2 + /* value of `pipe': port index for reading. */ #define READ_PORT 0 |