----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/67065/#review204264 -----------------------------------------------------------
3rdparty/stout/include/stout/archiver.hpp Lines 82 (patched) <https://reviews.apache.org/r/67065/#comment286665> Super tiny style nit (but this will fail mesos-tidy): `fd->crt()`. 3rdparty/stout/include/stout/archiver.hpp Lines 84 (patched) <https://reviews.apache.org/r/67065/#comment286666> s/crt/CRT But also this needs a comment similar to: NOTE: On Windows, we need to explicitly allocate a CRT file descriptor because libarchive requires it. Once the CRT `fd` is allocated, it must be closed with `_close` instead of `os::close`. 3rdparty/stout/include/stout/archiver.hpp Lines 94-98 (patched) <https://reviews.apache.org/r/67065/#comment286667> This `Closer` could be shared, which the ifdef just in the dtor. 3rdparty/stout/include/stout/archiver.hpp Lines 101 (patched) <https://reviews.apache.org/r/67065/#comment286668> Magic number? 3rdparty/stout/include/stout/archiver.hpp Lines 165-167 (patched) <https://reviews.apache.org/r/67065/#comment286669> Error handling looks way better than before :) - Andrew Schwartzmeyer On June 1, 2018, 3:40 p.m., John Kordich wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/67065/ > ----------------------------------------------------------- > > (Updated June 1, 2018, 3:40 p.m.) > > > Review request for mesos, Akash Gupta, Andrew Schwartzmeyer, Chun-Hung Hsiao, > Eric Mumau, Jie Yu, Joseph Wu, Li Li, and Radhika Jandhyala. > > > Bugs: MESOS-8064 > https://issues.apache.org/jira/browse/MESOS-8064 > > > Repository: mesos > > > Description > ------- > > This archiver utility can be invoked to extract a compressed or > uncompressed archive with several different supported formats. > > > Diffs > ----- > > 3rdparty/stout/CMakeLists.txt 24a1f0acbee8a464fcc5159cf41d7e93aa8148fc > 3rdparty/stout/Makefile.am ef22a02a8a11326c6af19eb11d79eb82ff7861da > 3rdparty/stout/include/Makefile.am e0097c438a62a9802d6e60c78493bf97333f20ed > 3rdparty/stout/include/stout/archiver.hpp PRE-CREATION > 3rdparty/stout/tests/CMakeLists.txt > 86111a8709cab709ba1bf844043d3a1da07b6241 > 3rdparty/stout/tests/archiver_tests.cpp PRE-CREATION > > > Diff: https://reviews.apache.org/r/67065/diff/7/ > > > Testing > ------- > > I've built on Windows with CMake and have run all tests, which all pass. > I've also built on Linux with both the autotools build and cmake build and > have run all tests, which all pass. > > > Thanks, > > John Kordich > >
