This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] sec_acl.cc (set_posix_access): Fix typo in comment
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 20 Apr 2015 08:12:33 -0000
- Subject: [newlib-cygwin] sec_acl.cc (set_posix_access): Fix typo in comment
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=a024aa2f8fc402de5fdd49431a6329481cd84395
commit a024aa2f8fc402de5fdd49431a6329481cd84395
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Mon Apr 20 10:12:24 2015 +0200
sec_acl.cc (set_posix_access): Fix typo in comment
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/sec_acl.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc
index 7e65077..65b3131 100644
--- a/winsup/cygwin/sec_acl.cc
+++ b/winsup/cygwin/sec_acl.cc
@@ -316,7 +316,7 @@ set_posix_access (mode_t attr, uid_t uid, gid_t gid,
idx < nentries && aclbufp[idx].a_type & check_types;
++idx)
{
- /* Avoid to create DENY ACEs for the second orrurence of
+ /* Avoid creating DENY ACEs for the second occurrence of
accounts which show up twice, as USER_OBJ and USER, or
GROUP_OBJ and GROUP. */
if ((aclbufp[idx].a_type & USER && aclsid[idx] == owner)