bug of misc/screen and fifos or ours?

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Nov 18 08:47:04 PST 2004


In message <20041118164356.GA46185 at 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 at 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.


More information about the freebsd-current mailing list