From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 7B8CE1F461 for ; Tue, 14 May 2019 19:49:58 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=J1jaJ zWu+6dY2VifKzrYblSYxAgcGURZpVYEw7YZvrSKpudSPuzpBRQMIPb0vpfU2zkXg zJqOm71XLsbFdn9bqh0+hBohmaE3RsIaThBfBFCuVTKEFT1vbk7TvzL9UyCE/2vA T1zoGAzafIHsIZoM1uf460PPn+R+P+yhUnR1aU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=gXXRI8M6gjd 1DsnXsLIWoe2NjqM=; b=MyhZMcrvqjlrNivpL+oaXLTfoERBmjoruUYISFRt7KP /i5blYNkiEXGR52rtlosdBsRxfg+FQ1rTbnJZPIIpE3HCN8ME/tinFN6EM1ClZ2V CVWPb4s0HlLXWIaYkzzgvdNPwiejFZQdr0ZRBLAqgoqIt5EyQOU1ebc8Lc0EhH2A = Received: (qmail 647 invoked by alias); 14 May 2019 19:49:55 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 637 invoked by uid 89); 14 May 2019 19:49:55 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mx1.redhat.com From: Florian Weimer To: Carlos O'Donell Cc: libc-alpha Subject: Re: [PATCH] manual: Adjust twalk_r documentation. References: Date: Tue, 14 May 2019 21:49:50 +0200 In-Reply-To: (Carlos O'Donell's message of "Tue, 14 May 2019 15:35:53 -0400") Message-ID: <87h89wzuht.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain * Carlos O'Donell: > diff --git a/manual/search.texi b/manual/search.texi > index 979732f027..60c851229c 100644 > --- a/manual/search.texi > +++ b/manual/search.texi > @@ -630,8 +630,8 @@ see the @code{twalk_r} function below. > For each node in the tree with a node pointed to by @var{root}, the > @code{twalk_r} function calls the function provided by the parameter > @var{action}. For leaf nodes the function is called exactly once with > -@var{value} set to @code{leaf}. For internal nodes the function is > -called three times, setting the @var{value} parameter or @var{action} to > +@var{which} set to @code{leaf}. For internal nodes the function is > +called three times, setting the @var{which} parameter of @var{action} to > the appropriate value. The @var{closure} parameter is passed down to > each call of the @var{action} function, unmodified. Looks good to me. Thanks for fixing this. Florian