From owner-svn-src-head@FreeBSD.ORG Tue Apr 14 11:39:56 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9095D106567E; Tue, 14 Apr 2009 11:39:56 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7E3EE8FC20; Tue, 14 Apr 2009 11:39:56 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n3EBdukv004808; Tue, 14 Apr 2009 11:39:56 GMT (envelope-from trasz@svn.freebsd.org) Received: (from trasz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n3EBdudA004806; Tue, 14 Apr 2009 11:39:56 GMT (envelope-from trasz@svn.freebsd.org) Message-Id: <200904141139.n3EBdudA004806@svn.freebsd.org> From: Edward Tomasz Napierala Date: Tue, 14 Apr 2009 11:39:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191055 - head/lib/libc/string X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2009 11:39:57 -0000 Author: trasz Date: Tue Apr 14 11:39:56 2009 New Revision: 191055 URL: http://svn.freebsd.org/changeset/base/191055 Log: There is no way for strmode(3) to append '+' if the file has ACL, because there is no way to figure that out based on the file mode itself. Make the manual page match reality. Modified: head/lib/libc/string/strmode.3 head/lib/libc/string/strmode.c Modified: head/lib/libc/string/strmode.3 ============================================================================== --- head/lib/libc/string/strmode.3 Tue Apr 14 11:23:09 2009 (r191054) +++ head/lib/libc/string/strmode.3 Tue Apr 14 11:39:56 2009 (r191055) @@ -128,9 +128,7 @@ The file is executable or the directory None of the above apply. .El .Pp -The last character is a plus sign ``+'' if any there are any alternate -or additional access control methods associated with the inode, otherwise -it will be a space. +The last character will always be a space. .Sh SEE ALSO .Xr chmod 1 , .Xr find 1 , Modified: head/lib/libc/string/strmode.c ============================================================================== --- head/lib/libc/string/strmode.c Tue Apr 14 11:23:09 2009 (r191054) +++ head/lib/libc/string/strmode.c Tue Apr 14 11:39:56 2009 (r191055) @@ -143,6 +143,6 @@ strmode(/* mode_t */ int mode, char *p) *p++ = 't'; break; } - *p++ = ' '; /* will be a '+' if ACL's implemented */ + *p++ = ' '; *p = '\0'; }