OSDN Git Service

* fhandler_disk_file.cc (readdir_check_reparse_point): Rename from
authorcorinna <corinna>
Fri, 20 Aug 2010 11:18:57 +0000 (11:18 +0000)
committercorinna <corinna>
Fri, 20 Aug 2010 11:18:57 +0000 (11:18 +0000)
commitee29c2139e2403917a0f657e1ef371f3b3b689ed
treed1cfcd772e37981734051263046df2695609e01a
parent37ebace242e25da41bf16ffb7838d1fb0b59464a
* fhandler_disk_file.cc (readdir_check_reparse_point): Rename from
is_volume_mountpoint.  Return valid d_type value for underlying
reparse point type.
(readdir_get_ino): Don't rely on the handle set in pc.check.  Open
file here if pc.handle() is NULL.
(fhandler_disk_file::readdir_helper): Try to set a correct d_type value
more diligent.
(fhandler_disk_file::readdir): Don't reset dirent_set_d_ino unless
we're really sure it's due to an untrusted FS.  Simplify usage of
FileAttributes, which is 0 if buf is NULL, anyway.  Set d_type
correctly for faked "." and ".." entries.  Improve debug output.
* path.cc (symlink_info::check): Don't keep handle to volume mount
point open.  Explain why.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_disk_file.cc
winsup/cygwin/path.cc