mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Schwartzmeyer <>
Subject Re: Review Request 66773: Windows: Fixed `os::stat::mtime()` to use `GetFileTime()`.
Date Tue, 01 May 2018 21:23:20 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated May 1, 2018, 2:23 p.m.)

Review request for mesos, Akash Gupta, John Kordich, and Joseph Wu.


Increased verbosity level of diagnostic message.

Bugs: MESOS-8275

Repository: mesos


The functions `mode()`, `dev()`, and `inode()` are unused and do not
make sense on Windows, so they were explicitly deleted. The function
`mtime()` is used and has a logical mapping, `GetFileTime()`. However,
Windows reports time differently from POSIX, so a conversion must also
be performed such that the API `os::stat::mtime()` remains consistent
with its POSIX version.

Diffs (updated)

  3rdparty/stout/include/stout/os/permissions.hpp 453e60c7268db516c2c94501e11a92fe8f490498

  3rdparty/stout/include/stout/os/windows/stat.hpp c04953ee42f45dd80b6362fbeeddf4a0a20e7412

  3rdparty/stout/tests/os_tests.cpp 4221ecdcefb5602ece20cc90b13c3f17057fcb4d 





Andrew Schwartzmeyer

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