Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2002 16:16:43 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Bakul Shah <bakul@bitblocks.com>
Cc:        Archie Cobbs <archie@dellroad.org>, freebsd-arch@FreeBSD.ORG
Subject:   Re: /dev/stdout behavior
Message-ID:  <3D7E7D5B.B355328A@mindspring.com>
References:  <200209102229.SAA27862@agamemnon.cnchost.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bakul Shah wrote:
> > > FreeBSD has a bug.
> >
> > The stdin and stdout fd's are not guaranteed to not share a
> > struct file, so that's not correct.  It's technically permitted
> > to have the flag on the device or on the struct file, rather
> > than the descriptor itself.  In fact, the implementation pretty
> > much demands it.
> 
> Indeed, you are absolutely right.  Thanks for setting me
> straight.

Doesn't make the code work, though, does it.  ;^).

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D7E7D5B.B355328A>