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

Review request for mesos, Akash Gupta, Jeff Coffler, and Joseph Wu.


Bugs: MESOS-7803
    https://issues.apache.org/jira/browse/MESOS-7803


Repository: mesos


Description
-------

This resolves MESOS-7803, where `fs::list` only returned the name of the
found files, dropping the initial path components. That is, for a
directory `foo` with the file `bar` in it, and the pattern
`fs::list("foo/*")`, it was incorrectly returning just `bar`, not
`foo/bar`. This was fixed by getting the `dirname` of the pattern, and
rejoining it with each found file name before it is returned.


Diffs
-----

  3rdparty/stout/include/stout/windows/fs.hpp 
bc7cf025c9228a65f2ae0fab9ba27b386d189b46 


Diff: https://reviews.apache.org/r/65195/diff/1/


Testing
-------


Thanks,

Andrew Schwartzmeyer

Reply via email to