You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Joseph Wu <jo...@mesosphere.io> on 2017/01/11 02:09:10 UTC

Re: Review Request 55022: Windows: Cause errors to be correctly reported in `io::read`.

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



The change LGTM, but it might need a rebase due to some changes BenH made to the same file.  And MPark will also be committing a change to this file soon (related to `io::peek`).

A few things to note:

* Why not make the same changes to `io::write`?
* Remove the TODO that BenH left: `TODO(benh): Confirm that `os::strerror` does the right thing for `error` on Windows.`

- Joseph Wu


On Dec. 24, 2016, 1:31 a.m., Alex Clemmer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/55022/
> -----------------------------------------------------------
> 
> (Updated Dec. 24, 2016, 1:31 a.m.)
> 
> 
> Review request for mesos, Andrew Schwartzmeyer, Daniel Pravat, John Kordich, and Joseph Wu.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Windows: Cause errors to be correctly reported in `io::read`.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/src/io.cpp 27da897894e12941a6bba5f5eda04c35100d2d73 
> 
> Diff: https://reviews.apache.org/r/55022/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alex Clemmer
> 
>


Re: Review Request 55022: Windows: Cause errors to be correctly reported in `io::read`.

Posted by Joseph Wu <jo...@mesosphere.io>.

> On Jan. 10, 2017, 6:09 p.m., Joseph Wu wrote:
> > The change LGTM, but it might need a rebase due to some changes BenH made to the same file.  And MPark will also be committing a change to this file soon (related to `io::peek`).
> > 
> > A few things to note:
> > 
> > * Why not make the same changes to `io::write`?
> > * Remove the TODO that BenH left: `TODO(benh): Confirm that `os::strerror` does the right thing for `error` on Windows.`

Note: the `io::peek` review has been committed, so a rebase will be especially useful now.


- Joseph


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


On Dec. 24, 2016, 1:31 a.m., Alex Clemmer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/55022/
> -----------------------------------------------------------
> 
> (Updated Dec. 24, 2016, 1:31 a.m.)
> 
> 
> Review request for mesos, Andrew Schwartzmeyer, Daniel Pravat, John Kordich, and Joseph Wu.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Windows: Cause errors to be correctly reported in `io::read`.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/src/io.cpp 27da897894e12941a6bba5f5eda04c35100d2d73 
> 
> Diff: https://reviews.apache.org/r/55022/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alex Clemmer
> 
>


Re: Review Request 55022: Windows: Cause errors to be correctly reported in `io::read`.

Posted by Alex Clemmer <cl...@gmail.com>.

> On Jan. 11, 2017, 2:09 a.m., Joseph Wu wrote:
> > The change LGTM, but it might need a rebase due to some changes BenH made to the same file.  And MPark will also be committing a change to this file soon (related to `io::peek`).
> > 
> > A few things to note:
> > 
> > * Why not make the same changes to `io::write`?
> > * Remove the TODO that BenH left: `TODO(benh): Confirm that `os::strerror` does the right thing for `error` on Windows.`
> 
> Joseph Wu wrote:
>     Note: the `io::peek` review has been committed, so a rebase will be especially useful now.

I'll do it tonight.


- Alex


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


On Dec. 24, 2016, 9:31 a.m., Alex Clemmer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/55022/
> -----------------------------------------------------------
> 
> (Updated Dec. 24, 2016, 9:31 a.m.)
> 
> 
> Review request for mesos, Andrew Schwartzmeyer, Daniel Pravat, John Kordich, and Joseph Wu.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Windows: Cause errors to be correctly reported in `io::read`.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/src/io.cpp 27da897894e12941a6bba5f5eda04c35100d2d73 
> 
> Diff: https://reviews.apache.org/r/55022/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alex Clemmer
> 
>