From: Eli Zaretskii 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> NNTP-Posting-Host: ras1-p14.rvt.netvision.net.il Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.