Fix termios to return timeout value when timeout occurs

This commit is contained in:
Michael Black 2019-06-12 16:38:58 -05:00
parent 7d8ad6f47c
commit b7ee4109ca
No known key found for this signature in database
GPG Key ID: 6599353EC683404D

View File

@ -3295,6 +3295,7 @@ int win32_serial_select( int n, fd_set *readfds, fd_set *writefds,
goto fail;
}
}
goto timeout;
}
#endif
while ( wait == WAIT_TIMEOUT && index->sol.hEvent )