resolv.conf: Update MAXNS header reference for resolv.conf(5)
PATCH 1/1 resolv.conf: Update MAXNS header reference for resolv.conf(5)
The MAXNS limit mentioned in resolv.conf.5 now points to <res_state.h> instead of <resolv.h>, matching the change in glibc headers.
--- man/man5/resolv.conf.5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
man/man5/resolv.conf.5 +1 -1
@@ -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,
Signature · 1 line
2.25.0
Alejandro Colomar
maintainerHi Masanari,
Quoted 6 lines
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?
Have a lovely night!
Alex
Quoted 22 lines
Signed-off-by Masanari Iida <[email protected]>--- man/man5/resolv.conf.5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)man/man5/resolv.conf.5 +1
-1@@ -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,Signature · 1 line
2.25.0
Signature · 1 line
<https://www.alejandro-colomar.es>
Alejandro Colomar
maintainerQuoted 8 lines
Date: 2026-08-08 01:26:05+0200
From: Alejandro Colomar <[email protected]>Hi Masanari,
Quoted 3 lines
Date: 2026-08-07 21:49:16+0900
From: Masanari Iida <[email protected]>
Quoted 8 lines
Quoted 3 lines
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
Quoted 30 lines
Have a lovely night!
AlexQuoted 22 lines
Signed-off-by Masanari Iida <[email protected]>--- man/man5/resolv.conf.5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)man/man5/resolv.conf.5 +1
-1@@ -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,Signature · 1 line
2.25.0Signature · 1 line
<https://www.alejandro-colomar.es>
Signature · 1 line
<https://www.alejandro-colomar.es>
PATCH 1/1 resolv.conf: Update MAXNS header reference for resolv.conf(5)
The MAXNS limit mentioned in resolv.conf.5 points to <res_state.h> instead of <resolv.h> after following glibc change.
500b3a499fff (2017-05-20; "Remove __need_list_t and __need_res_state.")
--- man/man5/resolv.conf.5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
man/man5/resolv.conf.5 +1 -1
@@ -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,
Signature · 1 line
2.25.0
Alejandro Colomar
maintainerHi Masanari,
Quoted 9 lines
Date: 2026-08-08 11:15:39+0900
From: Masanari Iida <[email protected]>The MAXNS limit mentioned in resolv.conf.5 points to <
res_state.h> instead of <resolv.h> after following glibc change.
500b3a499fff(2017-05-20; "Remove__need_list_tand__need_res_state.")Signed-off-by Masanari Iida <[email protected]>
Thanks! I've applied the patch.
Have a lovely day!
Alex
Quoted 21 lines
--- man/man5/resolv.conf.5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)man/man5/resolv.conf.5 +1
-1@@ -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,Signature · 1 line
2.25.0
Signature · 1 line
<https://www.alejandro-colomar.es>