svn commit: r287548 - stable/9/lib/libc/posix1e

Xin LI delphij at FreeBSD.org
Tue Sep 8 01:46:53 UTC 2015


Author: delphij
Date: Tue Sep  8 01:46:52 2015
New Revision: 287548
URL: https://svnweb.freebsd.org/changeset/base/287548

Log:
  MFC r287093:
  
  Instead of doing an no-op (|= 0), actually clear the flags in
  acl_clear_flags_np.
  
  Reported by:	Pascal Drecker <pascal freebsd drecker com>

Modified:
  stable/9/lib/libc/posix1e/acl_flag.c
Directory Properties:
  stable/9/lib/libc/   (props changed)

Modified: stable/9/lib/libc/posix1e/acl_flag.c
==============================================================================
--- stable/9/lib/libc/posix1e/acl_flag.c	Tue Sep  8 01:44:37 2015	(r287547)
+++ stable/9/lib/libc/posix1e/acl_flag.c	Tue Sep  8 01:46:52 2015	(r287548)
@@ -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-all mailing list