summaryrefslogtreecommitdiffstats
path: root/bin/chmod
diff options
context:
space:
mode:
authorsevan <sevan@FreeBSD.org>2016-10-10 16:07:23 +0000
committersevan <sevan@FreeBSD.org>2016-10-10 16:07:23 +0000
commit12cadf87fd23d736210049695b046175d63799ee (patch)
tree0b5e33a0d01f1f285cb26a6168c0c252c071eb12 /bin/chmod
parentf023705e3c2a5ddd46e8a3020ed938713337c28e (diff)
downloadFreeBSD-src-12cadf87fd23d736210049695b046175d63799ee.zip
FreeBSD-src-12cadf87fd23d736210049695b046175d63799ee.tar.gz
MFC r306582:
"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 Differential Revision: https://reviews.freebsd.org/D8118
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 9b80157..d196828 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;
OpenPOWER on IntegriCloud