wrong fix
This commit is contained in:
parent
07a205405b
commit
ec060d6dee
@ -31,9 +31,9 @@ int64 io_canread() {
|
||||
e->next_read=alt_firstread;
|
||||
alt_firstread=r;
|
||||
debug_printf(("io_canread: enqueue %ld in alt read queue (next is %ld)\n",alt_firstread,e->next_read));
|
||||
#else
|
||||
e->canread=0;
|
||||
#endif
|
||||
if (io_waitmode!=SIGIO)
|
||||
e->canread=0;
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
@ -31,9 +31,9 @@ int64 io_canwrite() {
|
||||
e->next_write=alt_firstwrite;
|
||||
alt_firstwrite=r;
|
||||
debug_printf(("io_canwrite: enqueue %ld in alt write queue (next is %ld)\n",alt_firstwrite,e->next_write));
|
||||
#else
|
||||
e->canwrite=0;
|
||||
#endif
|
||||
if (io_waitmode!=SIGIO)
|
||||
e->canwrite=0;
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user