Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/resolv don't re-define DEBUG



details:   https://anonhg.NetBSD.org/src/rev/55800f9af91e
branches:  trunk
changeset: 587445:55800f9af91e
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 24 17:39:44 2006 +0000

description:
don't re-define DEBUG

diffstat:

 lib/libc/resolv/res_init.c    |  6 ++++--
 lib/libc/resolv/res_mkquery.c |  6 ++++--
 lib/libc/resolv/res_query.c   |  6 ++++--
 lib/libc/resolv/res_send.c    |  6 ++++--
 4 files changed, 16 insertions(+), 8 deletions(-)

diffs (112 lines):

diff -r 9502d754548b -r 55800f9af91e lib/libc/resolv/res_init.c
--- a/lib/libc/resolv/res_init.c        Tue Jan 24 17:37:05 2006 +0000
+++ b/lib/libc/resolv/res_init.c        Tue Jan 24 17:39:44 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: res_init.c,v 1.6 2005/09/15 23:33:41 tsarna Exp $      */
+/*     $NetBSD: res_init.c,v 1.7 2006/01/24 17:39:44 christos Exp $    */
 
 /*
  * Copyright (c) 1985, 1989, 1993
@@ -76,7 +76,7 @@
 static const char sccsid[] = "@(#)res_init.c   8.1 (Berkeley) 6/7/93";
 static const char rcsid[] = "Id: res_init.c,v 1.9.2.5.4.2 2004/03/16 12:34:18 marka Exp";
 #else
-__RCSID("$NetBSD: res_init.c,v 1.6 2005/09/15 23:33:41 tsarna Exp $");
+__RCSID("$NetBSD: res_init.c,v 1.7 2006/01/24 17:39:44 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -121,7 +121,9 @@
 #include "res_private.h"
 
 /* Options.  Should all be left alone. */
+#ifndef DEBUG
 #define DEBUG
+#endif
 
 static void res_setoptions __P((res_state, const char *, const char *));
 
diff -r 9502d754548b -r 55800f9af91e lib/libc/resolv/res_mkquery.c
--- a/lib/libc/resolv/res_mkquery.c     Tue Jan 24 17:37:05 2006 +0000
+++ b/lib/libc/resolv/res_mkquery.c     Tue Jan 24 17:39:44 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: res_mkquery.c,v 1.5 2004/05/21 16:03:05 christos Exp $ */
+/*     $NetBSD: res_mkquery.c,v 1.6 2006/01/24 17:40:32 christos Exp $ */
 
 /*
  * Copyright (c) 1985, 1993
@@ -76,7 +76,7 @@
 static const char sccsid[] = "@(#)res_mkquery.c        8.1 (Berkeley) 6/4/93";
 static const char rcsid[] = "Id: res_mkquery.c,v 1.1.2.2.4.2 2004/03/16 12:34:18 marka Exp";
 #else
-__RCSID("$NetBSD: res_mkquery.c,v 1.5 2004/05/21 16:03:05 christos Exp $");
+__RCSID("$NetBSD: res_mkquery.c,v 1.6 2006/01/24 17:40:32 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -101,7 +101,9 @@
 #endif
 
 /* Options.  Leave them on. */
+#ifndef DEBUG
 #define DEBUG
+#endif
 
 extern const char *_res_opcodes[];
 
diff -r 9502d754548b -r 55800f9af91e lib/libc/resolv/res_query.c
--- a/lib/libc/resolv/res_query.c       Tue Jan 24 17:37:05 2006 +0000
+++ b/lib/libc/resolv/res_query.c       Tue Jan 24 17:39:44 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: res_query.c,v 1.6 2004/09/25 05:33:01 christos Exp $   */
+/*     $NetBSD: res_query.c,v 1.7 2006/01/24 17:41:25 christos Exp $   */
 
 /*
  * Copyright (c) 1988, 1993
@@ -76,7 +76,7 @@
 static const char sccsid[] = "@(#)res_query.c  8.1 (Berkeley) 6/4/93";
 static const char rcsid[] = "Id: res_query.c,v 1.2.2.3.4.2 2004/03/16 12:34:19 marka Exp";
 #else
-__RCSID("$NetBSD: res_query.c,v 1.6 2004/09/25 05:33:01 christos Exp $");
+__RCSID("$NetBSD: res_query.c,v 1.7 2006/01/24 17:41:25 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -108,7 +108,9 @@
 #endif
 
 /* Options.  Leave them on. */
+#ifndef DEBUG
 #define DEBUG
+#endif
 
 #if PACKETSZ > 1024
 #define MAXPACKET      PACKETSZ
diff -r 9502d754548b -r 55800f9af91e lib/libc/resolv/res_send.c
--- a/lib/libc/resolv/res_send.c        Tue Jan 24 17:37:05 2006 +0000
+++ b/lib/libc/resolv/res_send.c        Tue Jan 24 17:39:44 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: res_send.c,v 1.8 2005/02/09 21:35:46 kleink Exp $      */
+/*     $NetBSD: res_send.c,v 1.9 2006/01/24 17:41:25 christos Exp $    */
 
 /*
  * Copyright (c) 1985, 1989, 1993
@@ -76,7 +76,7 @@
 static const char sccsid[] = "@(#)res_send.c   8.1 (Berkeley) 6/4/93";
 static const char rcsid[] = "Id: res_send.c,v 1.5.2.2.4.5 2004/08/10 02:19:56 marka Exp";
 #else
-__RCSID("$NetBSD: res_send.c,v 1.8 2005/02/09 21:35:46 kleink Exp $");
+__RCSID("$NetBSD: res_send.c,v 1.9 2006/01/24 17:41:25 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -121,7 +121,9 @@
 #endif
 
 /* Options.  Leave them on. */
+#ifndef DEBUG
 #define DEBUG
+#endif
 #include "res_debug.h"
 #include "res_private.h"
 



Home | Main Index | Thread Index | Old Index