View | Details | Raw Unified | Return to bug 212337
Collapse All | Expand All

(-)bin/chmod/chmod.c (-6 / +5 lines)
Lines 91-102 Link Here
91
			break;
91
			break;
92
		case 'h':
92
		case 'h':
93
			/*
93
			/*
94
			 * In System V (and probably POSIX.2) the -h option
94
			 * In System V the -h option causes chmod to change
95
			 * causes chmod to change the mode of the symbolic
95
			 * the mode of the symbolic link. 4.4BSD's symbolic
96
			 * link.  4.4BSD's symbolic links didn't have modes,
96
			 * links didn't have modes, so it was an undocumented
97
			 * so it was an undocumented noop.  In FreeBSD 3.0,
97
			 * noop.  In FreeBSD 3.0, lchmod(2) is introduced and
98
			 * lchmod(2) is introduced and this option does real
98
			 * this option does real work.
99
			 * work.
100
			 */
99
			 */
101
			hflag = 1;
100
			hflag = 1;
102
			break;
101
			break;

Return to bug 212337