Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!floyd!harpo!seismo!hao!hplabs!sri-unix!gwyn@brl-vld
From: gwyn%brl-vld@sri-unix.UUCP
Newsgroups: net.unix
Subject: Re:  dup2 simulator
Message-ID: <17455@sri-arpa.UUCP>
Date: Mon, 12-Mar-84 04:21:42 EST
Article-I.D.: sri-arpa.17455
Posted: Mon Mar 12 04:21:42 1984
Date-Received: Wed, 14-Mar-84 19:28:22 EST
Lines: 5

From:      Doug Gwyn (VLD/VMB) 

Your dup2() emulation incorrectly returns an error indication if
fildes2 is not open.  The close() return value should be ignored:
	(void)close(fildes2);