Mail Archives: djgpp-workers/2001/09/27/17:03:07
> From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
> Date: Thu, 27 Sep 2001 13:34:01 -0500 (CDT)
>
> > I don't understand why do you object to the solution I proposed. If
> > UNCs never happen in truename's result, all we pay is a bunch of
> > character comparisons. If they do happen, we had better DTRT, even if
> > it costs one more call to truename, possibly one more call to getdisk,
> > and some character string manipulations.
>
> I don't object to it, I'm just trying to find out when it might ever be
> used (for testing, validation). So far we have gone 7 years without having
> the truename backup code in there at all, so I'm hard pressed to understand
> why we would need to handle all these sub-cases, and validate they actually
> behave correctly.
The call to getcwd didn't need this backup because getcwd never
returns a UNC. _truename did, at least in my testing.
- Raw text -