X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: Re: Open large file gives EACCES Date: Mon, 22 Feb 2010 14:08:21 -0800 (PST) Organization: http://groups.google.com Lines: 21 Message-ID: <4423b907-7958-4aca-94f7-6c9939782cea@g26g2000yqn.googlegroups.com> References: <4b81d0d6 DOT 370946015 AT localhost> 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 1266876501 31323 127.0.0.1 (22 Feb 2010 22:08:21 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Mon, 22 Feb 2010 22:08:21 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: g26g2000yqn.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Bytes: 1980 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, On Feb 21, 6:51=A0pm, nob DOT DOT DOT AT xmission DOT com (Scott) wrote: > > Using DJGPP (2.03, GCC 3.3.3 dated 16-Feb-2004, LIBC dated 24-Dec-2001) i= n a > WinXP command shell. > > Trying to fopen a large (8Gb) file in "rb" mode, I get a fail with EACCES= , > although perms are OK and no locks exist. =A0Is this expected behavior wi= th > large files? =A0I know I'm overstepping the limits of an MSDOS program, b= ut I > figured that I would at least be able to read the file serially, since it > was *created* with a DJGPP program using fopen/fwrite. I have no experience with large files since I tend to avoid them. In lieu of a response from CWS (so far), I'll just say that he has claimed before that 2.04 beta has "better 4 GB file support". So try that. ;-)