4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-19 04:49:25 +08:00
Corinna Vinschen 9c154abedb * cygheap.h (cwdstuff::override_win32_cwd): Declare.
* ntdll.h (struct _PEB): Add members accessed by the fast cwd method
	starting with Vista.
	(struct _KUSER_SHARED_DATA): Define with only the DismountCount.
	(RtlAllocateHeap): Declare.
	(RtlEnterCriticalSection): Declare.
	(RtlFreeHeap): Declare.
	(RtlLeaveCriticalSection): Declare.
	* path.cc (get_user_proc_parms): Remove.
	(struct _FAST_CWD): New structure.
	(fast_cwd_ptr): Define.
	(SharedUserData): Define.
	(peek32): Define.
	(find_fast_cwd_pointers): New function to find the global pointer
	to the current FAST_CWD structure.
	(copy_cwd_str): New helper function.
	(cwdstuff::override_win32_cwd): New method to set the Win32 CWD.
	(cwdstuff::init): Just call override_win32_cwd from here when
	started from native Win32 parent.
	(cwdstuff::set): Access Win32 CWD via PEB reference instead of using
	get_user_proc_parms function.  Memorize old DismountCount before
	opening directory handle.  Call override_win32_cwd to set up Win32 CWD.
	Be more verbose in comments.
	* wincap.h (wincaps::has_fast_cwd): New element.
	* wincap.cc: Implement has_fast_cwd element throughout.
2010-10-09 10:54:13 +00:00
..
2010-08-30 01:57:37 +00:00
2009-01-21 17:14:39 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2009-09-22 02:49:15 +00:00
2009-09-22 02:49:15 +00:00
2010-01-01 19:28:15 +00:00
2009-01-21 17:14:39 +00:00
2009-01-21 17:14:39 +00:00
2009-01-21 17:14:39 +00:00
2010-09-11 06:53:28 +00:00
2010-04-20 03:45:27 +00:00
2009-08-01 19:52:46 +00:00
2009-10-31 13:24:06 +00:00
2010-02-28 15:54:25 +00:00
2009-07-07 20:12:44 +00:00
2010-03-03 15:05:19 +00:00
2010-03-03 15:05:19 +00:00
2010-02-02 02:00:01 +00:00
2010-01-14 18:46:02 +00:00
2010-03-01 06:39:47 +00:00
2010-01-14 18:46:02 +00:00
2010-09-11 06:53:28 +00:00
2010-01-14 18:46:02 +00:00
2010-01-14 18:46:02 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2010-02-22 11:01:46 +00:00
2010-09-28 14:49:31 +00:00
2010-07-19 18:22:40 +00:00
2010-04-10 05:47:54 +00:00
2010-09-28 14:49:31 +00:00
2009-01-21 17:14:39 +00:00
2010-09-28 14:49:31 +00:00
2010-08-30 01:57:37 +00:00
2010-09-12 19:43:55 +00:00
2009-01-21 17:14:39 +00:00
2009-01-21 17:14:39 +00:00
2010-09-28 14:49:31 +00:00
2008-05-22 01:25:37 +00:00
2010-03-13 19:34:35 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2010-02-28 15:54:25 +00:00
2010-06-21 19:55:12 +00:00
2010-09-28 14:49:31 +00:00
2009-08-01 19:52:46 +00:00
2009-08-01 19:52:46 +00:00
2010-08-30 02:09:30 +00:00
2010-08-30 01:57:37 +00:00
2009-02-19 16:12:02 +00:00