]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/pex-unix.c
Use spawnve on cygwin.
authorRichard Henderson <rth@redhat.com>
Thu, 4 Nov 2010 23:37:04 +0000 (16:37 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 4 Nov 2010 23:37:04 +0000 (16:37 -0700)
commit3b63ca7ea2853d3b8ed35e604b2e0d254669466d
treea8e47bd7b81ca30b70a929fe67d0b89f47e6963b
parent9690aa8eff9815594b2eaa176c4dccb390baf452
Use spawnve on cygwin.

* configure.ac (AC_CHECK_HEADERS): Add process.h.
(checkfuncs): Add dup3, spawnve, spawnvpe; sort the list.
(AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe.
* configure, config.in: Rebuild.
* pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function.
[HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.

From-SVN: r166339
libiberty/ChangeLog
libiberty/config.in
libiberty/configure
libiberty/configure.ac
libiberty/pex-unix.c