misc cleanups

This commit is contained in:
Antonio SJ Musumeci 2018-10-13 23:48:30 -04:00
parent 47bf58eae9
commit 9e0ab1f518
40 changed files with 559 additions and 432 deletions

View file

@ -28,12 +28,12 @@ namespace fs
namespace acl
{
bool
dir_has_defaults(const std::string &fullpath)
dir_has_defaults(const std::string &fullpath_)
{
int rv;
std::string dirpath = fullpath;
std::string dirpath;
fs::path::dirname(dirpath);
dirpath = fs::path::dirname(&fullpath_);
rv = fs::lgetxattr(dirpath,POSIX_ACL_DEFAULT_XATTR,NULL,0);