CVS commit: src/external/bsd/bind/dist/bin/tests

2014-03-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar  1 22:42:46 UTC 2014

Modified Files:
src/external/bsd/bind/dist/bin/tests: adb_test.c

Log Message:
put back init that got accidentally removed.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/bind/dist/bin/tests/adb_test.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/bind/dist/bin/tests/adb_test.c
diff -u src/external/bsd/bind/dist/bin/tests/adb_test.c:1.6 src/external/bsd/bind/dist/bin/tests/adb_test.c:1.7
--- src/external/bsd/bind/dist/bin/tests/adb_test.c:1.6	Fri Feb 28 22:24:33 2014
+++ src/external/bsd/bind/dist/bin/tests/adb_test.c	Sat Mar  1 17:42:46 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: adb_test.c,v 1.6 2014/03/01 03:24:33 christos Exp $	*/
+/*	$NetBSD: adb_test.c,v 1.7 2014/03/01 22:42:46 christos Exp $	*/
 
 /*
  * Copyright (C) 2004, 2005, 2007, 2009, 2011-2013  Internet Systems Consortium, Inc. (ISC)
@@ -293,6 +293,7 @@ main(int argc, char **argv) {
 	UNUSED(argc);
 	UNUSED(argv);
 
+	dns_result_register();
 	result = isc_app_start();
 	check_result(result, isc_app_start());
 



CVS commit: src/external/bsd/bind/dist/bin/tests

2014-03-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar  1 22:52:19 UTC 2014

Modified Files:
src/external/bsd/bind/dist/bin/tests: fsaccess_test.c

Log Message:
remove blank line


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/bind/dist/bin/tests/fsaccess_test.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/bind/dist/bin/tests/fsaccess_test.c
diff -u src/external/bsd/bind/dist/bin/tests/fsaccess_test.c:1.6 src/external/bsd/bind/dist/bin/tests/fsaccess_test.c:1.7
--- src/external/bsd/bind/dist/bin/tests/fsaccess_test.c:1.6	Fri Feb 28 22:24:33 2014
+++ src/external/bsd/bind/dist/bin/tests/fsaccess_test.c	Sat Mar  1 17:52:19 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: fsaccess_test.c,v 1.6 2014/03/01 03:24:33 christos Exp $	*/
+/*	$NetBSD: fsaccess_test.c,v 1.7 2014/03/01 22:52:19 christos Exp $	*/
 
 /*
  * Copyright (C) 2004, 2005, 2007, 2012  Internet Systems Consortium, Inc. (ISC)
@@ -42,7 +42,6 @@ main(void) {
 	FILE *fp;
 	int n;
 
-
 	n = remove(PATH);
 	if (n != 0  errno != ENOENT) {
 		fprintf(stderr, unable to remove(%s)\n, PATH);



CVS commit: src/external/bsd/bind/dist/bin/tests/dst

2014-03-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar  1 22:53:12 UTC 2014

Modified Files:
src/external/bsd/bind/dist/bin/tests/dst: t_dst.c

Log Message:
fix indentation


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/bind/dist/bin/tests/dst/t_dst.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/bind/dist/bin/tests/dst/t_dst.c
diff -u src/external/bsd/bind/dist/bin/tests/dst/t_dst.c:1.8 src/external/bsd/bind/dist/bin/tests/dst/t_dst.c:1.9
--- src/external/bsd/bind/dist/bin/tests/dst/t_dst.c:1.8	Fri Feb 28 22:24:33 2014
+++ src/external/bsd/bind/dist/bin/tests/dst/t_dst.c	Sat Mar  1 17:53:11 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_dst.c,v 1.8 2014/03/01 03:24:33 christos Exp $	*/
+/*	$NetBSD: t_dst.c,v 1.9 2014/03/01 22:53:11 christos Exp $	*/
 
 /*
  * Copyright (C) 2004, 2005, 2007-2009, 2011-2014  Internet Systems Consortium, Inc. (ISC)
@@ -277,9 +277,9 @@ dh(dns_name_t *name1, int id1, dns_name_
 
  cleanup:
 	if (key1 != NULL)
-	dst_key_free(key1);
+		dst_key_free(key1);
 	if (key2 != NULL)
-	dst_key_free(key2);
+		dst_key_free(key2);
 }
 
 static void
@@ -412,7 +412,7 @@ generate(int alg, isc_mem_t *mctx, int s
 		use(key, mctx, ISC_R_SUCCESS, nfails);
  cleanup:
 	if (key != NULL)
-	dst_key_free(key);
+		dst_key_free(key);
 }
 
 #define	DBUFSIZ	25



CVS commit: src/external/bsd/bind/dist/bin/tests/system/rpz

2014-03-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar  1 22:54:03 UTC 2014

Modified Files:
src/external/bsd/bind/dist/bin/tests/system/rpz: rpz.c

Log Message:
fix indentation


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/bind/dist/bin/tests/system/rpz/rpz.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/bind/dist/bin/tests/system/rpz/rpz.c
diff -u src/external/bsd/bind/dist/bin/tests/system/rpz/rpz.c:1.5 src/external/bsd/bind/dist/bin/tests/system/rpz/rpz.c:1.6
--- src/external/bsd/bind/dist/bin/tests/system/rpz/rpz.c:1.5	Sat Jul 27 15:23:11 2013
+++ src/external/bsd/bind/dist/bin/tests/system/rpz/rpz.c	Sat Mar  1 17:54:02 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: rpz.c,v 1.5 2013/07/27 19:23:11 christos Exp $	*/
+/*	$NetBSD: rpz.c,v 1.6 2014/03/01 22:54:02 christos Exp $	*/
 
 /*
  * Copyright (C) 2011-2013  Internet Systems Consortium, Inc. (ISC)
@@ -42,7 +42,7 @@ main(int argc, char **argv)
 #else
 		return (1);
 #endif
-	}
+	}
 
 	if (!strcasecmp(argv[1], nsdname)) {
 #ifdef ENABLE_RPZ_NSDNAME
@@ -50,8 +50,8 @@ main(int argc, char **argv)
 #else
 		return (1);
 #endif
-	}
+	}
 
-	fputs(USAGE, stderr);
-	return (1);
+	fputs(USAGE, stderr);
+	return (1);
 }