From vd@datamax.bg  Fri Dec 16 14:06:06 2005
Return-Path: <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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <vd@datamax.bg>
Reply-To: vd@datamax.bg
To: FreeBSD-gnats-submit@freebsd.org
Subject: wrong parameter name to function twalk in tseatch.3
X-Send-Pr-Version: 3.113

>Number:         90498
>Category:       docs
>Synopsis:       [patch] wrong parameter name to function twalk in tseatch(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    keramida
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 16 14:10:05 GMT 2005
>Closed-Date:    Fri Jun 23 13:37:48 GMT 2006
>Last-Modified:  Fri Jun 23 13:37:48 GMT 2006
>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:
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Fri Jun 23 13:36:52 UTC 2006 
State-Changed-Why:  
Committed in revision 1.14 of src/lib/libc/stdlib/tsearch.3,v 
Thanks :-) 


Responsible-Changed-From-To: freebsd-doc->keramida 
Responsible-Changed-By: keramida 
Responsible-Changed-When: Fri Jun 23 13:36:52 UTC 2006 
Responsible-Changed-Why:  
I'll handle the MFC of this patch 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90498 
>Unformatted:
