diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-03-12 22:03:28 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-03-12 22:03:28 +0000 |
commit | 752c477b42f643616de46a0e05292a492a98f4d2 (patch) | |
tree | a5eacd4a2ee7861322317c6139e2559bf81e4ba8 /winsup/cygwin/ChangeLog | |
parent | fc69f1aed5ddfc7af997b90131b8d453eec4fbfb (diff) | |
download | cygnal-752c477b42f643616de46a0e05292a492a98f4d2.tar.gz cygnal-752c477b42f643616de46a0e05292a492a98f4d2.tar.bz2 cygnal-752c477b42f643616de46a0e05292a492a98f4d2.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r-- | winsup/cygwin/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 42d2388c8..e6cd5cc07 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,19 @@ 2009-03-12 Corinna Vinschen <corinna@vinschen.de> + * 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 <corinna@vinschen.de> + * flock.cc (fhandler_disk_file::lock): Don't test file open mode in case of flock-type locks. Explain why. |