[Mono-devel-list] Handling GetFullPath on Linux
jeroen at sumatra.nl
Mon Nov 22 03:21:47 EST 2004
Ben Maurer wrote:
> Right now, there are two bugs about how Path.GetFullPath mangles paths
> that are treated differently in Windows and Linux:
> I think that the best way to go about fixing this is to check what
> platform we are and change our parsing rules accordingly.
> However, this may break the expectations of some users (especially
> 68566). (for example, the user might expect a\b\c to get
> transformed to a/b/c on Linux, ie, they use it to change the path
This doesn't make sense. DirectorySeparatorChar and
AltDirectorySeparatorChar should both be '/' on Linux. Applications that
hardcode a backslash are lame.
> I am not sure what to do about this. Which is more important, allowing
> UNIX escapes, or keeping compat?
Surely allowing UNIX escapes is more important?
More information about the Mono-devel-list