Skip to contentSkip to conversation

resolver.3: RES_DEBUG not accessible with default build

PATCH In review Simon Paillard 2 participants 2 messages Mar 4, 2013 – Mar 5, 2013 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 resolver.3: RES_DEBUG not accessible with default build

See http://bugs.debian.org/692136

For the record, it seems this has been the case in glibc since a while
committer Roland McGrath <roland-mXXj517/[email protected]>
Sat, 18 Feb 1995 01:27:10 +0000 (01:27 +0000)
commit 28f540f45bbacd939bfd07f213bcad2bf730b1bf
http://repo.or.cz/w/glibc.git/blob/28f540f45bbacd939bfd07f213bcad2bf730b1bf:/resolv/res_init.c

---
 man3/resolver.3 |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
man3/resolver.3 +2 -1
index af532f7..390d51b 100644
@@ -184,7 +184,8 @@ True if
 has been called.
 .TP
 .B RES_DEBUG
-Print debugging messages.
+Print debugging messages.  This option needs glibc to be build with debugging 
+enabled, which is not the default.
 .TP
 .B RES_AAONLY
 Accept authoritative answers only.
Signature · 6 lines
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1362437119-28677-1-git-send-email-spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org

#2 lore raw
Quoted 16 lines · Simon Paillard

See http://bugs.debian.org/692136

For the record, it seems this has been the case in glibc since a while
committer Roland McGrath <roland-mXXj517/[email protected]>
Sat, 18 Feb 1995 01:27:10 +0000 (01:27 +0000)
commit 28f540f45bbacd939bfd07f213bcad2bf730b1bf
http://repo.or.cz/w/glibc.git/blob/28f540f45bbacd939bfd07f213bcad2bf730b1bf:/resolv/res_init.c

---
 man3/resolver.3 |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
man3/resolver.3 +0 -0
index af532f7..390d51b 100644

man3/resolver.3 True if · line 191

Quoted 9 lines
man3/resolver.3 +2 -1
@@ -184,7 +184,8 @@ True if
 has been called.
 .TP
 .B RES_DEBUG
-Print debugging messages.
+Print debugging messages.  This option needs glibc to be build with debugging
+enabled, which is not the default.
 .TP
 .B RES_AAONLY
 Accept authoritative answers only.

Thanks Simon,

I've applied the patch below.

Cheers,

Michael

man3/resolver.3 +4 -0
index 991b263..f659325 100644
@@ -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.
man5/resolv.conf.5 +3 -1
index 9a3ca54..1358b73 100644
@@ -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

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html