Re: [PATCH v2 2/4] man/man3/strpbrk.3: BUGS: Clarify the NAME

[email protected] Fri, 24 Jul 2026 13:53:04 -0500
Newsgroups org.kernel.vger.linux-man
Message-ID <[email protected]>
On Wed, Jul 08, 2026 at 05:09:13PM +0200, Alejandro Colomar wrote:
> Cc: "Serge E. Hallyn" <[email protected]>
> Cc: Mark Harris <[email protected]>
> Cc: "G. Branden Robinson" <[email protected]>
> Cc: Douglas McIlroy <[email protected]>
> Signed-off-by: Alejandro Colomar <[email protected]>

D'oh, i should have read this one before the comment to patch 1 :)

Acked-by: Serge Hallyn <[email protected]>

thanks

> ---
>  man/man3/strfry.3  | 2 +-
>  man/man3/strpbrk.3 | 4 ++++
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/man/man3/strfry.3 b/man/man3/strfry.3
> index 54ea313ea262..a65603af918a 100644
> --- a/man/man3/strfry.3
> +++ b/man/man3/strfry.3
> @@ -6,7 +6,7 @@
>  .\"
>  .TH strfry 3 (date) "Linux man-pages (unreleased)"
>  .SH NAME
> -strfry \- string fry
> +strfry \- string fry (obfuscate)
>  .SH LIBRARY
>  Standard C library
>  .RI ( libc ,\~ \-lc )
> diff --git a/man/man3/strpbrk.3 b/man/man3/strpbrk.3
> index 6e5b79a48bbe..ee7a84f1a944 100644
> --- a/man/man3/strpbrk.3
> +++ b/man/man3/strpbrk.3
> @@ -51,6 +51,10 @@ .SH STANDARDS
>  C11, POSIX.1-2008.
>  .SH HISTORY
>  POSIX.1-2001, C89, SVr4, 4.3BSD.
> +.SH BUGS
> +The name of this function is bad.
> +It should have been named strchrs().
> +The NAME section above reflects this.
>  .SH SEE ALSO
>  .BR memchr (3),
>  .BR strchr (3),
> -- 
> 2.53.0
>