delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/29/05:51:32

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Rhide, NT and LFN - some news
Date: Sat, 29 Jan 2000 10:47:49 +0200
Organization: NetVision Israel
Lines: 13
Message-ID: <3892A935.2DA80FFB@is.elta.co.il>
References: <38909F3F DOT CA060487 AT mailbox DOT swipnet DOT se> <3891618F DOT 90CC4B18 AT mdh DOT se> <389196AB DOT 75F4F711 AT inti DOT gov DOT ar> <aqt39ss7ackd36msmcf96c3d8r2hrr7l7d AT 4ax DOT com>
NNTP-Posting-Host: ras1-p14.rvt.netvision.net.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 949135678 26612 62.0.172.16 (29 Jan 2000 08:47:58 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 29 Jan 2000 08:47:58 GMT
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en,ru,hebrew
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Damian Yerrick wrote:
> 
> How to fix libc:
> 
> If an entire long filename is uppercase, lowercase it before returning
> it to the caller. That's what Linux vfat support does.

Not only does the library already do so, it's even documented--see the docs
of the function _preserve_fncase in libc.info.

Note that the library only does this for DOS 8+3 names; long file names are
left intact, because otherwise names like GETTING.GNU.SOFTWARE would also be
downcased.  If Linux does that with long file names, Linux is wrong.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019