diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-07-26 19:03:07 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2016-07-27 17:02:08 +0100 |
commit | 32b668d966e5363e7a1e07c3bc70a799c4170675 (patch) | |
tree | 3e29cf3108b95912201653c1016e05d47e1fbfa0 /newlib/libc/stdlib/mblen_r.c | |
parent | 10a30e7a258f112c1ada37b12cee924c8575c8d2 (diff) | |
download | cygnal-32b668d966e5363e7a1e07c3bc70a799c4170675.tar.gz cygnal-32b668d966e5363e7a1e07c3bc70a799c4170675.tar.bz2 cygnal-32b668d966e5363e7a1e07c3bc70a799c4170675.zip |
Don't raise SIGTTIN from poll/select
SIGTTIN should be raised when read() is made on a tty in a backgrounded
process, but not when it's tested with poll()/select().
I guess poll()/select() does need to call bg_check(), in order to detect the
error conditions that notices (that is, if bg_check() returns bg_eof or
bg_error, then fd is ready as an error condition exists) so add an optional
parameter to fhandler_base::bg_select() to indicate that signals aren't
desired.
See https://cygwin.com/ml/cygwin-developers/2016-07/msg00004.html
Diffstat (limited to 'newlib/libc/stdlib/mblen_r.c')
0 files changed, 0 insertions, 0 deletions