From 752c477b42f643616de46a0e05292a492a98f4d2 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 12 Mar 2009 22:03:28 +0000 Subject: * fhandler_disk_file.cc (path_conv::isgood_inode): Move to be defined earlier. (get_ino_by_handle): Take additional path_conv argument, accommodate throughout. Only use FileId if isgood_inode check is true. (fhandler_base::open_fs): Simplify setting ino due to above change. (readdir_get_ino): Make sure to return always a non-zero inode number. (fhandler_disk_file::readdir): Always open file in dir with FILE_OPEN_REPARSE_POINT so as not to open wrong file. Drop call to isgood_inode here. * path.cc (symlink_info::check): Call fs.update in case we're fetching file information from call to NtQueryDirectoryFile. --- winsup/cygwin/ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'winsup/cygwin/ChangeLog') diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 42d2388c8..e6cd5cc07 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,17 @@ +2009-03-12 Corinna Vinschen + + * fhandler_disk_file.cc (path_conv::isgood_inode): Move to be defined + earlier. + (get_ino_by_handle): Take additional path_conv argument, accommodate + throughout. Only use FileId if isgood_inode check is true. + (fhandler_base::open_fs): Simplify setting ino due to above change. + (readdir_get_ino): Make sure to return always a non-zero inode number. + (fhandler_disk_file::readdir): Always open file in dir with + FILE_OPEN_REPARSE_POINT so as not to open wrong file. + Drop call to isgood_inode here. + * path.cc (symlink_info::check): Call fs.update in case we're fetching + file information from call to NtQueryDirectoryFile. + 2009-03-12 Corinna Vinschen * flock.cc (fhandler_disk_file::lock): Don't test file open mode in -- cgit v1.2.3