* lib/set-mode-acl.c (set_acl): Use same variable name as in copy_acl.
2012-01-10 Bruno Haible <bruno@clisp.org>
+ acl: Rename a local variable.
+ * lib/set-mode-acl.c (set_acl): Use same variable name as in copy_acl.
+
acl: Align return values of copy_acl and qcopy_acl.
* lib/copy-acl.c (copy_acl): Return the same value as qcopy_acl,
maybe < -1.
int
set_acl (char const *name, int desc, mode_t mode)
{
- int r = qset_acl (name, desc, mode);
- if (r != 0)
+ int ret = qset_acl (name, desc, mode);
+ if (ret != 0)
error (0, errno, _("setting permissions for %s"), quote (name));
- return r;
+ return ret;
}