summaryrefslogtreecommitdiff
path: root/bin/chmod
diff options
context:
space:
mode:
authorSevan Janiyan <sevan@FreeBSD.org>2016-10-02 14:27:18 +0000
committerSevan Janiyan <sevan@FreeBSD.org>2016-10-02 14:27:18 +0000
commit66d39fc6c731b03340614fa72389b51d5b1c3fef (patch)
tree61df14a3a1d2c69c91ae227e0b6b1ff78102aa2b /bin/chmod
parentbc799c51a366ada1b4e26d18e725a72a3e468771 (diff)
downloadsrc-test-66d39fc6c731b03340614fa72389b51d5b1c3fef.tar.gz
src-test-66d39fc6c731b03340614fa72389b51d5b1c3fef.zip
"POSIX doesn't specify -h." - r1.27 from NetBSD
http://man.openbsd.org/?query=chmod&apropos=0&sec=0&arch=default&manpath=POSIX-2013 PR: 212337 Approved by: bcr (mentor) Obtained from: NetBSD MFC after: 5 days Differential Revision: https://reviews.freebsd.org/D8118
Notes
Notes: svn path=/head/; revision=306582
Diffstat (limited to 'bin/chmod')
-rw-r--r--bin/chmod/chmod.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c
index 2ccce2d7830e0..a6f625b11e689 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -91,12 +91,11 @@ main(int argc, char *argv[])
break;
case 'h':
/*
- * In System V (and probably POSIX.2) the -h option
- * causes chmod to change the mode of the symbolic
- * link. 4.4BSD's symbolic links didn't have modes,
- * so it was an undocumented noop. In FreeBSD 3.0,
- * lchmod(2) is introduced and this option does real
- * work.
+ * In System V the -h option causes chmod to change
+ * the mode of the symbolic link. 4.4BSD's symbolic
+ * links didn't have modes, so it was an undocumented
+ * noop. In FreeBSD 3.0, lchmod(2) is introduced and
+ * this option does real work.
*/
hflag = 1;
break;