acadia-newlib/winsup/cygwin/release
Corinna Vinschen 1b7fcf22be Cygwin: ioctl: TIOCINQ: always return number of chars in the inbound queue
So far ioctl(TIOCINQ) could end up returning -1 with errno set to EINVAL
if a non-zero device error mask has been returned by ClearCommError.
This doesn't reflect Linux behaviour, which always returns the number of
chars in the inbound queue, independent of any I/O error condition.
EINVAL was a pretty weird error code to use in this scenario, too.

Fix this by dropping all checking for device errors in the TIOCINQ
case.  Just return the number of chars in the inbound queue.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2020-03-02 17:05:59 +01:00
..
1.7.10 *** empty log message *** 2012-02-05 14:27:25 +00:00
1.7.11 *** empty log message *** 2012-02-25 10:48:35 +00:00
1.7.12 *** empty log message *** 2012-03-30 13:27:38 +00:00
1.7.13 Add typeahead description. 2012-04-05 14:23:06 +00:00
1.7.14 *** empty log message *** 2012-04-25 07:33:03 +00:00
1.7.15 * DevNotes: Add entry cgf-000003. 2012-05-07 15:05:56 +00:00
1.7.16 *** empty log message *** 2012-07-19 09:43:56 +00:00
1.7.17 *** empty log message *** 2012-10-16 12:02:42 +00:00
1.7.18 . 2013-04-01 11:04:41 +00:00
1.7.19 *** empty log message *** 2013-06-05 07:21:56 +00:00
1.7.20 *** empty log message *** 2013-06-06 15:31:15 +00:00
1.7.21 *** empty log message *** 2013-07-15 10:04:03 +00:00
1.7.22 * regex/regcomp.c (wgetnext): Add a kludge to be more glibc compatible. 2013-07-21 19:28:45 +00:00
1.7.23 *** empty log message *** 2013-07-31 10:32:46 +00:00
1.7.24 * include/sys/cygwin.h (struct per_process): Add posix_memalign. Reduce 2013-08-14 11:44:23 +00:00
1.7.25 *** empty log message *** 2013-08-30 21:42:40 +00:00
1.7.26 * syscalls.cc (try_to_bin): Take additional parameter to get file open 2013-11-27 14:27:34 +00:00
1.7.27 *** empty log message *** 2013-12-08 13:38:27 +00:00
1.7.28 *** empty log message *** 2014-01-27 21:25:39 +00:00
1.7.29 release/1.7.29 2014-04-07 11:41:49 +00:00
1.7.30 *** empty log message *** 2014-05-23 07:15:30 +00:00
1.7.31 *** empty log message *** 2014-07-18 12:28:00 +00:00
1.7.32 * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 33. 2014-08-13 17:38:47 +00:00
1.7.33 * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 34. 2014-11-13 13:10:26 +00:00
1.7.34 * common.din (wcstold): Export. 2015-02-04 11:03:36 +00:00
1.7.35 * msg.cc: Throughout, drop raising SIGSYS if cygserver is not running. 2015-03-03 17:09:30 +00:00
2.0.0 Document previous unlink patch 2015-04-23 22:04:59 +02:00
2.0.1 Bump minor DLL version to 1 2015-04-30 17:53:15 +02:00
2.0.3 Add Cygwin 2.0.3 release file 2015-06-03 13:38:19 +02:00
2.0.4 Evaluate /proc/$PID/{root,cwd,cmdline} for native processes 2015-06-08 21:48:13 +02:00
2.1.0 tzset: Check timezone and country case-insensitive 2015-07-08 10:25:49 +02:00
2.2.0 Cygwin: Fix x86_64 memcpy/memset for n > 2GB 2015-07-29 22:09:34 +02:00
2.2.1 Cygwin: Return port number from getservent in network byte order 2015-08-18 13:12:07 +02:00
2.3.0 Avoid deadlock in flock(2) 2015-11-05 18:31:36 +01:00
2.3.1 flock: Fix hang in object collision case 2015-11-12 13:14:08 +01:00
2.4.0 Return unique inode numbers when calling stat/fstat on pipes and IP sockets 2016-01-11 12:35:41 +01:00
2.4.1 Add 2.4.1 release message file 2016-01-23 22:33:31 +01:00
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
3.0 Cygwin: passwd/group: store account name case correct 2019-02-13 11:13:28 +01:00
3.0.1 Cygwin: document secure_getenv 2019-02-19 14:34:18 -06:00
3.0.2 Cygwin: update 3.0.2 release file 2019-03-04 14:14:15 +01:00
3.0.3 Cygwin: posix timers: fix a deadlock 2019-03-08 12:57:42 +01:00
3.0.4 Cygwin: acls: allow converting empty acl to text 2019-03-13 12:09:11 +01:00
3.0.5 Cygwin: document ps -W duplication bug fix 2019-03-31 12:50:50 +02:00
3.0.6 Cygwin: add latest signal handling fixes to release notes 2019-04-06 18:09:41 +02:00
3.0.7 Cygwin: Add release info for 3.0.7 2019-04-30 18:49:23 +02:00
3.1.0 Cygwin: add strtold fix to release message 2019-12-16 16:39:17 +01:00
3.1.1 Cygwin: add 3.1.1 release text belatedly 2019-12-18 10:47:43 +01:00
3.1.2 Cygwin: add 3.1.2 release text 2019-12-21 11:44:08 +01:00
3.1.3 Cygwin: move 3.1.3 to 3.1.4 release document 2020-02-18 11:22:57 +01:00
3.1.4 Cygwin: add @cjksingle to release docs 2020-02-18 11:35:42 +01:00
3.1.5 Cygwin: ioctl: TIOCINQ: always return number of chars in the inbound queue 2020-03-02 17:05:59 +01:00