4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-14 04:59:09 +08:00
Corinna Vinschen 044b62c767 * path.cc (struct symlink_info): Change size of contents member to
be able to keep SYMLINK_MAX sized strings.
	(symlink_worker): Rework for long path names.  When writing windows
	shortcuts, store pathname additionally "hidden" after the actual
	shortcut data to workaround size limitations of the description field.
	(symlink_info::check_shortcut): Drop file name parameter.  Drop max
	file size check.  Use NT functions.  Use appended full path if
	available, description otherwise.  Check symlink string length for
	not exceeding SYMLINK_MAX.  Don't close file here.
	(symlink_info::check_sysfile): Drop file name parameter.  Use NT
	functions.  Check symlink string length for not exceeding SYMLINK_MAX.
	Don't close file here.
	(symlink_info::check_reparse_point): Drop file name parameter.  Drop
	useless length checks.  Allow SYMLINK_MAX length symlink strings.
	Don't close file here.
	(symlink_info::posixify): Allow SYMLINK_MAX length symlink strings.
	(symlink_info::check): Turn around checking for symlink file attributes.
	Use NT functions.  Close symlink file here.
	* include/limits.h (PATH_MAX): Define as 32760.  Change comment.
	(SYMLINK_MAX): Define as PATH_MAX - 1.
2007-10-10 16:54:09 +00:00
..
2006-05-24 16:59:03 +00:00
2006-03-01 20:20:22 +00:00
2006-01-16 19:52:21 +00:00
2007-01-03 11:14:53 +00:00
2006-05-24 16:59:03 +00:00
2005-09-29 14:28:22 +00:00
2006-11-27 12:59:59 +00:00
2006-02-15 22:11:13 +00:00
2005-09-28 19:22:25 +00:00
2007-07-07 16:43:03 +00:00
2006-03-01 20:20:22 +00:00
2007-03-06 16:29:40 +00:00
2007-07-14 15:58:32 +00:00
2007-07-07 16:43:03 +00:00
2007-02-20 00:16:18 +00:00
2007-07-07 16:43:03 +00:00
2007-06-29 15:13:01 +00:00
2007-02-20 15:48:04 +00:00
2007-07-07 17:29:20 +00:00
2007-07-14 15:58:32 +00:00
2006-01-02 02:57:54 +00:00
2007-06-11 17:38:27 +00:00
2006-02-20 02:06:37 +00:00
2006-07-17 19:30:30 +00:00
2007-08-20 15:16:27 +00:00