mirror of
https://github.com/xcat2/xNBA.git
synced 2025-01-21 23:13:14 +00:00
Fix a minor logical error in posix_io.c
This commit is contained in:
parent
df868476e7
commit
698b5bc887
@ -264,7 +264,7 @@ int select ( fd_set *readfds, int wait ) {
|
||||
if ( ! file )
|
||||
return -EBADF;
|
||||
if ( ( list_empty ( &file->data ) ) &&
|
||||
( file->rc != -EINPROGRESS ) )
|
||||
( file->rc == -EINPROGRESS ) )
|
||||
continue;
|
||||
/* Data is available or status has changed */
|
||||
FD_ZERO ( readfds );
|
||||
|
Loading…
x
Reference in New Issue
Block a user