From fcd6082250e20db6d2e150329998c7702d3af3cf Mon Sep 17 00:00:00 2001 From: leitner Date: Wed, 22 Oct 2003 12:52:40 +0000 Subject: [PATCH] did not compile on BSD after SIGIO fix --- io/io_canread.c | 2 +- io/io_canwrite.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/io/io_canread.c b/io/io_canread.c index 6050723..df3705a 100644 --- a/io/io_canread.c +++ b/io/io_canread.c @@ -31,8 +31,8 @@ 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)); -#endif if (io_waitmode!=_SIGIO) +#endif e->canread=0; return r; } diff --git a/io/io_canwrite.c b/io/io_canwrite.c index 153eb19..6fea1fd 100644 --- a/io/io_canwrite.c +++ b/io/io_canwrite.c @@ -31,8 +31,8 @@ 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)); -#endif if (io_waitmode!=_SIGIO) +#endif e->canwrite=0; return r; }