[Mono-devel-list] Handling GetFullPath on Linux

Ben Maurer bmaurer at ximian.com
Sun Nov 21 21:27:52 EST 2004


Hey guys,

Right now, there are two bugs about how Path.GetFullPath mangles paths
that are treated differently in Windows and Linux:

http://bugzilla.ximian.com/show_bug.cgi?id=53173
http://bugzilla.ximian.com/show_bug.cgi?id=68566

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 components)

I am not sure what to do about this. Which is more important, allowing
UNIX escapes, or keeping compat?

-- 
Ben Maurer <bmaurer at ximian.com>




More information about the Mono-devel-list mailing list