Bug 43061
Summary: | resolver.3 man page: RES_DEBUG option has effect only if libresolv compiled with DEBUG defined | ||
---|---|---|---|
Product: | Documentation | Reporter: | Nathan Stratton Treadway (kernelbugs2015) |
Component: | man-pages | Assignee: | documentation_man-pages (documentation_man-pages) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | kernelbugs2015, mtk.manpages |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://man7.org/linux/man-pages/man3/resolver.3.html | ||
Kernel Version: | n/a | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Nathan Stratton Treadway
2012-04-06 22:39:39 UTC
Thanks Nathan. I've applied the patch below. Cheers, Michael diff --git a/man3/resolver.3 b/man3/resolver.3 index 991b263..f659325 100644 --- a/man3/resolver.3 +++ b/man3/resolver.3 @@ -27,7 +27,7 @@ .\" Modified 1993-07-25 by Rik Faith (faith@cs.unc.edu) .\" Modified 2004-10-31 by aeb .\" -.TH RESOLVER 3 2012-04-23 "GNU" "Linux Programmer's Manual" +.TH RESOLVER 3 2013-03-05 "GNU" "Linux Programmer's Manual" .SH NAME res_init, res_query, res_search, res_querydomain, res_mkquery, res_send, dn_comp, dn_expand \- resolver routines @@ -185,6 +185,10 @@ has been called. .TP .B RES_DEBUG Print debugging messages. +This option is only available if glibc was built with debugging enabled, +.\" See resolv/README. +.\" Support for RES_DEBUG was made conditional in glibc 2.2. +which is not the default. .TP .B RES_AAONLY Accept authoritative answers only. diff --git a/man5/resolv.conf.5 b/man5/resolv.conf.5 index 9a3ca54..1358b73 100644 --- a/man5/resolv.conf.5 +++ b/man5/resolv.conf.5 @@ -18,7 +18,7 @@ .\" .\" Added ndots remark by Bernhard R. Link - debian bug #182886 .\" -.TH RESOLV.CONF 5 2012-11-11 "" "Linux Programmer's Manual" +.TH RESOLV.CONF 5 2013-03-05 "" "Linux Programmer's Manual" .UC 4 .SH NAME resolv.conf \- resolver configuration file @@ -133,7 +133,9 @@ where \fIoption\fP is one of the following: sets .BR RES_DEBUG in -.IR _res.options . +.IR _res.options +(only effective if glibc was built with debug support; see +.BR resolver (3)). .TP .BI ndots: n .\" Since glibc 2.2 |