diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-06-09 13:29:12 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-06-09 13:29:12 +0000 |
commit | 271c1935b307c30a427047deca4f3a781e9f9eb5 (patch) | |
tree | 9b1aa8518b94b73f315847a30491e75de845159c /winsup/cygwin/exceptions.cc | |
parent | 32173f7ec4c17b4c8fd8a2bdf98b51e49476d15e (diff) | |
download | cygnal-271c1935b307c30a427047deca4f3a781e9f9eb5.tar.gz cygnal-271c1935b307c30a427047deca4f3a781e9f9eb5.tar.bz2 cygnal-271c1935b307c30a427047deca4f3a781e9f9eb5.zip |
* spawn.cc (spawn_guts): Call CreateProcess while impersonated,
when the real {u,g}ids and the groups are original.
Move RevertToSelf and ImpersonateLoggedOnUser to the main line.
* uinfo.cc (uinfo_init): Reorganize. If CreateProcess was called
while impersonated, preserve the uids and gids and call
ImpersonateLoggedOnUser. Preserve the uids and gids on Win9X.
* exceptions.cc (error_start_init): Quote the pgm in the command.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 4a38a8e4c..fe57c53bc 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -154,7 +154,7 @@ error_start_init (const char *buf) for (char *p = strchr (pgm, '\\'); p; p = strchr (p, '\\')) *p = '/'; - __small_sprintf (debugger_command, "%s %s", buf, pgm); + __small_sprintf (debugger_command, "%s \"%s\"", buf, pgm); } static void |