Date: Mon, 21 Oct 2002 08:22:48 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Laurynas Biveinis 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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.