* cygheap.h (struct cwdstuff): Drop hash member. Drop get_hash,
get_initial, and fixup_after_exec declarations. Convert win32 to UNICODE_STRING. (cwdstuff::get_drive): Convert win32 path in current codepage. (cwdstuff::set): Take native NT path. * ntdll.h (struct _TEB): Typedef. * path.cc (mount_info::conv_to_posix_path): Add variant taking wide char DOS paths. (symlink_info::posixify): Simplify concatenating cwd and relative path. (hash_path_name): Drop special relative path handling. (chdir): Drop special "drive only" handling. Call cwdstuff::set with native path. (cwdstuff::get_hash): Remove. (windows_system_directory): Remove. (_upp): Remove. (get_user_proc_parms): Make inline. Get PEB pointer by calling NtCurrentTeb. (cwdstuff::init): Simplify. (cwdstuff::set): Rework to handle incoming native NT path. Workaround a Vista problem with CWD handle in the user process parameter block. (cwdstuff::get): Simplify locking. Accommodate type change of win32. * shared_info.h (mount_info): Add declaration for new conv_to_posix_path method. * strfuncs.cc (sys_wcstombs): Return correct length of created multi-byte string.
This commit is contained in:
@@ -1,3 +1,31 @@
|
||||
2007-10-22 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* cygheap.h (struct cwdstuff): Drop hash member. Drop get_hash,
|
||||
get_initial, and fixup_after_exec declarations.
|
||||
Convert win32 to UNICODE_STRING.
|
||||
(cwdstuff::get_drive): Convert win32 path in current codepage.
|
||||
(cwdstuff::set): Take native NT path.
|
||||
* ntdll.h (struct _TEB): Typedef.
|
||||
* path.cc (mount_info::conv_to_posix_path): Add variant taking
|
||||
wide char DOS paths.
|
||||
(symlink_info::posixify): Simplify concatenating cwd and relative path.
|
||||
(hash_path_name): Drop special relative path handling.
|
||||
(chdir): Drop special "drive only" handling. Call cwdstuff::set with
|
||||
native path.
|
||||
(cwdstuff::get_hash): Remove.
|
||||
(windows_system_directory): Remove.
|
||||
(_upp): Remove.
|
||||
(get_user_proc_parms): Make inline. Get PEB pointer by calling
|
||||
NtCurrentTeb.
|
||||
(cwdstuff::init): Simplify.
|
||||
(cwdstuff::set): Rework to handle incoming native NT path. Workaround
|
||||
a Vista problem with CWD handle in the user process parameter block.
|
||||
(cwdstuff::get): Simplify locking. Accommodate type change of win32.
|
||||
* shared_info.h (mount_info): Add declaration for new conv_to_posix_path
|
||||
method.
|
||||
* strfuncs.cc (sys_wcstombs): Return correct length of created
|
||||
multi-byte string.
|
||||
|
||||
2007-10-19 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_disk_file.cc (__DIR_mounts::eval_ino): Make fname big enough
|
||||
|
||||
Reference in New Issue
Block a user