From 7d63c0a424880757a60c68b620e7c18ec1614071 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 5 Mar 2013 08:06:31 +0100 Subject: [PATCH] resolver.3, resolv.conf.5: RES_DEBUG is only available if glibc is compiled with debug support See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692136 and https://bugzilla.kernel.org/show_bug.cgi?id=43061 Reported-by: Nathan Stratton Treadway Reported-by: Simon Heimberg Signed-off-by: Michael Kerrisk --- man3/resolver.3 | 4 ++++ man5/resolv.conf.5 | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/man3/resolver.3 b/man3/resolver.3 index d64f61cc1..5a38ae53e 100644 --- a/man3/resolver.3 +++ b/man3/resolver.3 @@ -186,6 +186,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 a7b45ac73..0b81847ee 100644 --- a/man5/resolv.conf.5 +++ b/man5/resolv.conf.5 @@ -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