[Mono-devel-list] Handling GetFullPath on Linux

Daniel Morgan danielmorgan at verizon.net
Mon Nov 22 00:17:48 EST 2004


What if you try to read a file from a NTFS partition from Linux?
What if you try to read a file from an ext2 partition from Windows XP?

How do you read a file from a NTFS partition on Windows XP using Cygwin?

How do paths work on Mac OS X?

-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of Ben Maurer
Sent: Sunday, November 21, 2004 9:28 PM
To: mono-devel-list at lists.ximian.com
Subject: [Mono-devel-list] Handling GetFullPath on Linux

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>

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list