зеркало из https://github.com/mozilla/gecko-dev.git
In the Win32 implementation of PR_CreatePipe, mark the pipe endpoints
as inheritable. (We probably should create them as non-inheritable.)
This commit is contained in:
Родитель
19fafdf58c
Коммит
9b9e8b9c7f
|
@ -551,6 +551,8 @@ PR_IMPLEMENT(PRStatus) PR_CreatePipe(
|
|||
(*readPipe)->secret->md.sync_file_io = PR_TRUE;
|
||||
(*writePipe)->secret->md.sync_file_io = PR_TRUE;
|
||||
#endif
|
||||
(*readPipe)->secret->inheritable = PR_TRUE;
|
||||
(*writePipe)->secret->inheritable = PR_TRUE;
|
||||
return PR_SUCCESS;
|
||||
#elif defined(XP_UNIX)
|
||||
int pipefd[2];
|
||||
|
|
Загрузка…
Ссылка в новой задаче