From owner-cvs-ports Sun Feb 1 17:25:58 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA11692 for cvs-ports-outgoing; Sun, 1 Feb 1998 17:25:58 -0800 (PST) (envelope-from owner-cvs-ports) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA11634; Sun, 1 Feb 1998 17:25:50 -0800 (PST) (envelope-from itojun@FreeBSD.org) From: Jun-ichiro Itoh Received: (from itojun@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id RAA01690; Sun, 1 Feb 1998 17:25:39 -0800 (PST) Date: Sun, 1 Feb 1998 17:25:39 -0800 (PST) Message-Id: <199802020125.RAA01690@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG Subject: cvs commit: ports/comms/hylafax/patches patch-ab Sender: owner-cvs-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk itojun 1998/02/01 17:25:38 PST Modified files: comms/hylafax/patches patch-ab Log: fix for new select() behavior in FreeBSD-current. (change made on 97dec) comment from Lars follows: Included is an updated patch-ab file for hylafax for current that fixes the busywait that occurred once the fifo_poll() fix went into the kernel in December. The symptoms were that faxqetty and faxq would chew up an inordinate amount of time waiting for input form their FIFOS. Basically the kernel fix was to make select() return a 1 on EOF (in accordance with POSIX) and for read() to keep returning 0 on EOF (which is the state you are in if you open the fifo for reading in non-blocking mode and there are no writers). Reviewed by: asami Submitted by: Lars Fredriksen Revision Changes Path 1.4 +21 -5 ports/comms/hylafax/patches/patch-ab