Source-Changes-HG archive

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

[src/netbsd-2-0]: src/usr.bin/menuc Pull up revision 1.40 (requested by jmc i...



details:   https://anonhg.NetBSD.org/src/rev/10aa25d3207f
branches:  netbsd-2-0
changeset: 561541:10aa25d3207f
user:      tron <tron%NetBSD.org@localhost>
date:      Tue Jun 22 07:29:20 2004 +0000

description:
Pull up revision 1.40 (requested by jmc in ticket #527):
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944

diffstat:

 usr.bin/menuc/mdb.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 66eff8125986 -r 10aa25d3207f usr.bin/menuc/mdb.c
--- a/usr.bin/menuc/mdb.c       Tue Jun 22 07:28:58 2004 +0000
+++ b/usr.bin/menuc/mdb.c       Tue Jun 22 07:29:20 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mdb.c,v 1.39 2003/10/18 18:26:53 dsl Exp $     */
+/*     $NetBSD: mdb.c,v 1.39.2.1 2004/06/22 07:29:20 tron Exp $        */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -38,10 +38,14 @@
 
 /* mdb.c - menu database manipulation */
 
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
 #include <sys/cdefs.h>
 
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: mdb.c,v 1.39 2003/10/18 18:26:53 dsl Exp $");
+__RCSID("$NetBSD: mdb.c,v 1.39.2.1 2004/06/22 07:29:20 tron Exp $");
 #endif
 
 



Home | Main Index | Thread Index | Old Index