aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-06-29 10:37:23 +0000
committerCorinna Vinschen <corinna@vinschen.de>2010-06-29 10:37:23 +0000
commit601fbebdf5c25b002f0b63b1886b6f88be95d34c (patch)
tree2e87b810e5c17df0ebf7b77bf156a17b49833bc7
parente7daa3ed754dfaa406099aa8be9473eda959df60 (diff)
downloadnewlib-601fbebdf5c25b002f0b63b1886b6f88be95d34c.zip
newlib-601fbebdf5c25b002f0b63b1886b6f88be95d34c.tar.gz
newlib-601fbebdf5c25b002f0b63b1886b6f88be95d34c.tar.bz2
* spawn.cc (spawn_guts): Reinstantiate a FIXME comment.
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/spawn.cc2
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 4959bad..f7d5202 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,10 +1,14 @@
2010-06-29 Corinna Vinschen <corinna@vinschen.de>
+ * spawn.cc (spawn_guts): Reinstantiate a FIXME comment.
+
+2010-06-29 Corinna Vinschen <corinna@vinschen.de>
+
* exceptions.cc (dump_exception): Use %W instead of %s for printing
progname.
* fork.cc (frok::parent): Fix typos in debug output.
* spawn.cc (spawn_guts): Copy wide Win32 filename into _pinfo::progname,
- rather than native NT name.
+ rather than native NT name. Use %W instead of %S for printing progname.
2010-06-28 Christopher Faylor <me+cygwin@cgf.cx>
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc
index 9d11c8c..d56a385 100644
--- a/winsup/cygwin/spawn.cc
+++ b/winsup/cygwin/spawn.cc
@@ -692,7 +692,7 @@ loop:
myself->dwProcessId = pi.dwProcessId;
strace.execing = 1;
myself.hProcess = hExeced = pi.hProcess;
- real_path.get_wide_win32_path (myself->progname);
+ real_path.get_wide_win32_path (myself->progname); // FIXME: race?
sigproc_printf ("new process name %W", myself->progname);
/* If wr_proc_pipe doesn't exist then this process was not started by a cygwin
process. So, we need to wait around until the process we've just "execed"