From: Arvin Schnell Date: Wed, 16 Apr 2014 12:18:35 +0000 (+0200) Subject: - coding style X-Git-Tag: v0.2.3~14^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=d5f3cc26e374885c28ffe565f4ef9aec97bf9ecb;p=thirdparty%2Fsnapper.git - coding style --- diff --git a/snapper/Acls.cc b/snapper/Acls.cc index 04a25492..e81a191d 100644 --- a/snapper/Acls.cc +++ b/snapper/Acls.cc @@ -31,19 +31,21 @@ namespace snapper { + bool is_acl_signature(const std::string& name) { return contains(_acl_signatures, name); } + Acls::Acls(const string& path) - : allowed_types(0x0), acl_access(NULL), acl_default(NULL) + : allowed_types(0x0), acl_access(NULL), acl_default(NULL) { struct stat buf; int fd = ::open(path.c_str(), O_RDONLY | O_NOFOLLOW | O_NONBLOCK | O_NOATIME | - O_CLOEXEC); + O_CLOEXEC); if (fd < 0) { if (errno == ELOOP)