diff options
author | trasz <trasz@FreeBSD.org> | 2009-04-14 11:39:56 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-04-14 11:39:56 +0000 |
commit | 52513a4d523ec52877385b8cd02ce6627f8f783f (patch) | |
tree | 46b6df3be425066e79451757d9e4d5287f753b14 /lib/libc/string | |
parent | 0affa44e9d21bed574cda52d5c15f3d2d0fb0361 (diff) | |
download | FreeBSD-src-52513a4d523ec52877385b8cd02ce6627f8f783f.zip FreeBSD-src-52513a4d523ec52877385b8cd02ce6627f8f783f.tar.gz |
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.
Diffstat (limited to 'lib/libc/string')
-rw-r--r-- | lib/libc/string/strmode.3 | 4 | ||||
-rw-r--r-- | lib/libc/string/strmode.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/string/strmode.3 b/lib/libc/string/strmode.3 index 89d0160..1a072d8 100644 --- a/lib/libc/string/strmode.3 +++ b/lib/libc/string/strmode.3 @@ -128,9 +128,7 @@ The file is executable or the directory is searchable. 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 , diff --git a/lib/libc/string/strmode.c b/lib/libc/string/strmode.c index 57295d7..3aaa77e 100644 --- a/lib/libc/string/strmode.c +++ b/lib/libc/string/strmode.c @@ -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'; } |