+2007-04-05 Dick Porter <dick@ximian.com>
+
+ * Directory.cs: Pass combined path and pattern to
+ MonoIO.GetFileSystemEntries()
+
2007-04-03 Alp Toker <alp@atoker.com>
* UnmanagedMemoryStream.cs: Should not have a public Dispose().
throw new ArgumentException ("Path is invalid", "path");
}
- string [] result = MonoIO.GetFileSystemEntries (wildpath, pattern, (int) attrs, (int) mask, out error);
+ string path_with_pattern = Path.Combine (wildpath, pattern);
+ string [] result = MonoIO.GetFileSystemEntries (path, path_with_pattern, (int) attrs, (int) mask, out error);
if (error != 0)
throw MonoIO.GetException (wildpath, error);
-
+
return result;
}
public extern static bool RemoveDirectory (string path, out MonoIOError error);
[MethodImplAttribute (MethodImplOptions.InternalCall)]
- public extern static string [] GetFileSystemEntries (string path, string pattern, int attrs, int mask, out MonoIOError error);
+ public extern static string [] GetFileSystemEntries (string path, string path_with_pattern, int attrs, int mask, out MonoIOError error);
[MethodImplAttribute (MethodImplOptions.InternalCall)]
public extern static string GetCurrentDirectory (out MonoIOError error);
+2007-04-05 Dick Porter <dick@ximian.com>
+
+ * Environment.cs: Increment mono_corlib_version
+
2007-04-03 Alp Toker <alp@atoker.com>
* Array.cs: CreateInstance(Type,int[]) is params.
* Changes which are already detected at runtime, like the addition
* of icalls, do not require an increment.
*/
- private const int mono_corlib_version = 55;
+ private const int mono_corlib_version = 56;
public enum SpecialFolder
{ // TODO: Determine if these windoze style folder identifiers