mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akash Gupta <akash-gu...@hotmail.com>
Subject Re: Review Request 65402: Windows: Used Unicode API to duplicate sockets.
Date Wed, 07 Feb 2018 20:49:31 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65402/#review197030
-----------------------------------------------------------


Ship it!





3rdparty/stout/include/stout/os/windows/dup.hpp
Line 30 (original), 33 (patched)
<https://reviews.apache.org/r/65402/#comment277138>

    It's not a change for this patch, but we should probably look to make `os::dup` not inheritable
by default and hunt down cases that we actually need inheritance.


- Akash Gupta


On Feb. 7, 2018, 7:22 p.m., Andrew Schwartzmeyer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/65402/
> -----------------------------------------------------------
> 
> (Updated Feb. 7, 2018, 7:22 p.m.)
> 
> 
> Review request for mesos, Akash Gupta, Jie Yu, and Joseph Wu.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> The CRT API for duplicating file handles is left as-is because
> `WindowsFD` currently gets a CRT `int` file descriptor, which
> necessitates using `_dup` instead of `DuplicateHandle`. Furthermore, the
> latter API does not appear compatible with handles used to redirect
> stdout/stderr/stdin for subprocesses.
> 
> 
> Diffs
> -----
> 
>   3rdparty/stout/include/stout/os/windows/dup.hpp b37aaa6429e0e7b4340e86c078f5c543e443bdcd

> 
> 
> Diff: https://reviews.apache.org/r/65402/diff/2/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andrew Schwartzmeyer
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message