diff options
author | Christopher Faylor <me@cgf.cx> | 2004-05-28 19:50:07 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-05-28 19:50:07 +0000 |
commit | e3778517d9c6409c9c917db83ccac20de1800a29 (patch) | |
tree | 407e958798d6f156ff0762350734b7b92cf032d8 /winsup/cygwin/shared.cc | |
parent | dccc3e5d2c6059410c12feb9e5d26f3176334011 (diff) | |
download | cygnal-e3778517d9c6409c9c917db83ccac20de1800a29.tar.gz cygnal-e3778517d9c6409c9c917db83ccac20de1800a29.tar.bz2 cygnal-e3778517d9c6409c9c917db83ccac20de1800a29.zip |
* path.cc (chdir): Always use the normalized_path as posix_cwd, except if it
starts with a drive.
Also perform whitespace cleanup.
Diffstat (limited to 'winsup/cygwin/shared.cc')
-rw-r--r-- | winsup/cygwin/shared.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc index 42beb54f9..65adc3e27 100644 --- a/winsup/cygwin/shared.cc +++ b/winsup/cygwin/shared.cc @@ -97,7 +97,7 @@ open_shared (const char *name, int n, HANDLE &shared_h, DWORD size, if (!name) mapname = NULL; else - mapname = shared_name (map_buf, name, n); + mapname = shared_name (map_buf, name, n); if (!(shared_h = CreateFileMapping (INVALID_HANDLE_VALUE, psa, PAGE_READWRITE, 0, size, mapname))) api_fatal ("CreateFileMapping %s, %E. Terminating.", mapname); @@ -163,7 +163,7 @@ user_shared_initialize (bool reinit) if (!cygwin_user_h) { if (wincap.has_security ()) - { + { cygpsid tu (cygheap->user.sid ()); tu.string (name); } |