Use pipe2 when available
authorMatthias Clasen <mclasen@redhat.com>
Sat, 20 Jun 2009 03:44:29 +0000 (23:44 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 20 Jun 2009 03:44:29 +0000 (23:44 -0400)
commit440bf5bee50a0abca990d69ce12fc2a844bda95c
treec80d4a3f94718eb599a9c395213c24d350704b73
parent854a43a3cd5cb8cc97b66d6f8f661e2a7096acda
Use pipe2 when available

This avoids a small window for races between pipe and fdset.
Reported in bug 579933 by Thiago Macieira.
configure.in
glib/gmain.c