4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-21 00:07:36 +08:00
Corinna Vinschen 8eca536272 * dir.cc (mkdir): Check last path component for "..".
(rmdir): Don't check last path component for "..".
	* fhandler_disk_file.cc (fhandler_disk_file::rmdir): Drop kludge
	which tries to allow deleting the current working directory.
	* path.cc (has_dot_last_component): Add parameter to indicate testing
	for "..".  Take trailing slash into account.
	(symlink_info::posixify): Rely on cygheap->cwd.win32 having a
	useful value.
	(cwdstuff::init): Initialize cygheap->cwd with current working
	directory.  Change to windows_system_directory afterwards.
	(cwdstuff::set): Never call SetCurrentDirectory here.  Just check
	if changing into target directory would be allowed.  Add comment to
	explain why.
	* path.h (has_dot_last_component): Declare with second parameter.
	* pinfo.cc (pinfo::zap_cwd): Remove.
	(pinfo::exit): Drop call to zap_cwd.
	* pinfo.h (class pinfo): Remove declaration of zap_cwd.
	* spawn.cc (spawn_guts): Set current working directory for non-Cygwin
	child applications.  Drop call to zap_cwd.
2006-11-30 10:17:24 +00:00
..
2006-05-24 16:59:03 +00:00
2006-03-01 20:20:22 +00:00
2004-12-05 02:30:20 +00:00
2006-01-16 19:52:21 +00:00
2006-05-24 16:59:03 +00:00
2005-09-29 14:28:22 +00:00
2005-03-23 17:11:24 +00:00
2006-11-27 12:59:59 +00:00
.
2006-10-06 22:32:09 +00:00
2006-11-27 12:59:59 +00:00
2006-02-15 22:11:13 +00:00
2006-07-17 19:30:30 +00:00
2005-08-12 02:39:13 +00:00
2005-09-28 19:22:25 +00:00
2006-08-10 14:16:24 +00:00
2006-07-17 19:30:30 +00:00
2006-03-01 20:20:22 +00:00
2006-10-17 17:34:56 +00:00
2006-11-27 12:59:59 +00:00
2006-07-06 17:16:37 +00:00
2004-12-05 02:30:20 +00:00
2005-11-18 17:48:23 +00:00
2005-12-29 20:46:34 +00:00
2005-05-02 03:50:11 +00:00
2006-07-03 18:30:08 +00:00
2006-11-27 12:59:59 +00:00
2006-11-27 12:59:59 +00:00
2004-12-27 19:03:56 +00:00
2004-12-27 19:03:56 +00:00
2006-01-02 02:57:54 +00:00
2006-05-28 15:50:14 +00:00
2006-02-20 02:06:37 +00:00
2006-11-27 12:59:59 +00:00
2006-11-27 12:59:59 +00:00
2006-07-17 19:30:30 +00:00