From owner-freebsd-doc Wed Jan 15 17:40: 4 2003 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0855B37B401 for ; Wed, 15 Jan 2003 17:40:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A634A43F3F for ; Wed, 15 Jan 2003 17:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0G1e2NS019772 for ; Wed, 15 Jan 2003 17:40:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0G1e2ZK019770; Wed, 15 Jan 2003 17:40:02 -0800 (PST) Date: Wed, 15 Jan 2003 17:40:02 -0800 (PST) Message-Id: <200301160140.h0G1e2ZK019770@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: Giorgos Keramidas Subject: Re: docs/47114: chmod(1) manpage is wrong about -vv behavior. Reply-To: Giorgos Keramidas Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/47114; it has been noted by GNATS. From: Giorgos Keramidas To: "Gary W. Swearingen" Cc: bug-followup@freebsd.org Subject: Re: docs/47114: chmod(1) manpage is wrong about -vv behavior. Date: Thu, 16 Jan 2003 03:31:53 +0200 On 2003-01-15 10:06, swear@attbi.com (Gary W. Swearingen) wrote: > The chmod(1) manpage's -v description says that the option can be used > more than once for some special behavior, while the program doesn't > care how many times you use it. (Confirmed by looking at > "/usr/src/bin/chmod/chmod.c".) Good catch! But you are obviously talking about chmod.c in the 4-STABLE branch. If you look at the source code of chmod.c in 5.0-CURRENT you will see the special behavior is there. > Patch this: > .\" $FreeBSD: src/bin/chmod/chmod.1,v 1.17.2.12 2002/09/18 23:40:35 trhodes Exp $ I think that the manpage is a result of an MFC (version 1.17.2.10 was the one that introduced the changes to chmod.1) which failed to update the source code too. IMHO, the best thing to do would be to keep the manpage as it is now and merge the chmod.c stuff too. What do you think? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message