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

Alejandro Colomar <[email protected]> Sun, 26 Jul 2026 00:10:57 +0200
Newsgroups org.kernel.vger.linux-man
Message-ID <amU0Uy6f0HLE3mo-@devuan>
Hi Serge,

On 2026-07-24T13:53:04-0500, [email protected] wrote:
> 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 :)

Heh!  :)

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

Thanks!


Cheers,
Alex

> 
> 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
> > 
> 
> 

-- 
<https://www.alejandro-colomar.es>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmplNHAACgkQ64mZXMKQ
wqkeyg/+P1KEvQU2Wu48So9wbRiJVBojC4JBcpr8sItBXg88uDXDvmAvA3n2DX4b
gKGQt1KLZWlF8klz3Tw0uxWGLQURTCqG8k3oVwIrVfx+gHpvki6FXqSSphD9kU2a
rjt+bXSMQlOtyqguBvgMGMECQ/YHIMb2oPjBtHu/jZJ2vmKWVL7VZuSpXogh7ObM
4usUSvdZlOLFS0je+x9+oJCr26WY64GOgKkD6+D3Zzt/OExEaBn5Lq9n9NdhhPbi
i/N4mqI61VSn1Ozxd7+l1AHCh66sQfZ3oMPlMl8hrYW+DoejgQDUKlH/YOSRZ1lP
ksWjEs5ymMyOa1WZ0fSOuIDbl2J9hY4RM69CtXKNN0VV60UduTlk+IKkISY4WQhG
pnK3HhfAY4dQ3jhRfqo0oiiLGrTKfN89GuJPQ3rz9Ij6Z1aBRFSRzqdT4JtszMmj
rMFENrioxIbT9sOLU5tm7TQr9VCDVcnX1UEpJ76y+4/KPn2ip4TieHbHluD8CgaL
/HAf2V5FOdrHX0F+WRJsO5A2MHdJeVofabshvyAVsCRvwegLEXmbnKJyfF//1TqB
0u9H2eT5c0Rzew1bdmmuN22cjNzWNFZGJJb2SzFfToIgAJXqywUNn/cwBRde6Fwj
RC5ccNIXLELVUZRiLKd7cpUu0ldlRHSYy6mHwLhDJ75l8PRYq1U=
=ge59
-----END PGP SIGNATURE-----