* spawn.cc (spawn_guts): Fix previous patch for UNC paths.
This commit is contained in:
parent
7e1fdc9e2c
commit
02151f07e6
@ -1,3 +1,7 @@
|
||||
2008-07-22 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* spawn.cc (spawn_guts): Fix previous patch for UNC paths.
|
||||
|
||||
2008-07-22 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* spawn.cc (spawn_guts): Remove long path prefix from win32 path
|
||||
|
@ -482,7 +482,7 @@ spawn_guts (const char *prog_arg, const char *const *argv,
|
||||
{
|
||||
PWCHAR r = runpath + 4;
|
||||
if (r[1] != L':') /* UNC path */
|
||||
r += 2;
|
||||
*(r += 2) = L'\\';
|
||||
runpath = r;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user