+1668. [bug] DIG_SIGCHASE was making bin/dig/host dump core.
+
1667. [port] linux: not all versions have IF_NAMESIZE.
1666. [bug] The optional port on hostnames in dual-stack-servers
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dig.c,v 1.192 2004/06/07 03:56:02 marka Exp $ */
+/* $Id: dig.c,v 1.193 2004/06/19 02:23:32 sra Exp $ */
#include <config.h>
#include <stdlib.h>
#include <dns/rdataclass.h>
#include <dns/result.h>
-#ifdef DIG_SIGCHASE
-#ifndef DIG_SIGCHASE_BU
-#define DIG_SIGCHASE_BU 1
-#endif
-#ifndef DIG_SIGCHASE_TD
-#define DIG_SIGCHASE_TD 1
-#endif
-#endif
-
#include <dig/dig.h>
extern ISC_LIST(dig_lookup_t) lookup_list;
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dighost.c,v 1.262 2004/06/11 00:27:02 marka Exp $ */
+/* $Id: dighost.c,v 1.263 2004/06/19 02:23:33 sra Exp $ */
/*
* Notice to programmers: Do not use this code as an example of how to
#include <string.h>
#include <limits.h>
-#ifdef DIG_SIGCHASE
-#ifndef DIG_SIGCHASE_BU
-#define DIG_SIGCHASE_BU 1
-#endif
-#ifndef DIG_SIGCHASE_TD
-#define DIG_SIGCHASE_TD 1
-#endif
-#endif
-
#include <dns/byaddr.h>
#ifdef DIG_SIGCHASE
#include <dns/dnssec.h>
fatal("Memory allocation failure in %s:%d",
__FILE__, __LINE__);
}
- ISC_LIST_APPEND(chase_message_list, chase_msg, link);
+ ISC_LIST_INITANDAPPEND(chase_message_list, chase_msg,
+ link);
if (dns_message_create(mctx, DNS_MESSAGE_INTENTPARSE,
&msg_temp) != ISC_R_SUCCESS) {
fatal("dns_message_create in %s:%d",
fatal("Memory allocation failure in %s:%d",
__FILE__, __LINE__);
}
- ISC_LIST_APPEND(chase_message_list2, chase_msg2, link);
+ ISC_LIST_INITANDAPPEND(chase_message_list2, chase_msg2,
+ link);
chase_msg2->msg = msg;
}
#endif
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dig.h,v 1.84 2004/04/13 02:54:15 marka Exp $ */
+/* $Id: dig.h,v 1.85 2004/06/19 02:23:36 sra Exp $ */
#ifndef DIG_H
#define DIG_H
* be 1.
*/
+/*
+ * Defaults for the sigchase suboptions. Consolidated here because
+ * these control the layout of dig_lookup_t (among other things).
+ */
+#ifdef DIG_SIGCHASE
+#ifndef DIG_SIGCHASE_BU
+#define DIG_SIGCHASE_BU 1
+#endif
+#ifndef DIG_SIGCHASE_TD
+#define DIG_SIGCHASE_TD 1
+#endif
+#endif
+
ISC_LANG_BEGINDECLS
typedef struct dig_lookup dig_lookup_t;
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: nslookup.c,v 1.104 2004/06/07 03:56:02 marka Exp $ */
+/* $Id: nslookup.c,v 1.105 2004/06/19 02:23:34 sra Exp $ */
#include <config.h>
#include <dns/rdatatype.h>
#include <dns/byaddr.h>
-#ifdef DIG_SIGCHASE
-#ifndef DIG_SIGCHASE_BU
-#define DIG_SIGCHASE_BU 1
-#endif
-#ifndef DIG_SIGCHASE_TD
-#define DIG_SIGCHASE_TD 1
-#endif
-#endif
-
#include <dig/dig.h>
extern ISC_LIST(dig_lookup_t) lookup_list;