Bug 620931 part 2.5 - Properly quote arguments on Windows when starting child processes. r=rstrong

This commit is contained in:
Mike Hommey
2011-05-12 15:44:35 +02:00
parent b10f57ab45
commit 73acccdaca
3 changed files with 48 additions and 22 deletions

View File

@@ -115,9 +115,7 @@ ReplaceAll(const string& haystack, const string& needle, const string& with)
string
MungePluginDsoPath(const string& path)
{
#if defined(XP_WIN)
return "\""+ path +"\"";
#elif defined(OS_LINUX)
#if defined(OS_LINUX)
// https://bugzilla.mozilla.org/show_bug.cgi?id=519601
return ReplaceAll(path, "netscape", "netsc@pe");
#else