X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f NNTP-Posting-Date: Sun, 04 Sep 2011 14:06:50 -0500 From: "Charles Sandmann" Newsgroups: comp.os.msdos.djgpp References: <201108310027 DOT 22056 DOT juan DOT guerrero AT gmx DOT de> <201108312117 DOT 54522 DOT juan DOT guerrero AT gmx DOT de> <038ae4ff-44f2-4ad2-b806-a6ed9b6085a2 AT o9g2000vbo DOT googlegroups DOT com> <83zkincty6 DOT fsf AT gnu DOT org> <83pqjiuccr DOT fsf AT gnu DOT org> <306fc401-ad43-4c8c-9e86-382f90e32110 AT p10g2000yqi DOT googlegroups DOT com> <340dcc25-1777-4a76-b2fd-bbc636df9afc AT t9g2000yqi DOT googlegroups DOT com> Subject: Re: gcc difficulties on MSDOS 6.22 with LFN driver installed Date: Sun, 4 Sep 2011 14:06:38 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-RFC2646: Format=Flowed; Original Message-ID: Lines: 19 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 64.91.136.221 X-Trace: sv3-A2TCFcTG9bp/1PJRATTEXqLILoNWG39QM/0jfIRarc5KbwOfmsx6hssIp6/OCR1rYgL005XejnkG+VP!7BDfWMinkkl8DXbf3OrE6dWgdakgaXAiwRWrA9x3jLBVctqJla4FumGgDtfnytZr+AVIL0M2iWlX!Iw/ZdvAFikA3JtFwnvQM7k6dOZQDNIUS X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 2487 X-Original-Bytes: 2426 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >"Juan Manuel Guerrero" wrote in message >news:340dcc25-1777-4a76-b2fd-bbc636df9afc AT t9g2000yqi DOT googlegroups DOT com... >IMHO there are only 2 conclusions to this. Or DJGPP has >a bug somewhere in __dpmi_int() or the OS and driver have >a bug. Neitherless it is a fact that filelength should >have checked that 0x71A6 is supported at all. I expect the bug is in this API call. DJGPP has heavily used and tested it's API over the last 15 years. On the other hand, the API to get file lengths over 2GB is very rarely used and very likely to be buggy given the various combinations of drivers and DOS versions. I think your patch is a good one. While v2.03 was tested in all environments, v2.04 has had very sparse testing on non-XP environments.