mirror of
https://github.com/reactos/wine.git
synced 2025-02-27 16:26:08 +00:00
Abort on input error.
This commit is contained in:
parent
d3354d04f7
commit
833f3aec1a
@ -293,7 +293,10 @@ TTYget()
|
||||
while ( ( retv = read( 0, &c, (size_t)1 ) ) == -1 )
|
||||
{
|
||||
if ( errno != EINTR )
|
||||
{
|
||||
perror( "read" );
|
||||
return EOF;
|
||||
}
|
||||
}
|
||||
|
||||
return retv == 1 ? c : EOF;
|
||||
|
Loading…
x
Reference in New Issue
Block a user