www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/13/12:52:56

Date: Wed, 13 Mar 1996 19:41:35 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "x DOT pons AT cc DOT uab DOT es" <ILGES 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: <Pine.SUN.3.91.960313193531.10812B-100000@is>
Mime-Version: 1.0

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

- Raw text -


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