* UnixDirectoryInfo.cs: Fix Parent property so that it properly handles
authorJonathan Pryor <jpryor@novell.com>
Mon, 17 Dec 2007 15:31:31 +0000 (15:31 -0000)
committerJonathan Pryor <jpryor@novell.com>
Mon, 17 Dec 2007 15:31:31 +0000 (15:31 -0000)
commit9c265f8909ebf6ffde8dc617707e85bb07381b30
tree24fda6f5417d8596742a72ed49be8eae8b2c72b7
parent93d14a84f5ed814ba8f0297f5a1ba48cb16982da
* UnixDirectoryInfo.cs: Fix Parent property so that it properly handles
  returning the parent of "/".  UnixPath.GetDirectoryName() returns "" on
  "error", not null; act accordingly.
* UnixDriveInfo.cs: Fix IsReady property so that it returns `false' if no
  media is mounted.  The presence of media is determined by comparing the
  Statvfs.f_fsid value of the current and parent directories; if they
  differ, it is assumed that media is present, and thus the directory is
  ready.  If they're identical, then media isn't present, and the directory
  isn't ready.
* UnixPath.cs: UnixPath.GetDirectoryName("/mnt") should return "/", not "".

svn path=/trunk/mcs/; revision=91452
mcs/class/Mono.Posix/Mono.Unix/ChangeLog
mcs/class/Mono.Posix/Mono.Unix/UnixDirectoryInfo.cs
mcs/class/Mono.Posix/Mono.Unix/UnixDriveInfo.cs
mcs/class/Mono.Posix/Mono.Unix/UnixPath.cs