* spawn.cc (spawn_guts): Fix previous patch for UNC paths.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user