delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/10/21/02:25:54

Date: Mon, 21 Oct 2002 08:22:48 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Laurynas Biveinis <lauras AT softhome DOT net>
cc: djgpp-workers AT delorie DOT com
Subject: Re: GCC 3.2 building with 2.04 trouble on W2K (NTVDM crash)
In-Reply-To: <15235049973.20021021003455@softhome.net>
Message-ID: <Pine.SUN.3.91.1021021081926.17080G-100000@is>
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

On Mon, 21 Oct 2002, Laurynas Biveinis wrote:

> + touch DONE
> ./fixinc.sh: line 52: cannot duplicate fd 23 to fd 0: Bad file descriptor (EBADF
> )
> ./fixinc.sh: line 52: cannot duplicate fd 24 to fd 1: Bad file descriptor (EBADF
> )

Sounds like your system doesn't have enough resources to open file 
descriptors.  (The equivalent of FILES= directive in CONFIG.SYS.)  Does 
the explanation and the advice in section 9.7 of the FAQ help in any way?

It might be educational to write a program that opens its own .exe file 
until `open' fails, and count the number of times it succeeded.  Then do 
the same with `dup' instead of `open', and see what's the count now.

- Raw text -


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