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'; } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"