Mail Archives: djgpp-workers/2001/10/12/18:46:57
> From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
> Date: Fri, 12 Oct 2001 14:58:19 -0500 (CDT)
> >
> > 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?
>
> If we don't do anything, we get the fncase=y behavior today (since
> the short name never matches). Just wasted processing time.
That's why I suggested to set the FNCASE bit in the startup flags: it
will save the needless interrupts.
> > 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.
>
> Coding dh=1 would be better than just fncase=y, but I still want to take
> a crack at a 10-20 line alternative which will work better than even
> that does.
Is it really worth the hassle to introduce new code and then debug it?
I can hardly believe that _lfn_gen_short_name is a real processing
bottleneck, since it doesn't even hit the disk.
> Worse case might be a 256 byte table with valid DOS characters;
> with that I don't see how you couldn't easily duplicate the Windows
> behavior.
That assumes we actually know how 71A8h works, which is what we need
to duplicate. I have some idea about that, but since it's nowehere
documented, I cannot say if it's 100% true, since I never tested my
hypothesis on too many files.
- Raw text -