From owner-freebsd-doc@FreeBSD.ORG Fri Dec 16 14:10:14 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org 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 1E89016A420 for ; Fri, 16 Dec 2005 14:10:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D58A243D6D for ; Fri, 16 Dec 2005 14:10:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBGEA6mF060043 for ; Fri, 16 Dec 2005 14:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBGEA5Xn060042; Fri, 16 Dec 2005 14:10:05 GMT (envelope-from gnats) Resent-Date: Fri, 16 Dec 2005 14:10:05 GMT Resent-Message-Id: <200512161410.jBGEA5Xn060042@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, vd@datamax.bg Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 445F416A422 for ; Fri, 16 Dec 2005 14:06:06 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCDD743D4C for ; Fri, 16 Dec 2005 14:06:05 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id C0629B832; Fri, 16 Dec 2005 16:06:01 +0200 (EET) Received: (nullmailer pid 97609 invoked by uid 1002); Fri, 16 Dec 2005 14:06:01 -0000 Message-Id: <20051216140601.GA97584@qlovarnika.bg.datamax> Date: Fri, 16 Dec 2005 16:06:01 +0200 From: Vasil Dimov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/90498: wrong parameter name to function twalk in tseatch.3 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@datamax.bg List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2005 14:10:14 -0000 >Number: 90498 >Category: docs >Synopsis: wrong parameter name to function twalk in tseatch.3 >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: Fri Dec 16 14:10:05 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Vasil Dimov >Release: FreeBSD 6.0-STABLE amd64 >Organization: DataMax >Environment: >Description: In tsearch(3) the function passed as argument to twalk should be named `action', to `compar'. >How-To-Repeat: >Fix: --- tsearch.3_action.diff begins here --- --- lib/libc/stdlib/tsearch.3.orig Fri Dec 16 16:01:11 2005 +++ lib/libc/stdlib/tsearch.3 Fri Dec 16 16:01:30 2005 @@ -42,7 +42,7 @@ .Ft void * .Fn tsearch "const void *key" "void **rootp" "int (*compar) (const void *, const void *)" .Ft void -.Fn twalk "const void *root" "void (*compar) (const void *, VISIT, int)" +.Fn twalk "const void *root" "void (*action) (const void *, VISIT, int)" .Sh DESCRIPTION The .Fn tdelete , --- tsearch.3_action.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: