🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3109

Re: change MaxOpenFiles in Topspeed M2V3.1

#3109
From: Martin Rand
Date: Sat, 16 Dec 1995 07:19
26 lines
1544 bytes
dekay@fub46.zedat.fu-berlin.de (Dorothea Kuehn) wrote:

>It seems that somehow the message body got lost, so here it is: 
>How do I change the maximum number of open files (in a DOS-environment)? 
>At the moment I can only open up to 15 files at one time. The DOS files 
>parameter is set to 40. I found a CoreFile.def with CONST MaxHandles=20, 
>but if I change this, nothing happens. What should I do?
>(I'm using Topspeed/Clarion Modula-2 V3.10)
>dekay
>dekay@zedat.fu-berlin.de

>Hope this gets through...

There is ANOTHER constant (OPEN_MAX) in COREFILE.A, which needs to be
changed in parallel. Both these values must be (number of actual files
required+5), to allow for the 5 default devices. COREFILE.A should
then be reassembled in order to build a number of buffers of the
required size in uninitialized data space. 

You must then also change MaxOpenFiles in FIO.DEF to (number of files
required), and recompile FIO.MOD.


Martin Rand            | Tel: (44) 1703 252445 |
Highfield Software Ltd | Fax: (44) 1703 252445 |
Southampton, UK        |                       |
Technical Details
Message-ID: <4ats39$mo4@zeus.tcp.co.uk>
Path: arc1-ca.pugleaf.net!tcp.co.uk!usenet
References: <4am7tk$hd5@fu-berlin.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!tcp.co.uk!usenet
From: hsl@tcp.co.uk (Martin Rand)
Newsgroups: comp.lang.modula2
Subject: Re: change MaxOpenFiles in Topspeed M2V3.1
Date: Sat, 16 Dec 1995 07:19:15 GMT
Organization: Total Connectivity Providers - Internet access for the UK
Message-ID: <4ats39$mo4@zeus.tcp.co.uk>
References: <4am7tk$hd5@fu-berlin.de>
Reply-To: hsl@tcp.co.uk
NNTP-Posting-Host: du1-12.tcp.co.uk
X-Newsreader: Forte Free Agent 1.0.82