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/rpcgen Pull up revision 1.26 (requested by jmc ...
details: https://anonhg.NetBSD.org/src/rev/5a7b0a2b6f08
branches: netbsd-2-0
changeset: 561536:5a7b0a2b6f08
user: tron <tron%NetBSD.org@localhost>
date: Tue Jun 22 07:27:28 2004 +0000
description:
Pull up revision 1.26 (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/rpcgen/rpc_cout.c | 8 ++++++--
usr.bin/rpcgen/rpc_main.c | 8 ++++++--
2 files changed, 12 insertions(+), 4 deletions(-)
diffs (54 lines):
diff -r 3b0d2ae97d72 -r 5a7b0a2b6f08 usr.bin/rpcgen/rpc_cout.c
--- a/usr.bin/rpcgen/rpc_cout.c Tue Jun 22 07:27:05 2004 +0000
+++ b/usr.bin/rpcgen/rpc_cout.c Tue Jun 22 07:27:28 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_cout.c,v 1.25 2003/10/16 07:06:25 itojun Exp $ */
+/* $NetBSD: rpc_cout.c,v 1.25.2.1 2004/06/22 07:27:28 tron Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -29,12 +29,16 @@
* Mountain View, California 94043
*/
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)rpc_cout.c 1.13 89/02/22 (C) 1987 SMI";
#else
-__RCSID("$NetBSD: rpc_cout.c,v 1.25 2003/10/16 07:06:25 itojun Exp $");
+__RCSID("$NetBSD: rpc_cout.c,v 1.25.2.1 2004/06/22 07:27:28 tron Exp $");
#endif
#endif
diff -r 3b0d2ae97d72 -r 5a7b0a2b6f08 usr.bin/rpcgen/rpc_main.c
--- a/usr.bin/rpcgen/rpc_main.c Tue Jun 22 07:27:05 2004 +0000
+++ b/usr.bin/rpcgen/rpc_main.c Tue Jun 22 07:27:28 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_main.c,v 1.24.2.1 2004/05/14 06:22:20 jdc Exp $ */
+/* $NetBSD: rpc_main.c,v 1.24.2.2 2004/06/22 07:27:28 tron Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -30,12 +30,16 @@
* Mountain View, California 94043
*/
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI";
#else
-__RCSID("$NetBSD: rpc_main.c,v 1.24.2.1 2004/05/14 06:22:20 jdc Exp $");
+__RCSID("$NetBSD: rpc_main.c,v 1.24.2.2 2004/06/22 07:27:28 tron Exp $");
#endif
#endif
Home |
Main Index |
Thread Index |
Old Index