From owner-freebsd-doc@FreeBSD.ORG Thu Jun 19 04:10:13 2003 Return-Path: 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 0135337B401 for ; Thu, 19 Jun 2003 04:10:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE38D43FAF for ; Thu, 19 Jun 2003 04:10:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5JBABUp069688 for ; Thu, 19 Jun 2003 04:10:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5JBABfB069685; Thu, 19 Jun 2003 04:10:11 -0700 (PDT) Resent-Date: Thu, 19 Jun 2003 04:10:11 -0700 (PDT) Resent-Message-Id: <200306191110.h5JBABfB069685@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrey Simonenko Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94FA237B401 for ; Thu, 19 Jun 2003 04:05:23 -0700 (PDT) Received: from relay1.ntu-kpi.kiev.ua (oberon.ntu-kpi.kiev.ua [195.245.194.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9AB943FA3 for ; Thu, 19 Jun 2003 04:05:18 -0700 (PDT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id 01CA619E75 for ; Thu, 19 Jun 2003 14:05:14 +0300 (EEST) Received: from pm514-9.comsys.ntu-kpi.kiev.ua (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.6/8.11.6) with ESMTP id h5JBA8U04354 for ; Thu, 19 Jun 2003 14:10:08 +0300 (EEST) Received: by pm514-9.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1000) id C24D81FC; Thu, 19 Jun 2003 14:04:44 +0300 (EEST) Message-Id: <20030619110444.GA236@pm514-9.comsys.ntu-kpi.kiev.ua> Date: Thu, 19 Jun 2003 14:04:44 +0300 From: Andrey Simonenko To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/53488: Mistake in the strmode(3) manual page X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 11:10:13 -0000 >Number: 53488 >Category: docs >Synopsis: Mistake in the strmode(3) manual page >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 19 04:10:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Andrey Simonenko >Release: FreeBSD 4.8-STABLE i386 >Organization: >Environment: FreeBSD 4.8-STABLE and FreeBSD 5.1-RELEASE >Description: There is a mistake in the ``RETURN VALUES'' section in the strmode(3) manual page: RETURN VALUES The strmode() function always returns 0. But strmode(3) is declared as: void strmode(mode_t mode, char *bp); so, it returns no value. >How-To-Repeat: Simply remove the ``RETURN VALUES'' section. >Fix: --- strmode.3.orig Fri Dec 14 20:33:59 2001 +++ strmode.3 Thu Jun 19 12:16:43 2003 @@ -135,11 +135,6 @@ The last character is a plus sign ``+'' if any there are any alternate or additional access control methods associated with the inode, otherwise it will be a space. -.Sh RETURN VALUES -The -.Fn strmode -function -always returns 0. .Sh SEE ALSO .Xr chmod 1 , .Xr find 1 , >Release-Note: >Audit-Trail: >Unformatted: To: FreeBSD-gnats-submit@freebsd.org From: Andrey Simonenko Reply-To: Andrey Simonenko Cc: X-send-pr-version: 3.113 X-GNATS-Notify: