Date: Fri, 12 Oct 2001 21:33:11 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: sandmann AT clio DOT rice DOT edu Message-Id: <7680-Fri12Oct2001213311+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com, tim DOT van DOT holder AT pandora DOT be, acottrel AT ihug DOT com DOT au In-reply-to: <10110121850.AA20535@clio.rice.edu> (sandmann@clio.rice.edu) Subject: Re: W2K/XP fncase [was Re: New perl package] References: <10110121850 DOT AA20535 AT clio DOT rice DOT edu> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) > Date: Fri, 12 Oct 2001 13:50:00 -0500 (CDT) > > In both cases, any special characters such as _ or ! put garbage into > the file name stream: > _.CVS -> _67C0.CVS > !.cvs -> !60D2.CVS > > None of the flags in DL seem to make any difference. Is this on XP only, or on W2K as well? > So it appears we > either force fncase=y all the time by returning a bogus string, or > do something a little better than nothing. Just truncating the > string to 8.3 and upcasing does fix 99% of the examples on the disk. If this happens on W2K as well, I'd say, let's set FNCASE=y in the startup code if it sees W2K/XP. (By ``setting FNCASE=y'' I mean to set the appropriate bit in the startup flags.) If it only happens on XP, perhaps we could report this as a bug and hope they fix this before the final release? Alternatively, we could code the case of DH=1 (in a W2K/XP-special branch) and leave the probably rare cases such as !.cvs to be treated case-sensitively, like they are today.