* resolv/res_debig.c (__p_type_syms): Add ns_t_dname entry.
authorUlrich Drepper <drepper@redhat.com>
Fri, 27 Jun 2008 04:45:06 +0000 (04:45 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 27 Jun 2008 04:45:06 +0000 (04:45 +0000)
Patch by Peter Jones <pjones@redhat.com>.

ChangeLog
localedata/tst-strptime.c
resolv/res_debug.c

index 0ff145c..a2a0cc3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-26  Ulrich Drepper  <drepper@redhat.com>
+
+       * resolv/res_debig.c (__p_type_syms): Add ns_t_dname entry.
+       Patch by Peter Jones <pjones@redhat.com>.
+
 2008-06-25  Ulrich Drepper  <drepper@redhat.com>
 
        [BZ #6654]
index a95b2c2..2d4bb7c 100644 (file)
@@ -34,8 +34,8 @@ do_test (void)
   printf ("\
 r = %p, r-s2 = %tu, tm.tm_mday = %d, tm.tm_mon = %d, tm.tm_year = %d\n",
          r, r - s2, tm.tm_mday, tm.tm_mon, tm.tm_year);
-  result = (r == NULL || r - s2 != 14 || tm.tm_mday != 25 || tm.tm_mon != 5
-           || tm.tm_year != 108);
+  result |= (r == NULL || r - s2 != 14 || tm.tm_mday != 25 || tm.tm_mon != 5
+            || tm.tm_year != 108);
 
   return result;
 }
index cd69d4f..76fd34b 100644 (file)
@@ -439,6 +439,7 @@ const struct res_sym __p_type_syms[] = {
        {ns_t_nimloc,   "NIMLOC",       "NIMROD locator (unimplemented)"},
        {ns_t_srv,      "SRV",          "server selection"},
        {ns_t_atma,     "ATMA",         "ATM address (unimplemented)"},
+       {ns_t_dname,    "DNAME",        "Non-terminal DNAME (for IPv6)"},
        {ns_t_tsig,     "TSIG",         "transaction signature"},
        {ns_t_ixfr,     "IXFR",         "incremental zone transfer"},
        {ns_t_axfr,     "AXFR",         "zone transfer"},