msvcrt: implement _dup, _dup2, and _pipe
Juan Lang
juan_lang at yahoo.com
Wed Dec 8 11:15:10 CST 2004
Oops, didn't think carefully enough about inheritability. _pipe can
create noninheritable handles, since _dup2 will make inheritable
duplicates via DuplicateHandle if it needs to. Please disregard previous
patch and use this one instead.
This fixes the leak spotted by Alexandre, and also corrects inheritability
of _dup and _pipe handles. It supercedes my previous _dup and _pipe
patches.
ChangeLog:
- implement _dup, _dup2, and _pipe
- make max file descriptors 2048 to match MS
- increase max file streams to match
--Juan
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dupnpipe.diff
Type: text/x-patch
Size: 6358 bytes
Desc: dupnpipe.diff
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041208/773bd3e1/dupnpipe.bin
More information about the wine-patches
mailing list