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
+4 -4
View File
@@ -49,7 +49,7 @@ __RCSID("$NetBSD: devname.c,v 1.22 2012/06/03 21:42:46 joerg Exp $");
__weak_alias(devname_r,_devname_r)
#endif
#ifndef __minix
#if !defined(__minix)
static once_t db_opened = ONCE_INITIALIZER;
static struct cdbr *db;
static devmajor_t pts;
@@ -102,7 +102,7 @@ devname_ptslookup(dev_t dev, mode_t type, char *path, size_t len)
return ERANGE;
return 0;
}
#endif
#endif /* !defined(__minix) */
static int
devname_fts(dev_t dev, mode_t type, char *path, size_t len)
@@ -142,7 +142,7 @@ devname_r(dev_t dev, mode_t type, char *path, size_t len)
{
int rv;
#ifndef __minix
#if !defined(__minix)
thr_once(&db_opened, devname_dbopen);
if (db != NULL) {
@@ -157,7 +157,7 @@ devname_r(dev_t dev, mode_t type, char *path, size_t len)
if (db != NULL)
return ENOENT;
#endif
#endif /* !defined(__minix) */
rv = devname_fts(dev, type, path, len);
return rv;
}