[mono/mono] a52849e3: Fix inacurrate reference

"Miguel de Icaza ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <0000014184fc1ed0-3a0548d6-783a-4b57-be0b-510cef2fe756-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/48266c8b04e2...a52849e33649

   Commit: a52849e3364957c5ddb8d01443fe57692d82efd7
   Author: Miguel de Icaza <[email protected]> (migueldeicaza)
     Date: 2013-10-04 19:39:09 GMT
      URL: https://github.com/mono/mono/commit/a52849e3364957c5ddb8d01443fe57692d82efd7

Fix inacurrate reference

Changed paths:
  M mcs/class/corlib/System.IO/Path.cs

Modified: mcs/class/corlib/System.IO/Path.cs
===================================================================
@@ -289,9 +289,8 @@ public static string GetFullPath (string path)
 			return fullpath;
 		}
 
-		[DllImport("Kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
 		// http://msdn.microsoft.com/en-us/library/windows/desktop/aa364963%28v=vs.85%29.aspx
-		// http://www.codeproject.com/Tips/223321/Win32-API-GetFullPathName
+		[DllImport("Kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
 		private static extern int GetFullPathName(string path, int numBufferChars, StringBuilder buffer, ref IntPtr lpFilePartOrNull); 
 
 		internal static string GetFullPathName(string path)


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.