Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-05-28 23:50:07 +0400
committerChristopher Faylor <me@cgf.cx>2004-05-28 23:50:07 +0400
commite3778517d9c6409c9c917db83ccac20de1800a29 (patch)
tree407e958798d6f156ff0762350734b7b92cf032d8 /winsup/cygwin/sec_helper.cc
parentdccc3e5d2c6059410c12feb9e5d26f3176334011 (diff)
* 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/sec_helper.cc')
-rw-r--r--winsup/cygwin/sec_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc
index b97dcd028..852ef5b52 100644
--- a/winsup/cygwin/sec_helper.cc
+++ b/winsup/cygwin/sec_helper.cc
@@ -385,7 +385,7 @@ enable_restore_privilege ()
{
int res = 2 + set_process_privilege (SE_RESTORE_NAME, true, issetuid);
if (!issetuid)
- saved_res = res;
+ saved_res = res;
}
}