]> gitweb.michael.orlitzky.com - apply-default-acl.git/commit
Move the "or_dir" out of any_can_execute_or_dir().
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 26 Feb 2018 01:10:04 +0000 (20:10 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 26 Feb 2018 19:10:28 +0000 (14:10 -0500)
commit6ac6902a55f6fd0427373db4d6dd5eedb6e330df
tree42ed38ba423e3a48381e822bb5a041e7ab8caecf
parentaeedc5826cb0594318031e35acaf8b4a1b6e7c32
Move the "or_dir" out of any_can_execute_or_dir().

The any_can_execute_or_dir() function checked two things; whether or
not anyone could execute something, and whether or not that thing was
a directory. It's cleaner to have the "is it directory?" check outside
these days, so this commit renames that function to any_can_execute()
and the one place it's used now checks whether or not the argument is
a directory itself.
src/apply-default-acl.c