This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog fhandler_disk_file ...
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 12 Mar 2009 22:03:28 -0000
- Subject: src/winsup/cygwin ChangeLog fhandler_disk_file ...
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2009-03-12 22:03:28
Modified files:
winsup/cygwin : ChangeLog fhandler_disk_file.cc path.cc
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4400&r2=1.4401
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&r1=1.297&r2=1.298
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.541&r2=1.542