X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Rod Pemberton" Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc difficulties on MSDOS 6.22 with LFN driver installed Date: Sun, 4 Sep 2011 06:43:13 -0400 Organization: Aioe.org NNTP Server Lines: 32 Message-ID: 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> NNTP-Posting-Host: qBjb0U1QTH77eiTXJSCpEw.user.speranza.aioe.org X-Complaints-To: abuse AT aioe DOT org X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.2001 X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Microsoft Outlook Express 6.00.2800.2001 X-Priority: 3 X-MSMail-Priority: Normal Bytes: 2429 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:306fc401-ad43-4c8c-9e86-382f90e32110 AT p10g2000yqi DOT googlegroups DOT com... > On 2 Sep., 18:40, Eli Zaretskii wrote: > > > Date: Fri, 2 Sep 2011 17:25:48 +0300 > > > From: Ozkan Sezer > > > > Something like the following then? (Very quick+dirty patch, I know.) > > > Yes, thanks. Although it would be better to know whether DOSLFN > > returns -1 in offset 0x24 or non-zero in offset 0x20, and have a more > > fine-grain recovery here. > > > > I also wonder whether fchmod() and/or fstat() are affected by this > > > lfn issue... > > > Juan, can you test that? > > I have found my old FreeDOS CD and installed DOSLFN 0.40c. > With this driver everthing works on MSDOS. Stepping into > the filelength() code shows that the 0.40e version does > not set the CF when it returns from 0x71A6 call while 0.40c > does so that it jumps directly into the 0x4201 code instead > of returning an EOVERFLOW. > If 0.40e does not set the CF, shouldn't I be seeing the error with MS-DOS 7.10 too? I don't get why this is just 6.22 or FreeDOS ... Rod Pemberton