From: Michael Orlitzky Date: Mon, 26 Feb 2018 18:30:20 +0000 (-0500) Subject: libadacl: update failure return value docs for apply_default_acl(). X-Git-Tag: v0.1.0~7 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=apply-default-acl.git;a=commitdiff_plain;h=81233b65dc8bbccba15394751f240ad59f15f342 libadacl: update failure return value docs for apply_default_acl(). --- diff --git a/src/libadacl.c b/src/libadacl.c index 08b13b8..b25a43b 100644 --- a/src/libadacl.c +++ b/src/libadacl.c @@ -600,8 +600,7 @@ int wipe_acls(int fd) { * * @return * - @c ACL_SUCCESS - The parent default ACL was inherited successfully. - * - @c ACL_FAILURE - The target path is not a regular file/directory, - * or the parent of @c path is not a directory. + * - @c ACL_FAILURE - If symlinks or hard links are encountered. * - @c ACL_ERROR - Unexpected library error. */ int apply_default_acl_ex(const char* path, @@ -851,7 +850,7 @@ int apply_default_acl_ex(const char* path, * * @return * - @c ACL_SUCCESS - The parent default ACL was inherited successfully. - * - @c ACL_FAILURE - The target path is not a regular file/directory, + * - @c ACL_FAILURE - If symlinks or hard links are encountered. * or the parent of @c path is not a directory. * - @c ACL_ERROR - Unexpected library error. */