mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bugzilla bug #39731: the imported pipe needs to have its
secret->md.sync_file_io set to PR_TRUE on NT because unnamed pipes don't support async io.
This commit is contained in:
parent
edeb93ad2f
commit
df3cdee5ef
@ -570,6 +570,9 @@ PR_IMPLEMENT(PRFileDesc*) PR_ImportPipe(PRInt32 osfd)
|
||||
(void) _PR_MD_CLOSE_FILE(osfd);
|
||||
} else {
|
||||
_PR_MD_INIT_FD_INHERITABLE(fd, PR_TRUE);
|
||||
#ifdef WINNT
|
||||
fd->secret->md.sync_file_io = PR_TRUE;
|
||||
#endif
|
||||
}
|
||||
|
||||
return fd;
|
||||
|
Loading…
x
Reference in New Issue
Block a user