* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Check

return code from GetFileSize and set file size to 0 if necessary.
	* fhandler_netdrive.cc (fhandler_netdrive::fstat): Set permissions
	to read/execute for all.
This commit is contained in:
Corinna Vinschen
2005-05-14 21:12:10 +00:00
parent 6dd9ec6c58
commit dad546a5eb
3 changed files with 14 additions and 2 deletions

View File

@ -65,7 +65,7 @@ fhandler_netdrive::fstat (struct __stat64 *buf)
(void) fhandler_base::fstat (buf);
buf->st_mode = S_IFDIR | S_IXUSR | S_IXGRP | S_IXOTH;
buf->st_mode = S_IFDIR | STD_RBITS | STD_XBITS;
return 0;
}