Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2016 16:08:29 +0000 (UTC)
From:      Sevan Janiyan <sevan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r306977 - stable/11/bin/chmod
Message-ID:  <201610101608.u9AG8T9N051375@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sevan (doc committer)
Date: Mon Oct 10 16:08:29 2016
New Revision: 306977
URL: https://svnweb.freebsd.org/changeset/base/306977

Log:
  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

Modified:
  stable/11/bin/chmod/chmod.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/bin/chmod/chmod.c
==============================================================================
--- stable/11/bin/chmod/chmod.c	Mon Oct 10 16:07:23 2016	(r306976)
+++ stable/11/bin/chmod/chmod.c	Mon Oct 10 16:08:29 2016	(r306977)
@@ -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;



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