-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71832/
-----------------------------------------------------------
(Updated Dec. 3, 2019, 6:27 p.m.)
Review request for mesos, Benjamin Bannier and Benjamin Mahler.
Changes
-------
Changed `strcpy()` -> `strncpy()`.
Summary (updated)
-----------------
Added new issocket() function to stout.
Bugs: MESOS-10036
https://issues.apache.org/jira/browse/MESOS-10036
Repository: mesos
Description (updated)
-------
Added a new function 'os::stat::issocket()' that tells whether a given
file is a socket or not.
Diffs (updated)
-----
3rdparty/stout/include/stout/os/posix/stat.hpp
74e0c934baa29ec936e8011221a3da29dd67a465
3rdparty/stout/tests/os/socket_tests.cpp
9ca236cb15525004d8c165ccd19f63902729b04d
Diff: https://reviews.apache.org/r/71832/diff/3/
Changes: https://reviews.apache.org/r/71832/diff/2-3/
Testing
-------
* Manual testing by using it in the subsequent patch.
* `./stout-tests`
Thanks,
Benno Evers