[Mono-devel-list] patch for System.IO.Path

Atsushi Eno ginga at kit.hi-ho.ne.jp
Wed Dec 17 12:31:02 EST 2003


Hello,

Here is a patch to fix for several Path methods. If someone cares sys.io 
namespace now, please check this. If there seems no objectives, I'll 
check in. Mainly I did it for Microsoft compatibility on windows.
Testcase are already in cvs.


This patch includes several fixes, so some might be problematic, while 
some might be not. So I created current dependency list. It might be 
useless, but if modifying only some bits, maybe this will help.

--------
top level are independent.
Indented methods are dependent e.g. Combine depends on IsPathRooted.

Directory.GetCurrentDirectory
   GetPathRoot -> IsPathRooted, IsDsc, findExtension
     GetDirectoryName
     (CanonicalizePath)
       GetFullPath -> IsPathRooted
(IsDsc)
IsPathRooted
   Combine
     GetTempFileName -> GetTempPath
GetTempPath
(findExtension)
   HasExtension
   GetExtension
   ChangeExtension
     GetFileNameWithoutExtension

(inside parenthesis means private method)
----

regards,
Atsushi Eno
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: path.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031218/c9cd2836/attachment.pl 


More information about the Mono-devel-list mailing list