From owner-cvs-sys Mon Oct 6 01:30:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA13830 for cvs-sys-outgoing; Mon, 6 Oct 1997 01:30:54 -0700 (PDT) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA13781; Mon, 6 Oct 1997 01:30:29 -0700 (PDT) (envelope-from peter@FreeBSD.org) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA07753; Mon, 6 Oct 1997 01:30:09 -0700 (PDT) Date: Mon, 6 Oct 1997 01:30:09 -0700 (PDT) Message-Id: <199710060830.BAA07753@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern sys_pipe.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/10/06 01:30:09 PDT Modified files: sys/kern sys_pipe.c Log: Ack! Fix excessive cut/paste blunder during poll mods. Who had the pointy hat last? :-] When one is selecting (or polling) for write, it helps if we use the write side of the pipe when requesting wakeups instead of the read side. This broke ghostview (at least) - I'm suprised it wasn't noticed for so long. Reviewed by: Greg Lehey Revision Changes Path 1.34 +3 -3 src/sys/kern/sys_pipe.c