svn commit: r287093 - head/lib/libc/posix1e

Xin LI delphij at FreeBSD.org
Mon Aug 24 04:49:21 UTC 2015


Author: delphij
Date: Mon Aug 24 04:49:20 2015
New Revision: 287093
URL: https://svnweb.freebsd.org/changeset/base/287093

Log:
  Instead of doing an no-op (|= 0), actually clear the flags in
  acl_clear_flags_np.
  
  MFC after:	2 weeks

Modified:
  head/lib/libc/posix1e/acl_flag.c

Modified: head/lib/libc/posix1e/acl_flag.c
==============================================================================
--- head/lib/libc/posix1e/acl_flag.c	Mon Aug 24 04:39:07 2015	(r287092)
+++ head/lib/libc/posix1e/acl_flag.c	Mon Aug 24 04:49:20 2015	(r287093)
@@ -71,7 +71,7 @@ acl_clear_flags_np(acl_flagset_t flagset
 		return (-1);
 	}
 
-	*flagset_d |= 0;
+	*flagset_d = 0;
 
 	return (0);
 }


More information about the svn-src-head mailing list