From owner-freebsd-bugs Thu Sep 13 20:30: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E1FDF37B40A for ; Thu, 13 Sep 2001 20:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8E3U1i70070; Thu, 13 Sep 2001 20:30:01 -0700 (PDT) (envelope-from gnats) Date: Thu, 13 Sep 2001 20:30:01 -0700 (PDT) Message-Id: <200109140330.f8E3U1i70070@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Gregory Bond Subject: Re: kern/30567: kqueue/kevent doesn't always work properly with pipes Reply-To: Gregory Bond Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/30567; it has been noted by GNATS. From: Gregory Bond To: Martin Baker Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/30567: kqueue/kevent doesn't always work properly with pipes Date: Fri, 14 Sep 2001 13:26:38 +1000 You are almost certainly being bitten by buffered reads inside fread(), which is why behaviour changes when you write to STDERR. Replace fread() with read() and see what happens. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message