Yes thats correct. I am planning to submit a patch that will add the test. Will
also address the symlink case.
> On Mar 15, 2016, at 3:33 PM, Cong Wang <xiyou.wangc...@gmail.com> wrote:
> This is an automatically generated e-mail. To reply,
> On March 15th, 2016, 8:02 p.m. UTC, Neil Conway wrote:
> Is it feasible/portable to have a test case for this change?
> On March 15th, 2016, 8:58 p.m. UTC, Cong Wang wrote:
> Yes, like in our case, you can create some socket or device file and try to
> remove the directory contains it, it would fail without this patch.
> On March 15th, 2016, 9:26 p.m. UTC, David Robinson wrote:
> AFAICT tests have already been added:
> None of these tests covers this bug.
> - Cong
> On March 1st, 2016, 10:01 p.m. UTC, Jojy Varghese wrote:
> Review request for mesos and Jie Yu.
> By Jojy Varghese.
> Updated March 1, 2016, 10:01 p.m.
> Repository: mesos
> We currently dont handle special files like device files in rmdir. This change
> adds FS_DEFAULT as one of the cases where we try to unlink a file.
> Reference: http://man7.org/linux/man-pages/man3/fts.3.html
> make check.
> View Diff <https://reviews.apache.org/r/44230/diff/>