X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Wed, 31 Aug 2011 23:02:38 +0300 From: Eli Zaretskii Subject: Re: gcc difficulties on MSDOS 6.22 with LFN driver installed In-reply-to: <201108312117.54522.juan.guerrero@gmx.de> X-012-Sender: halo1 AT inter DOT net DOT il To: Juan Manuel Guerrero Cc: djgpp AT delorie DOT com Message-id: <83k49te4dd.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> 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 > From: Juan Manuel Guerrero > Date: Wed, 31 Aug 2011 21:17:54 +0200 > Cc: djgpp AT delorie DOT com > > The functions generating EOVERFLOW are filelength() and lfilelength(). Both of > them usefunction 0x7A46 to get the file size if LFN support is available. But I > assume that neither MSDOS nor DOSLFN provide the required function. Perhaps we should not fail these library functions if 7A46 returns an error that translates into EOVERFLOW, but instead invoke the SFN equivalent.