Fix file descriptor existence of MinGW.
authorMartin Liska <mliska@suse.cz>
Thu, 8 Aug 2019 07:50:28 +0000 (09:50 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 8 Aug 2019 07:50:28 +0000 (07:50 +0000)
commit0fddb1847019ceb570c6e0aea0ea779f1f9988cf
tree8b7110505306ba08d399f18bc2af2f9037284603
parentfe8e21fd730f01815bf6533289d2b3e33033a250
Fix file descriptor existence of MinGW.

2019-08-08  Martin Liska  <mliska@suse.cz>

PR bootstrap/91352
* gcc.c (driver::detect_jobserver): Use is_valid_fd.
* lto-wrapper.c (jobserver_active_p): Likewise.
2019-08-08  Martin Liska  <mliska@suse.cz>

PR bootstrap/91352
* libiberty.h (is_valid_fd): New function.
2019-08-08  Martin Liska  <mliska@suse.cz>

PR bootstrap/91352
* lrealpath.c (is_valid_fd): New function.

From-SVN: r274208
gcc/ChangeLog
gcc/gcc.c
gcc/lto-wrapper.c
include/ChangeLog
include/libiberty.h
libiberty/ChangeLog
libiberty/lrealpath.c