Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)

- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
This commit is contained in:
2014-07-28 17:05:06 +02:00
parent ff10274392
commit 84d9c625bf
4655 changed files with 379308 additions and 151050 deletions
+10 -5
View File
@@ -1,4 +1,4 @@
/* $NetBSD: style,v 1.49 2011/09/01 09:33:01 christos Exp $ */
/* $NetBSD: style,v 1.51 2013/03/08 16:50:02 christos Exp $ */
/*
* The revision control tag appears first, with a blank line after it.
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
__COPYRIGHT("@(#) Copyright (c) 2008\
The NetBSD Foundation, inc. All rights reserved.");
__RCSID("$NetBSD: style,v 1.49 2011/09/01 09:33:01 christos Exp $");
__RCSID("$NetBSD: style,v 1.51 2013/03/08 16:50:02 christos Exp $");
/*
* VERY important single-line comments look like this.
@@ -77,7 +77,12 @@ __RCSID("$NetBSD: style,v 1.49 2011/09/01 09:33:01 christos Exp $");
/*
* Kernel include files come first.
*/
#include <sys/types.h> /* Non-local includes in brackets. */
#include <sys/param.h> /* <sys/param.h> first, */
#include <sys/types.h> /* <sys/types.h> next, */
#include <sys/ioctl.h> /* and then the rest, */
#include <sys/socket.h> /* sorted lexicographically. */
#include <sys/stat.h>
#include <sys/wait.h> /* Non-local includes in brackets. */
/*
* If it's a network program, put the network include files next.
@@ -91,7 +96,7 @@ __RCSID("$NetBSD: style,v 1.49 2011/09/01 09:33:01 christos Exp $");
/*
* Then there's a blank line, followed by the /usr include files.
* The /usr include files should be sorted!
* The /usr include files should be sorted lexicographically!
*/
#include <assert.h>
#include <errno.h>
@@ -354,7 +359,7 @@ function(int a1, int a2, float fl, int a4)
* not:
* !(p = f())
*
* The notable exception here is varyadic functions. Since our
* The notable exception here is variadic functions. Since our
* code is designed to compile and work on different environments
* where we don't have control over the NULL definition (on NetBSD
* it is defined as ((void *)0), but on other systems it can be