diff options
author | Daniel Wilhelm <daniel@wili.li> | 2015-10-02 14:50:01 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2015-10-02 14:50:01 +0200 |
commit | 6213f9a4474f28b3df9abafefe2804a105b1f468 (patch) | |
tree | 16a22816c826ba2da0060bbfe63a1ec2ad0eb1b0 /zen/file_handling.cpp | |
parent | 6.5 (diff) | |
download | FreeFileSync-6213f9a4474f28b3df9abafefe2804a105b1f468.tar.gz FreeFileSync-6213f9a4474f28b3df9abafefe2804a105b1f468.tar.bz2 FreeFileSync-6213f9a4474f28b3df9abafefe2804a105b1f468.zip |
6.6
Diffstat (limited to 'zen/file_handling.cpp')
-rw-r--r-- | zen/file_handling.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zen/file_handling.cpp b/zen/file_handling.cpp index 0b544ed5..cf92f346 100644 --- a/zen/file_handling.cpp +++ b/zen/file_handling.cpp @@ -928,7 +928,7 @@ namespace void copySecurityContext(const Zstring& source, const Zstring& target, ProcSymlink procSl) //throw FileError { security_context_t contextSource = nullptr; - const int rv = procSl == SYMLINK_FOLLOW ? + const int rv = procSl == ProcSymlink::FOLLOW ? ::getfilecon(source.c_str(), &contextSource) : ::lgetfilecon(source.c_str(), &contextSource); if (rv < 0) @@ -943,7 +943,7 @@ void copySecurityContext(const Zstring& source, const Zstring& target, ProcSymli { security_context_t contextTarget = nullptr; - const int rv2 = procSl == SYMLINK_FOLLOW ? + const int rv2 = procSl == ProcSymlink::FOLLOW ? ::getfilecon(target.c_str(), &contextTarget) : ::lgetfilecon(target.c_str(), &contextTarget); if (rv2 < 0) @@ -961,7 +961,7 @@ void copySecurityContext(const Zstring& source, const Zstring& target, ProcSymli } } - const int rv3 = procSl == SYMLINK_FOLLOW ? + const int rv3 = procSl == ProcSymlink::FOLLOW ? ::setfilecon(target.c_str(), contextSource) : ::lsetfilecon(target.c_str(), contextSource); if (rv3 < 0) |