Big Duh! _SIGIO and SIGIO look too close
This commit is contained in:
parent
ec060d6dee
commit
209fef467e
@ -32,7 +32,7 @@ int64 io_canread() {
|
|||||||
alt_firstread=r;
|
alt_firstread=r;
|
||||||
debug_printf(("io_canread: enqueue %ld in alt read queue (next is %ld)\n",alt_firstread,e->next_read));
|
debug_printf(("io_canread: enqueue %ld in alt read queue (next is %ld)\n",alt_firstread,e->next_read));
|
||||||
#endif
|
#endif
|
||||||
if (io_waitmode!=SIGIO)
|
if (io_waitmode!=_SIGIO)
|
||||||
e->canread=0;
|
e->canread=0;
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,7 @@ int64 io_canwrite() {
|
|||||||
alt_firstwrite=r;
|
alt_firstwrite=r;
|
||||||
debug_printf(("io_canwrite: enqueue %ld in alt write queue (next is %ld)\n",alt_firstwrite,e->next_write));
|
debug_printf(("io_canwrite: enqueue %ld in alt write queue (next is %ld)\n",alt_firstwrite,e->next_write));
|
||||||
#endif
|
#endif
|
||||||
if (io_waitmode!=SIGIO)
|
if (io_waitmode!=_SIGIO)
|
||||||
e->canwrite=0;
|
e->canwrite=0;
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user