Date: Wed, 13 Mar 1996 19:41:35 +0200 (IST) From: Eli Zaretskii To: "x DOT pons AT cc DOT uab DOT es" Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Opening more than 45 files (again) In-Reply-To: <01I298P2I6V600Q2G5@cc.uab.es> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 12 Mar 1996, x DOT pons AT cc DOT uab DOT es wrote: > if the FILES parameter is low (for example FILES=10) this is the limit, > but if it is high (for example FILES=200) I receive an error when > opening the the 45th file in DJGPP The program you've posted works for me, so there must be something else in your configuration that causes this problem. On my machine, it always stops 5 handles before what FILES= setting says (3 standard handles + 2 more that some TSRs I install use). I set FILES=200 and get ``index=194'' message from your program. This was tested under QDPMI and CWSDPMI. > and the 15th file in TC 2.0. Entirely different reason: in TC (like in many other DOS compilers), the file table is a constant array whose size is set when the library is compiled, so you need to purchase library sources and recompile the library to change that. DJGPP doesn't have any of these two bugs (the need to pay for the sources *and* the constant size of the table).