X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer Subject: Re: DJGPP Setup? Date: Wed, 25 Mar 2009 06:24:58 -0700 (PDT) Organization: http://groups.google.com Lines: 32 Message-ID: <909f9b4a-be49-4f61-9ea4-2f968acd48b1@v15g2000yqn.googlegroups.com> References: <0KGZ00GQ8UBIYMM0 AT mta4 DOT srv DOT hcvlny DOT cv DOT net> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1237987498 21649 127.0.0.1 (25 Mar 2009 13:24:58 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Wed, 25 Mar 2009 13:24:58 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: v15g2000yqn.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.64 (Windows NT 6.0; U; en) Presto/2.1.1,gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, On Mar 24, 5:50=A0am, "Rod Pemberton" 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?... =A0What version of DOS and DJGPP are you using? Just for consistency, I think I'll paste here what he said fixed his problem: ------------------------------------------------------- Dear List - I apologize for the difficulty I have caused you, with a question which turned out to be rather foolish. The comment that I should look at my open statements finally showed me the answer... I was trying to open a file for a binary write with the mode as "w" instead of "wb". The other files of a similar nature I had opened with "wb". The write proceeded to a point, and then failed. Sorry. I hope I learn from my mistakes. Ethan Rosenberg -------------------------------------------------------