This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch]: st_size for symlinks


This patch sets st_size correctly for symlinks.

Pierre

2004-04-14  Pierre Humblet <pierre.humblet@ieee.org>

	* path.h (path_conv::set_symlink): Add argument.
	(path_conv::get_symlink_length): New method. 
	(path_conv::symlink_length): New member.
	* path.cc (path_conv::check): Pass symlen to set_symlink.
	* fhandler_disk_file.cc (fhandler_base::fstat_helper): For symlinks
	set st_size from get_symlink_length.	

Attachment: symlink.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]