Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/usr.sbin/mtree Pull up revision 1.56 (requested by jmc ...
details: https://anonhg.NetBSD.org/src/rev/cf2405f72f0e
branches: netbsd-2-0
changeset: 561530:cf2405f72f0e
user: tron <tron%NetBSD.org@localhost>
date: Tue Jun 22 07:25:17 2004 +0000
description:
Pull up revision 1.56 (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.sbin/mtree/spec.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 5449476dca27 -r cf2405f72f0e usr.sbin/mtree/spec.c
--- a/usr.sbin/mtree/spec.c Tue Jun 22 07:24:55 2004 +0000
+++ b/usr.sbin/mtree/spec.c Tue Jun 22 07:25:17 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spec.c,v 1.54 2004/01/30 19:09:03 ross Exp $ */
+/* $NetBSD: spec.c,v 1.54.2.1 2004/06/22 07:25:17 tron Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -65,12 +65,16 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)spec.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: spec.c,v 1.54 2004/01/30 19:09:03 ross Exp $");
+__RCSID("$NetBSD: spec.c,v 1.54.2.1 2004/06/22 07:25:17 tron Exp $");
#endif
#endif /* not lint */
Home |
Main Index |
Thread Index |
Old Index