From owner-freebsd-current@FreeBSD.ORG Thu Nov 18 16:47:04 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABC7C16A4CE; Thu, 18 Nov 2004 16:47:04 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3D9B43D55; Thu, 18 Nov 2004 16:47:03 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id iAIGl1wg051653; Thu, 18 Nov 2004 17:47:02 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Giorgos Keramidas From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 18 Nov 2004 18:43:56 +0200." <20041118164356.GA46185@orion.daedalusnetworks.priv> Date: Thu, 18 Nov 2004 17:47:01 +0100 Message-ID: <51652.1100796421@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: freebsd-current@freebsd.org Subject: Re: bug of misc/screen and fifos or ours? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 16:47:04 -0000 In message <20041118164356.GA46185@orion.daedalusnetworks.priv>, Giorgos Kerami das writes: > BLOCK fcntl > >This is apparently the result of the following code from screen/socket.c: > > 793 #ifdef NAMEDPIPE > 794 debug("Ha, there was someone knocking on my fifo??\n"); > 795 if (fcntl(ServerSocket, F_SETFL, 0) == -1) > 796 Panic(errno, "BLOCK fcntl"); > 797 #else > >At line 795, screen attempts to set blocking mode on a FIFO and fails. Can you get me the exact errno value ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.