Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2012 08:24:45 +0800
From:      David Xu <listlog2011@gmail.com>
To:        Garrett Cooper <yanegomi@gmail.com>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/170203: [kern] piped dd&#39; s don&#39; t behave sanely when dealing with a fifo
Message-ID:  <501482CD.6050708@gmail.com>
In-Reply-To: <201207272150.q6RLo9ew012879@freefall.freebsd.org>
References:  <201207272150.q6RLo9ew012879@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <yanegomi@gmail.com>
> To: bug-followup@FreeBSD.org, yanegomi@gmail.com
> Cc:
> Subject: Re: kern/170203: [kern] piped dd&#39;s don&#39;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 ?







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?501482CD.6050708>