* fhandler_disk_file.cc (fhandler_cygdrive::closedir): Return 0 when closing

cygdrive_root.
This commit is contained in:
Christopher Faylor 2005-02-23 02:00:48 +00:00
parent 24e8fc6872
commit d1b941af91
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-02-22 Christopher Faylor <cgf@timesys.com>
* fhandler_disk_file.cc (fhandler_cygdrive::closedir): Return 0 when
closing cygdrive_root.
2005-02-22 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din (basename): Export.

View File

@ -1355,5 +1355,5 @@ fhandler_cygdrive::closedir (DIR *dir)
if (!iscygdrive_root ())
return fhandler_disk_file::closedir (dir);
pdrive = get_win32_name ();
return -1;
return 0;
}