> On April 4, 2018, 3:28 p.m., John Kordich wrote: > > 3rdparty/stout/include/stout/os/windows/ftruncate.hpp > > Lines 36 (patched) > > <https://reviews.apache.org/r/66431/diff/1/?file=1992275#file1992275line40> > > > > I'm fine with a truncate function not writing null bytes to the part of > > a file that was truncated. Truncate should be a fast operation, in my > > opinion :)
That shouldn't be in this review any more... - Andrew ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66431/#review200513 ----------------------------------------------------------- On April 4, 2018, 12:13 p.m., Andrew Schwartzmeyer wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/66431/ > ----------------------------------------------------------- > > (Updated April 4, 2018, 12:13 p.m.) > > > Review request for mesos, Akash Gupta, Eric Mumau, John Kordich, Joseph Wu, > and Michael Park. > > > Bugs: MESOS-8676 > https://issues.apache.org/jira/browse/MESOS-8676 > > > Repository: mesos > > > Description > ------- > > This can eventually support overlapped I/O. > > The Windows API `ReadFile()` returns an error if the pipe is broken, > where `_read()` did not, but this is not an error for us as the data > is still read correctly. So we ignore it. > > > Diffs > ----- > > 3rdparty/stout/include/stout/os/windows/read.hpp > 8047ad590fcc46d3ec46b551472d8c518ae49cc1 > > > Diff: https://reviews.apache.org/r/66431/diff/2/ > > > Testing > ------- > > > Thanks, > > Andrew Schwartzmeyer > >
