Fix select on named pipes without a reader.

PR: kern/19871
MFC after: 1 month
This commit is contained in:
Alfred Perlstein 2001-12-12 09:35:33 +00:00
parent 7f96dac84d
commit 118fdf009f

View File

@ -199,7 +199,6 @@ fifo_open(ap)
}
fip->fi_readers = fip->fi_writers = 0;
wso->so_snd.sb_lowat = PIPE_BUF;
rso->so_state |= SS_CANTRCVMORE;
}
if (ap->a_mode & FREAD) {
fip->fi_readers++;