Mail Archives: djgpp-workers/2003/01/16/01:03:37
On Wed, 15 Jan 2003, Richard Dawe wrote:
> > Also, if you run _fixpath on a file name in a place other than where
> > the file is actually opened, the program might be in a different
> > directory, so _fixpath will produce incorrect results.
>
> If the file name is relative, for example? (I think this is what you mean.)
Yes, that's what I meant. Sorry for not making it clear.
> Or do you mean something with levels of indirection, like SUBST'd drives?
Maybe that as well, I didn't think about it. The principle is that
_fixpath should be called when the file is opened, since that's the only
place we are sure that all these resolutions produce the correct result.
- Raw text -