Re: [PATCH] resolv.conf: Update MAXNS header reference for resolv.conf(5)

Alejandro Colomar <[email protected]>
Newsgroups org.kernel.vger.linux-man
Message-ID <anZtjC89LJFudMay@devuan>
> Date: 2026-08-08 01:26:05+0200
> From: Alejandro Colomar <[email protected]>
>
> Hi Masanari,
> 
> > Date: 2026-08-07 21:49:16+0900
> > From: Masanari Iida <[email protected]>
> >
> > The MAXNS limit mentioned in resolv.conf.5 now points
> > to <res_state.h> instead of <resolv.h>, matching the
> > change in glibc headers.
> 
> Would you mind providing a reference to that change?  When did it
> happen?
> 
> Could you provide a specific glibc commit?

I've found it:

glibc.git 500b3a499fff (2017-05-20; "Remove __need_list_t and __need_res_state.")

Please include that reference in the commit message.


Cheers,
Alex

> 
> 
> Have a lovely night!
> Alex
> 
> > 
> > Signed-off-by: Masanari Iida <[email protected]>
> > ---
> >  man/man5/resolv.conf.5 | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/man/man5/resolv.conf.5 b/man/man5/resolv.conf.5
> > index 8e914f12a18d..89f9d903a1e3 100644
> > --- a/man/man5/resolv.conf.5
> > +++ b/man/man5/resolv.conf.5
> > @@ -50,7 +50,7 @@ or an IPv6 address in colon (and possibly dot) notation as per RFC 2373.
> >  Up to
> >  .B MAXNS
> >  (currently 3, see
> > -.IR <resolv.h> )
> > +.IR <res_state.h> )
> >  name servers may be listed,
> >  one per keyword.
> >  If there are multiple servers,
> > -- 
> > 2.25.0
> > 
> 
> -- 
> <https://www.alejandro-colomar.es>



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

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmp2bcMACgkQ64mZXMKQ
wqkUrhAAoIRiXYM2vuvZxS1YT2Ih451QCj4T+kiBOMYOdvInQ3qgkWo7zdesxjrm
gbpbvXLj4Wp/VHl6irsnXQKUJBYFtbjEw4yjoXkfsESWNVhq/sPJi3Q4FMpJuGGM
UCKHZIThhjU9bva0eYE5pBLVNSrTvTnjmm/pRGK8v3EcZAPwNE+l4g9FbaxuOwXq
QZ74x3B2sAqhXPMQTrEcTdvCeO+8s6Y8yO6IRcJ0ui63CMooo4xsJiv9ojaj6JNI
bA14N8y8G/2uBQi4agyYlScr4NYvnSZbazCLENZ6MDjCbN+YEJGAfjFjkrHuCS0n
A/tUo9xlbaKn2oTn62s58cVyv7o2pw8kCwLDsnGqLbNNSCpiLNx2GluLlFWXl2DQ
qqXXJ9dmuPW6yH/BPbkCZohe2F/GNIxDb+CvwiNudaDHxqCqe9gK/1gpgFcc4Iz9
t4Fss9dHq0DzG7HxCP+MW9QH97gf4i2NbNxn+m0IwBncgKPTnOUspNHqd7h/mSwQ
jCZh3uZDfU/yb7OBuqxiBAnoS0tLozKXdes0x6DHZyE+Xtfcmo7fNC11vCqdk96O
JLVfVHvD5ATKiY/029WaxMpIYnkchewCGrjtmB340iNhahH3LK/LR+R45UWfVGps
Lx0Ug9WFl/fhPJZCGX3Y8lSBn7oPjPjzZgPmRRVxsR6Q9YI6uZ8=
=c4HJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.