[PATCH 2/2] msvcrt: Rewrite _popen function.

Piotr Caban piotr at codeweavers.com
Mon Oct 25 11:29:00 CDT 2021


Old implementation was not thread safe, incorrectly copied file
descriptors to child process and was leaking parent pipe fd to child
process.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51719
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
---
  dlls/msvcrt/process.c    | 217 ++++++++++++++++++++++-----------------
  dlls/msvcrt/tests/misc.c |  50 +++++++--
  2 files changed, 166 insertions(+), 101 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-msvcrt-Rewrite-_popen-function.txt
Type: text/x-patch
Size: 9157 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20211025/d1948015/attachment.bin>


More information about the wine-devel mailing list