This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] manual: Adjust twalk_r documentation.
- From: Florian Weimer <fweimer at redhat dot com>
- To: Carlos O'Donell <codonell at redhat dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Tue, 14 May 2019 21:49:50 +0200
- Subject: Re: [PATCH] manual: Adjust twalk_r documentation.
- References: <c45286f1-ca8f-80b1-385a-9ecba9d27a36@redhat.com>
* 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