diff options
author | Nathan Sidwell <nathan@acm.org> | 2018-10-01 18:46:51 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2018-10-01 18:46:51 +0000 |
commit | df1346b423f1c8849b6090b47023ee29f6dddf7a (patch) | |
tree | 47f2a70f8994f6f0209d48b71f4aa64f67122557 /libiberty/configure.ac | |
parent | 2649038cea4670fb51ad82751126661ac9e86c8a (diff) | |
download | gcc-df1346b423f1c8849b6090b47023ee29f6dddf7a.tar.gz |
[libiberty] Use pipe inside pex_run
https://gcc.gnu.org/ml/gcc-patches/2018-10/msg00039.html
* configure.ac (checkfuncs): Add pipe2.
* config.in, configure: Rebuilt.
* pex-unix.c (pex_unix_exec_child): Comminicate errors from child
to parent with a pipe, when possible.
From-SVN: r264769
Diffstat (limited to 'libiberty/configure.ac')
-rw-r--r-- | libiberty/configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/configure.ac b/libiberty/configure.ac index 6917cfaf4fb..59c45c973ab 100644 --- a/libiberty/configure.ac +++ b/libiberty/configure.ac @@ -391,7 +391,7 @@ funcs="$funcs setproctitle" vars="sys_errlist sys_nerr sys_siglist" checkfuncs="__fsetlocking canonicalize_file_name dup3 getrlimit getrusage \ - getsysinfo gettimeofday on_exit psignal pstat_getdynamic pstat_getstatic \ + getsysinfo gettimeofday on_exit pipe2 psignal pstat_getdynamic pstat_getstatic \ realpath setrlimit sbrk spawnve spawnvpe strerror strsignal sysconf sysctl \ sysmp table times wait3 wait4" @@ -407,7 +407,7 @@ if test "x" = "y"; then index insque \ memchr memcmp memcpy memmem memmove memset mkstemps \ on_exit \ - psignal pstat_getdynamic pstat_getstatic putenv \ + pipe2 psignal pstat_getdynamic pstat_getstatic putenv \ random realpath rename rindex \ sbrk setenv setproctitle setrlimit sigsetmask snprintf spawnve spawnvpe \ stpcpy stpncpy strcasecmp strchr strdup \ |