From owner-freebsd-arch Tue Sep 10 16:18:42 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09A0837B400 for ; Tue, 10 Sep 2002 16:18:41 -0700 (PDT) Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA8FA43E86 for ; Tue, 10 Sep 2002 16:18:40 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0098.cvx21-bradley.dialup.earthlink.net ([209.179.192.98] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17ouGj-00001n-00; Tue, 10 Sep 2002 16:18:05 -0700 Message-ID: <3D7E7D5B.B355328A@mindspring.com> Date: Tue, 10 Sep 2002 16:16:43 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bakul Shah Cc: Archie Cobbs , freebsd-arch@FreeBSD.ORG Subject: Re: /dev/stdout behavior References: <200209102229.SAA27862@agamemnon.cnchost.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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