From owner-freebsd-bugs@FreeBSD.ORG Sun Jul 29 00:24:48 2012 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1FC7106566B for ; Sun, 29 Jul 2012 00:24:47 +0000 (UTC) (envelope-from listlog2011@gmail.com) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DADBF8FC08; Sun, 29 Jul 2012 00:24:47 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6T0OjfK043964; Sun, 29 Jul 2012 00:24:47 GMT (envelope-from listlog2011@gmail.com) Message-ID: <501482CD.6050708@gmail.com> Date: Sun, 29 Jul 2012 08:24:45 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Garrett Cooper References: <201207272150.q6RLo9ew012879@freefall.freebsd.org> In-Reply-To: <201207272150.q6RLo9ew012879@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/170203: [kern] piped dd' s don' t behave sanely when dealing with a fifo X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: davidxu@FreeBSD.org List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2012 00:24:48 -0000 On 2012/7/28 5:50, Garrett Cooper wrote: > The following reply was made to PR kern/170203; it has been noted by GNATS. > > From: Garrett Cooper > To: bug-followup@FreeBSD.org, yanegomi@gmail.com > Cc: > Subject: Re: kern/170203: [kern] piped dd's don't behave sanely when > dealing with a fifo > Date: Fri, 27 Jul 2012 14:47:47 -0700 > > Hi David! > I'll give the patches you provided a shot this weekend. > Thanks! > -Garrett > FIFO pipe is quite broken! Beside the bug you have reported, there is another bug, when a writer closed the pipe, select() on reader side will never return ! I am curious that so long time, nobody found the bugs, does it because FIFO is seldom used by people ?