Add a pselect emulation.
authorWerner Koch <wk@gnupg.org>
Wed, 9 May 2012 18:44:12 +0000 (20:44 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 9 May 2012 18:44:12 +0000 (20:44 +0200)
commit74bf5068ac96a2abb66d60b86acc1882f0d864d1
treeb43fee14349409ddad7c0a032570327aed1bf417
parentf24cc48ef797f7338a4d95db412ba61e60ba3cf7
Add a pselect emulation.

* src/npth.c [!HAVE_PSELECT]: Include signal.h
(npth_pselect) [!HAVE_PSELECT]: Implement a crude pselect emulation
* configure.ac (AC_CHECK_FUNCS): Test for pselect.
--

This is a better than nothing emulation.  OpenBSD applications who
care about race conditions will probably use their own signal detection
via pipe.  This can be implemented on top of this emulation.
NEWS
configure.ac
src/npth.c