[newlib-cygwin/main] Cygwin: get_posix_access: drop stray increment instruction
Corinna Vinschen
corinna@sourceware.org
Wed Jan 15 12:38:37 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=662fc090133af849d025d0cf08e6b07d0b1c5d44
commit 662fc090133af849d025d0cf08e6b07d0b1c5d44
Author: Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Wed Jan 15 11:07:08 2025 +0100
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Wed Jan 15 12:27:02 2025 +0100
Cygwin: get_posix_access: drop stray increment instruction
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/sec/acl.cc | 1 -
1 file changed, 1 deletion(-)
diff --git a/winsup/cygwin/sec/acl.cc b/winsup/cygwin/sec/acl.cc
index 6ed1851c93f3..77d24a2b17cf 100644
--- a/winsup/cygwin/sec/acl.cc
+++ b/winsup/cygwin/sec/acl.cc
@@ -1080,7 +1080,6 @@ get_posix_access (PSECURITY_DESCRIPTOR psd,
lacl[pos].a_id = ACL_UNDEFINED_ID;
lacl[pos].a_perm = lacl[2].a_perm;
aclsid[pos] = well_known_world_sid;
- pos++;
}
}
/* If this is an old-style or non-Cygwin ACL, and secondary user default
More information about the Cygwin-cvs
mailing list