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 )
|
if ( ! file )
|
||||||
return -EBADF;
|
return -EBADF;
|
||||||
if ( ( list_empty ( &file->data ) ) &&
|
if ( ( list_empty ( &file->data ) ) &&
|
||||||
( file->rc != -EINPROGRESS ) )
|
( file->rc == -EINPROGRESS ) )
|
||||||
continue;
|
continue;
|
||||||
/* Data is available or status has changed */
|
/* Data is available or status has changed */
|
||||||
FD_ZERO ( readfds );
|
FD_ZERO ( readfds );
|
||||||
|
Reference in New Issue
Block a user