From patchwork Tue May 14 19:35:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos O'Donell X-Patchwork-Id: 1099685 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-101976-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="yoUOinAy"; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 453SbQ6qJ5z9sNf for ; Wed, 15 May 2019 05:36:02 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=Qi4 4hCAGeiQxtK/eouAvsllxLpMXK4vkQVOoitaRLxUm5yiH0C4agePGKTcl8ibSqzI Po/mUok/c6vHn9ODtPTME+UEehORVEr8tfRPAwTLZTFnkEXIXe8UZBgYnYk6/aaU Zru3rsGgtKQakqe6yQGrnKbxTJWawMT7r9XVLEYw= 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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=219RcvB6L 5uLCfrQ44D05HYPQsY=; b=yoUOinAyHPNil5XOObjtduf95xkWhz55GjSsh1vcp kUnBKChUzm0sLlkV3uZXr8pLfM5pfA79ydeeAU4AF1marC+8O0WGzBqbAS12s+QW kM8UJsJDQWZzNQ4NzfZPzWwM+N0LfA2gaLS+jZOZ20vjvs18vmlZE+ugVHLx1jZA Zo= Received: (qmail 115757 invoked by alias); 14 May 2019 19:35:57 -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 Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 115749 invoked by uid 89); 14 May 2019 19:35:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=6308 X-HELO: mail-qt1-f169.google.com To: libc-alpha , Florian Weimer From: Carlos O'Donell Subject: [PATCH] manual: Adjust twalk_r documentation. Message-ID: Date: Tue, 14 May 2019 15:35:53 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Florian, While reviewing twalk_r for a response to your other thread I foudn that I'd missed some typos in the manual. They stem from the use of 'which' in the manual, but 'value' in the headers. 8< --- 8< --- 8< From 5f2cf01ced480022be7fc1deaad6582cd7e3cc94 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Tue, 14 May 2019 15:33:02 -0400 Subject: [PATCH] manual: Adjust twalk_r documentation. --- ChangeLog | 5 +++++ manual/search.texi | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7f2ed939a7..edfb9ad96b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-05-14 Carlos O'Donell + + * manual/search.texi (Tree Search Function): Adjust twalk_r + documentation. + 2019-05-14 Adhemerval Zanella [BZ #24544] 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.