From: Martin Stromberg Message-Id: <200102281109.MAA06814@lws256.lu.erisoft.se> Subject: Re: FD 4 special for DJGPP (and Perl in particular)? To: djgpp-workers AT delorie DOT com Date: Wed, 28 Feb 101 12:09:48 +0100 (MET) In-Reply-To: from "Tim Van Holder" at Feb 27, 1 10:37:31 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > I'm running into a problem with autoupdate. > It is being rewritten in Perl, and invokes autoconf. > At some point, autoconf redirects file descriptor 4 > to its output file, or fd 1 if outfile is "-". > However, the > exec 4>&1 > causes the following error: > redirection error: Bad file descriptor (EBADF) > > Only fd 4 seems to be affected. Doesn't *DOZE have five predefined fds: stdin, stdout, stderr, AUX and PRN (not sure about the order of the last two). Right, MartinS