]> gitweb.michael.orlitzky.com - apply-default-acl.git/commitdiff
src/libadacl.c: fix handling of "./" and "../" as paths.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 18 Jun 2018 01:48:40 +0000 (21:48 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 18 Jun 2018 01:48:40 +0000 (21:48 -0400)
The recent fixes for the paths "." and ".." ignored the other obvious
cases, where those paths have a trailing slash appended. The trailing
slash is now handled by comparing the basename of the path against "."
and ".." rather than the path itself. This allows the test suite,
which now contains tests for "./" and "../", to pass.


No differences found