Fix select on named pipes without a reader.
PR: kern/19871 MFC after: 1 month
This commit is contained in:
parent
7f96dac84d
commit
118fdf009f
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user