OSDN Git Service

* path.cc (copy_cwd_str): Move up in file to be accessible from
authorcorinna <corinna>
Thu, 13 Oct 2011 15:32:09 +0000 (15:32 +0000)
committercorinna <corinna>
Thu, 13 Oct 2011 15:32:09 +0000 (15:32 +0000)
commit139e3e70bba16caff73f65077585e66213e58803
treef5466faa01673c288ac9d9b8108ee2e3df057c31
parent691f80d9fad80986dd9f3e3ded234bbdd43c259a
* path.cc (copy_cwd_str): Move up in file to be accessible from
class fcwd_access_t.
(class fcwd_access_t): New class to consolidate and hide the details
of the various FAST_CWD implementations.  Add implementation for
Windows 8 Developer Preview.
(fast_cwd_version): Make static private member of fcwd_access_t.
(fast_cwd_ptr): Change base type to fcwd_access_t.
(find_fast_cwd_pointer): Return fcwd_access_t**.
(find_fast_cwd): Ditto.  Rip out all FAST_CWD implementations and use
fcwd_access_t methods instead.
(cwdstuff::override_win32_cwd): Ditto.
winsup/cygwin/ChangeLog
winsup/cygwin/path.cc