Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2009 11:39:56 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191055 - head/lib/libc/string
Message-ID:  <200904141139.n3EBdudA004806@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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';
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904141139.n3EBdudA004806>