summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/acl/files/0004-acl_ptn4_get_mask-style-cleanup.patch')
-rw-r--r--sys-apps/acl/files/0004-acl_ptn4_get_mask-style-cleanup.patch63
1 files changed, 0 insertions, 63 deletions
diff --git a/sys-apps/acl/files/0004-acl_ptn4_get_mask-style-cleanup.patch b/sys-apps/acl/files/0004-acl_ptn4_get_mask-style-cleanup.patch
deleted file mode 100644
index cab4856..0000000
--- a/sys-apps/acl/files/0004-acl_ptn4_get_mask-style-cleanup.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 4e2a9689bca5bd260e151e0f5bf877a0720c8b53 Mon Sep 17 00:00:00 2001
-From: "J. Bruce Fields" <bfields@snoopy.citi.umich.edu>
-Date: Tue, 12 Dec 2006 16:44:39 -0500
-Subject: [PATCH 04/17] acl_ptn4_get_mask: style cleanup
-
-Minor style cleanup; indentation, if()->if ()
----
- libacl/acl_ptn4_get_mask.c | 20 ++++++++++----------
- 1 files changed, 10 insertions(+), 10 deletions(-)
-
-diff --git a/libacl/acl_ptn4_get_mask.c b/libacl/acl_ptn4_get_mask.c
-index bee0a97..a6b117b 100644
---- a/libacl/acl_ptn4_get_mask.c
-+++ b/libacl/acl_ptn4_get_mask.c
-@@ -40,35 +40,35 @@ int acl_ptn4_get_mask(u32* mask, acl_permset_t perms, int iflags)
- {
- int result;
-
-- *mask = NFS4_ANYONE_MODE;
-+ *mask = NFS4_ANYONE_MODE;
-
-- if(perms == NULL) {
-+ if (perms == NULL) {
- errno = EINVAL;
- goto failed;
- }
-
-- if (iflags & NFS4_ACL_OWNER)
-- *mask |= NFS4_OWNER_MODE;
-+ if (iflags & NFS4_ACL_OWNER)
-+ *mask |= NFS4_OWNER_MODE;
-
- result = acl_get_perm(perms, ACL_READ);
-- if(result < 0)
-+ if (result < 0)
- goto failed;
- else if(result == 1)
- *mask |= NFS4_READ_MODE;
-
- result = acl_get_perm(perms, ACL_WRITE);
-- if(result < 0)
-+ if (result < 0)
- goto failed;
-- else if(result == 1) {
-+ else if (result == 1) {
- *mask |= NFS4_WRITE_MODE;
-- if(iflags & NFS4_ACL_ISDIR)
-+ if (iflags & NFS4_ACL_ISDIR)
- *mask |= NFS4_ACE_DELETE_CHILD;
- }
-
- result = acl_get_perm(perms, ACL_EXECUTE);
-- if(result < 0)
-+ if (result < 0)
- goto failed;
-- else if(result == 1)
-+ else if (result == 1)
- *mask |= NFS4_EXECUTE_MODE;
-
- return 0;
---
-1.7.8.1
-