X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Fri, 02 Sep 2011 19:40:20 +0300 From: Eli Zaretskii Subject: Re: gcc difficulties on MSDOS 6.22 with LFN driver installed In-reply-to: X-012-Sender: halo1 AT inter DOT net DOT il To: djgpp AT delorie DOT com Message-id: <83pqjiuccr.fsf@gnu.org> 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> 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 > 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?