Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mpl/bind/dist/lib Consistently comment out code tha...
details: https://anonhg.NetBSD.org/src/rev/c388d1fbaf1f
branches: trunk
changeset: 981863:c388d1fbaf1f
user: christos <christos%NetBSD.org@localhost>
date: Tue Mar 23 20:59:02 2021 +0000
description:
Consistently comment out code that lint can't handle (yet?)
diffstat:
external/mpl/bind/dist/lib/dns/peer.c | 5 ++---
external/mpl/bind/dist/lib/isc/netmgr/udp.c | 4 ++--
external/mpl/bind/dist/lib/isc/task.c | 5 ++---
external/mpl/bind/dist/lib/ns/client.c | 5 ++---
external/mpl/bind/dist/lib/ns/interfacemgr.c | 5 ++---
5 files changed, 10 insertions(+), 14 deletions(-)
diffs (94 lines):
diff -r 3e4678ef2558 -r c388d1fbaf1f external/mpl/bind/dist/lib/dns/peer.c
--- a/external/mpl/bind/dist/lib/dns/peer.c Tue Mar 23 20:57:40 2021 +0000
+++ b/external/mpl/bind/dist/lib/dns/peer.c Tue Mar 23 20:59:02 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: peer.c,v 1.5 2021/02/19 16:42:16 christos Exp $ */
+/* $NetBSD: peer.c,v 1.6 2021/03/23 20:59:02 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -216,8 +216,7 @@
peer = isc_mem_get(mem, sizeof(*peer));
-#ifndef __lint__
-// XXX: bug
+#ifndef __lint__ // XXX: bug
*peer = (dns_peer_t){
.magic = DNS_PEER_MAGIC,
.address = *addr,
diff -r 3e4678ef2558 -r c388d1fbaf1f external/mpl/bind/dist/lib/isc/netmgr/udp.c
--- a/external/mpl/bind/dist/lib/isc/netmgr/udp.c Tue Mar 23 20:57:40 2021 +0000
+++ b/external/mpl/bind/dist/lib/isc/netmgr/udp.c Tue Mar 23 20:59:02 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udp.c,v 1.4 2021/02/19 16:42:20 christos Exp $ */
+/* $NetBSD: udp.c,v 1.5 2021/03/23 20:59:03 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -543,7 +543,7 @@
if (isc_nm_tid() == rsock->tid) {
isc__netievent_udpsend_t ievent
-#ifndef __lint__ // XXX lint broken
+#ifndef __lint__ // XXX: bug
= { .sock = rsock, .req = uvreq, .peer = *peer }
#endif
;
diff -r 3e4678ef2558 -r c388d1fbaf1f external/mpl/bind/dist/lib/isc/task.c
--- a/external/mpl/bind/dist/lib/isc/task.c Tue Mar 23 20:57:40 2021 +0000
+++ b/external/mpl/bind/dist/lib/isc/task.c Tue Mar 23 20:59:02 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: task.c,v 1.10 2021/02/19 16:42:19 christos Exp $ */
+/* $NetBSD: task.c,v 1.11 2021/03/23 20:59:03 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -1386,8 +1386,7 @@
REQUIRE(managerp != NULL && *managerp == NULL);
manager = isc_mem_get(mctx, sizeof(*manager));
-#ifndef __lint__
-// XXX: bug
+#ifndef __lint__ // XXX: bug
*manager = (isc__taskmgr_t){ .common.impmagic = TASK_MANAGER_MAGIC,
.common.magic = ISCAPI_TASKMGR_MAGIC };
#endif
diff -r 3e4678ef2558 -r c388d1fbaf1f external/mpl/bind/dist/lib/ns/client.c
--- a/external/mpl/bind/dist/lib/ns/client.c Tue Mar 23 20:57:40 2021 +0000
+++ b/external/mpl/bind/dist/lib/ns/client.c Tue Mar 23 20:59:02 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: client.c,v 1.12 2021/02/19 16:42:22 christos Exp $ */
+/* $NetBSD: client.c,v 1.13 2021/03/23 20:59:03 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -2311,8 +2311,7 @@
* Retain these values from the existing client, but
* zero every thing else.
*/
-#ifndef __lint__
-/* XXX: bug ? */
+#ifndef __lint__ // XXX: bug
*client = (ns_client_t){ .magic = 0,
.mctx = oldmctx,
.manager = oldmgr,
diff -r 3e4678ef2558 -r c388d1fbaf1f external/mpl/bind/dist/lib/ns/interfacemgr.c
--- a/external/mpl/bind/dist/lib/ns/interfacemgr.c Tue Mar 23 20:57:40 2021 +0000
+++ b/external/mpl/bind/dist/lib/ns/interfacemgr.c Tue Mar 23 20:59:02 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: interfacemgr.c,v 1.9 2021/02/19 16:42:22 christos Exp $ */
+/* $NetBSD: interfacemgr.c,v 1.10 2021/03/23 20:59:03 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -398,8 +398,7 @@
REQUIRE(NS_INTERFACEMGR_VALID(mgr));
ifp = isc_mem_get(mgr->mctx, sizeof(*ifp));
-#ifndef __lint__
-/* XXX: bug? */
+#ifndef __lint__ // XXX: bug
*ifp = (ns_interface_t){ .generation = mgr->generation,
.addr = *addr,
.dscp = -1 };
Home |
Main Index |
Thread Index |
Old Index