src/winsup/cygwin ChangeLog fhandler_disk_file ...

corinna@cygwin.com corinna@cygwin.com
Fri Aug 20 11:18:00 GMT 2010


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2010-08-20 11:18:58

Modified files:
	winsup/cygwin  : ChangeLog fhandler_disk_file.cc path.cc 

Log message:
	* 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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5000&r2=1.5001
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&r1=1.333&r2=1.334
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.601&r2=1.602



More information about the Cygwin-cvs mailing list