X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Tue, 24 Mar 2009 15:15:11 -0400 From: Ethan Rosenberg Subject: Re: DJGPP Setup? In-reply-to: To: djgpp AT delorie DOT com Message-id: <0KH000M3CYTM6390@mta2.srv.hcvlny.cv.net> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <0KGZ00GQ8UBIYMM0 AT mta4 DOT srv DOT hcvlny DOT cv DOT net> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk At 06:50 AM 3/24/2009, you wrote: >"Ethan Rosenberg" wrote in message >news:0KGZ00GQ8UBIYMM0 AT mta4 DOT srv DOT hcvlny DOT cv DOT net... > >In comp.os.msdos.djgpp, > > > I have a program that opens almost 30 files. > >How is that possible?... What version of DOS and DJGPP are you using? > >According to the following source, DOS limits a single process to a maximum >of 20 file handles even if config.sys' FILES= line is larger. Three of >these 20 handles are consumed by stdin, stdout, stderr. > >See "RESTRICTIONS ON HANDLE USAGE" in Dave Williams DOSREF22 here: >http://nersp.nerdc.ufl.edu/~esi4161/files/dosman/chap7 > >You can find various versions of the entire DOSREF package by searching for >dosref22.zip, dosref33.zip, or dosref34.zip. > > > With fptr27 and fptr25, after approx 20 writes, it gives garbage. > >Perhaps, DOS is automatically closing your extra files or DJGPP is reusing >the file handles... (?) > > >Rod Pemberton >PS added comp.os.msdos.programmer +++++++ Thanks. What version of DOS -- 7.1 the DOS that underlies Windows 98. There is NO Widows OS in my system. and DJGPP are you using? This I do not know. If you would tell me where to look, I will. Ethan Rosenberg