newlib-cygwin/winsup/cygwin/release
Corinna Vinschen b6694df619 Cygwin: select: fix overwriting fd sets if poll returns no fd
There's a long-standing bug in select.  If we have poll-only
descriptors in the fd set, select overwrites the incoming
fd sets with the polling result.  If none of the fds is ready,
select has to loop again.  But now the fd sets are set to all
zero and select hangs.

Fix this by utilizing the local fd sets r, w, e as storage for
the incoming fd sets and use them to initialize select_stuff.

If we have to loop, overwritung the incoming fd sets doesn't matter.

While at it, rename r, w, e to readfds_in, writefds_in, exceptfds_in.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2019-01-13 22:43:52 +01:00
..
1.7.10
1.7.11
1.7.12
1.7.13
1.7.14
1.7.15
1.7.16
1.7.17
1.7.18
1.7.19
1.7.20
1.7.21
1.7.22
1.7.23
1.7.24
1.7.25
1.7.26
1.7.27
1.7.28
1.7.29
1.7.30
1.7.31
1.7.32
1.7.33
1.7.34
1.7.35
2.0.0
2.0.1
2.0.3
2.0.4
2.1.0
2.2.0
2.2.1
2.3.0
2.3.1
2.4.0
2.4.1
2.5.0 Add latest changes to release message 2016-04-05 10:35:05 +02:00
2.5.1 Add release message for commit 9409c53 2016-04-20 12:34:07 +02:00
2.5.2 Add release message for commit 2c83227 2016-06-21 13:43:53 +02:00
2.6.0 Fix passwd getting error 1265 when running on newer Windows 2016-08-31 12:08:34 +02:00
2.6.1 Cygwin: Add release messages for last two checkins 2016-12-13 12:49:02 +01:00
2.7.0 Add release message for commit 609d2b2 2017-02-03 21:54:25 +01:00
2.8.0 Add latest changes to Cygwin release information 2017-03-28 13:42:11 +02:00
2.8.1 Note regtool fix in release message 2017-06-22 14:48:43 +02:00
2.8.2 cygwin: 2.8.2: add missing release message text 2017-07-12 10:49:10 +02:00
2.9.0 cygwin: add strptime %F fix to release notes 2017-08-29 21:12:21 +02:00
2.10.0 cygwin: 2.10.0 release text: fix formatting 2018-01-22 15:32:29 +01:00
2.11.0 Cygwin: Accommodate logon sessions on Windows 10 2018-08-28 11:28:28 +02:00
2.11.1 Cygwin: fix Win32 path ".." backtracking 2018-09-01 21:06:24 +02:00
2.11.2 Cygwin: honor SOCK_NONBLOCK/SOCK_CLOEXEC in socket(2)/socketpair(2) 2018-11-05 21:02:22 +01:00
2.12.0 Cygwin: select: fix overwriting fd sets if poll returns no fd 2019-01-13 22:43:52 +01:00