From owner-freebsd-bugs Thu Jul 18 19:25:25 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA13214 for bugs-outgoing; Thu, 18 Jul 1996 19:25:25 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id TAA13198 for ; Thu, 18 Jul 1996 19:25:19 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id MAA29339; Fri, 19 Jul 1996 12:22:27 +1000 Date: Fri, 19 Jul 1996 12:22:27 +1000 From: Bruce Evans Message-Id: <199607190222.MAA29339@godzilla.zeta.org.au> To: j@uriah.heep.sax.de, wpaul@skynet.ctr.columbia.edu Subject: Re: kern/1397: can't send to a pipe Cc: bugs@freefall.freebsd.org, markd@Grizzly.COM Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >BUGS > Applying fstat() to a socket (and thus to a pipe) returns a zeroed > buffer, except for the blocksize field, and a unique device and inode > number. >So there's a bug in the BUGS section in that the st_mode field is also >being set. Anyway, nobody could rely on it... Also, the device and inode number don't seem to be set for sockets, so they remain as zero and are non-unique. They are certianly zero for nameless pipes. Bruce