From: Michael Orlitzky Date: Mon, 18 Jun 2018 01:48:40 +0000 (-0400) Subject: src/libadacl.c: fix handling of "./" and "../" as paths. X-Git-Tag: v0.4.1~2 X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=8ec2f2bde7c53834a304bcdc68e84d8c7a748ca4;hp=8ec2f2bde7c53834a304bcdc68e84d8c7a748ca4;p=apply-default-acl.git src/libadacl.c: fix handling of "./" and "../" as paths. 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. ---