Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/chmod Fix a comment: POSIX doesn't specify -h.



details:   https://anonhg.NetBSD.org/src/rev/f1158d2d7b32
branches:  trunk
changeset: 532123:f1158d2d7b32
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Fri May 31 18:54:01 2002 +0000

description:
Fix a comment: POSIX doesn't specify -h.

diffstat:

 bin/chmod/chmod.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (37 lines):

diff -r 824b069129e3 -r f1158d2d7b32 bin/chmod/chmod.c
--- a/bin/chmod/chmod.c Fri May 31 18:26:26 2002 +0000
+++ b/bin/chmod/chmod.c Fri May 31 18:54:01 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: chmod.c,v 1.26 2001/09/16 12:16:20 wiz Exp $ */
+/* $NetBSD: chmod.c,v 1.27 2002/05/31 18:54:01 bjh21 Exp $ */
 
 /*
  * Copyright (c) 1989, 1993, 1994
@@ -44,7 +44,7 @@
 #if 0
 static char sccsid[] = "@(#)chmod.c    8.8 (Berkeley) 4/1/94";
 #else
-__RCSID("$NetBSD: chmod.c,v 1.26 2001/09/16 12:16:20 wiz Exp $");
+__RCSID("$NetBSD: chmod.c,v 1.27 2002/05/31 18:54:01 bjh21 Exp $");
 #endif
 #endif /* not lint */
 
@@ -99,12 +99,12 @@
                        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 NetBSD 1.3,
-                        * 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 NetBSD
+                        * 1.3, lchmod(2) is introduced and this
+                        * option does real work.
                         */
                        hflag = 1;
                        break;



Home | Main Index | Thread Index | Old Index