diff options
author | alfred <alfred@FreeBSD.org> | 2001-12-12 09:35:33 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2001-12-12 09:35:33 +0000 |
commit | 7ae2ddd4052010bf63026bf889d1460e1d4ca998 (patch) | |
tree | 8c903c3ae007fa3c1e15bc56ec2cd0f92f0b7218 /sys | |
parent | d27bd7160fcf1893f840daf7cc581163b12d37a7 (diff) | |
download | FreeBSD-src-7ae2ddd4052010bf63026bf889d1460e1d4ca998.zip FreeBSD-src-7ae2ddd4052010bf63026bf889d1460e1d4ca998.tar.gz |
Fix select on named pipes without a reader.
PR: kern/19871
MFC after: 1 month
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/fifofs/fifo_vnops.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c index e69532e..9448f5e 100644 --- a/sys/fs/fifofs/fifo_vnops.c +++ b/sys/fs/fifofs/fifo_vnops.c @@ -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++; |