1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87725

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++;