delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/02/28/06:10:36

From: Martin Stromberg <eplmst AT epl DOT ericsson DOT se>
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: <CAEGKOHJKAAFPKOCLHDIOEBJCBAA.tim.van.holder@pandora.be> from "Tim Van Holder" at Feb 27, 1 10:37:31 pm
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
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

> 
> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019