зеркало из https://github.com/mozilla/gecko-dev.git
Fixing bug 273961. Don't execute unix process creation code on windows. r+sr=darin@meer.net
This commit is contained in:
Родитель
8b8224d58b
Коммит
29a91b0229
|
@ -299,7 +299,9 @@ nsProcess::Run(PRBool blocking, const char **args, PRUint32 count,
|
|||
rv = PR_FAILURE;
|
||||
}
|
||||
|
||||
#elif defined(XP_MACOSX)
|
||||
#else // Note, this must not be an #elif ...!
|
||||
|
||||
#if defined(XP_MACOSX)
|
||||
if (count == 0) {
|
||||
FSSpec resolvedSpec;
|
||||
OSErr err = noErr;
|
||||
|
@ -366,6 +368,7 @@ nsProcess::Run(PRBool blocking, const char **args, PRUint32 count,
|
|||
NULL);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// free up our argv
|
||||
nsMemory::Free(my_argv);
|
||||
|
|
Загрузка…
Ссылка в новой задаче