Page MenuHomeFreeBSD

D57926.diff
No OneTemporary

D57926.diff

diff --git a/lib/libc/resolv/res_init.c b/lib/libc/resolv/res_init.c
--- a/lib/libc/resolv/res_init.c
+++ b/lib/libc/resolv/res_init.c
@@ -746,6 +746,10 @@
#ifdef DEBUG
printf(";;\tdebug\n");
#endif
+ } else if (res_match(cp, ep, "no-debug")) {
+ statp->options &= ~RES_DEBUG;
+ } else if (res_match(cp, ep, "no-rotate")) {
+ statp->options &= ~RES_ROTATE;
} else if (res_match(cp, ep, "no-tld-query") ||
res_match(cp, ep, "no_tld_query")) {
statp->options |= RES_NOTLDQUERY;
diff --git a/share/man/man5/resolver.5 b/share/man/man5/resolver.5
--- a/share/man/man5/resolver.5
+++ b/share/man/man5/resolver.5
@@ -206,6 +206,18 @@
.Dv RES_NOCHECKNAME .
This disables the check of incoming host names for invalid characters
such as underscore, non-ASCII, or control characters.
+.It Cm no-debug
+Clears
+.Dv RES_DEBUG .
+See
+.Cm debug
+above.
+.It Cm no-rotate
+Clears
+.Dv RES_ROTATE .
+See
+.Cm rotate
+below.
.It Cm no-tld-query
Set
.Dv RES_NOTLDQUERY .

File Metadata

Mime Type
text/plain
Expires
Sat, Aug 15, 2:34 AM (8 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36697368
Default Alt Text
D57926.diff (987 B)

Event Timeline