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:
wtc%netscape.com 2000-08-11 18:36:38 +00:00
parent edeb93ad2f
commit df3cdee5ef

View File

@ -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;