[Mono-devel-list] Patch for #58804

Gonzalo Paniagua Javier gonzalo at ximian.com
Wed May 26 00:19:23 EDT 2004


El mié, 26-05-2004 a las 05:56, Urs C Muff escribió:
> Index: ChangeLog
> ===================================================================
> RCS file: /cvs/public/mcs/class/corlib/System.IO/ChangeLog,v
> retrieving revision 1.255
> diff -u -r1.255 ChangeLog
> --- ChangeLog	22 May 2004 21:42:10 -0000	1.255
> +++ ChangeLog	26 May 2004 03:07:37 -0000
> @@ -1,3 +1,8 @@
> +2004-05-25  grompf at sublimeintervention.com (grompf)
> +	* FileInfo.cs: Fix for #58804
> +The MS spec states that FileInfo.ToString() should return the full path as seen:
> +http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemiofileinfoclasstostringtopic.asp
> +
>  2004-05-22  Duncan Mak  <duncan at ximian.com>
>  
>  	* Directory.cs: Reformat the whole file to use Unix line endings
> Index: FileInfo.cs
> ===================================================================
> RCS file: /cvs/public/mcs/class/corlib/System.IO/FileInfo.cs,v
> retrieving revision 1.19
> diff -u -r1.19 FileInfo.cs
> --- FileInfo.cs	16 May 2004 14:53:53 -0000	1.19
> +++ FileInfo.cs	26 May 2004 03:07:37 -0000
> @@ -165,7 +165,7 @@
>  		}
>  
>  		public override string ToString () {
> -			return Name;
> +			return FullPath;
>  		}
>  	}
>  }

As we talked on IRC, this is a no, no.

-Gonzalo




More information about the Mono-devel-list mailing list