OSDN Git Service

* devices.in: Throughout use slashes instead of backslashes in the
authorcorinna <corinna>
Tue, 15 Feb 2011 15:25:58 +0000 (15:25 +0000)
committercorinna <corinna>
Tue, 15 Feb 2011 15:25:58 +0000 (15:25 +0000)
commit3867d9c36cfe1462ae40927df8ab29dad02224a7
tree5c13f4dc7022b79090e9b49cd2478cb452a7da50
parent12f02599c04188305c850bfc444c56527a74547e
* devices.in: Throughout use slashes instead of backslashes in the
native path of devices not backed by native NT devices.
* devices.cc: Regenerate.
* globals.cc (ro_u_pmem): Use correct case.
(ro_u_globalroot): New R/O unicode string.
* path.cc (path_conv::check): Fix incorrect handling of /proc/sys
block devices if they are just visited due to a component check.
(symlink_info::posixify): Fix typo in comment.
(cygwin_conv_path): Use ro_u_globalroot instead of string constant.
(fast_cwd_version): New shared variable to store FAST_CWD version
used on the system.
(find_fast_cwd_pointer): Rename from find_fast_cwd_pointers.  Don't
set global fast_cwd_ptr pointer here.  Return pointer value instead.
(find_fast_cwd): New function to set fast_cwd_ptr and fast_cwd_version.
(cwdstuff::override_win32_cwd): Call find_fast_cwd from here.
Check for fast_cwd_version to differ between old and new FAST_CWD
structure.  Check old_cwd for NULL to avoid SEGV.  Don't set CWD if
we have neitehr a valid fast_cwd_ptr, nor a valid CWD handle in the
process parameter block.
(cwdstuff::set): Create Win32 path taking /proc/sys paths into account.
* spawn.cc (spawn_guts): Recode creating runpath.  Also take /proc/sys
paths into account.  Drop special CWD handling when starting non-Cygwin
processes.
winsup/cygwin/ChangeLog
winsup/cygwin/devices.cc
winsup/cygwin/devices.in
winsup/cygwin/globals.cc
winsup/cygwin/path.cc
winsup/cygwin/spawn.cc