Fri, Feb 19, 2010 at 09:03:38PM +0200, Vlad Galu: > On Fri, Feb 19, 2010 at 7:21 PM, john heasley <[email protected]> wrote: > [...] > > I've encountered a similar issue, with named pipes though, on FreeBSD. > Kostik Belousov and Bruce Evans were kind enough to provide some > patches. Maybe their input can prove useful here as well: > http://lists.freebsd.org/pipermail/freebsd-stable/2009-June/050480.html
i think that a different problem, which may exist in netbsd, but i haven't checked. The problem here, from my pov, is that either documentation or implementation is wrong. or, sockets and pipes do not behave the same, so the documentation is lacking. which is it? solaris behaves differently. solaris does not return HUP until the pipe is drained. freebsd and linux behave like netbsd. the solaris behavior seems more logical, but whatever.
