From 268f0f1a87dba7644491f68bef32bed3cde6d5ed Mon Sep 17 00:00:00 2001 From: sevan Date: Mon, 10 Oct 2016 16:07:23 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.freebsd.org/base/stable/10@306976 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- bin/chmod/chmod.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c index 9b801576e..d19682836 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; -- 2.42.0