Mail Archives: djgpp/1996/03/13/12:52:56
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 -