* fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop redundant

access check.
This commit is contained in:
Corinna Vinschen 2006-10-16 13:11:29 +00:00
parent c28fea1bdc
commit 0b8affca5e
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-10-16 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop redundant
access check.
2006-10-16 Corinna Vinschen <corinna@vinschen.de>
* include/asm/byteorder.h: Fix copyright dates.

View File

@ -1559,8 +1559,6 @@ fhandler_disk_file::opendir ()
set_errno (ENOMEM);
goto free_dirname;
}
else if (!pc.iscygdrive () && fhaccess (R_OK) != 0)
goto free_dirent;
else
{
strcpy (d_dirname (dir), get_win32_name ());