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:
@@ -15,6 +15,7 @@
|
||||
#include <minix/com.h>
|
||||
#include <minix/u64.h>
|
||||
#include <minix/bdev.h>
|
||||
#include <machine/param.h>
|
||||
#include <machine/vmparam.h>
|
||||
#include "buf.h"
|
||||
#include "inode.h"
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <sys/shm.h>
|
||||
#include <sys/sem.h>
|
||||
#include <sys/mman.h>
|
||||
#include <machine/param.h>
|
||||
#include <machine/vm.h>
|
||||
#include <machine/vmparam.h>
|
||||
#include <sys/vm.h>
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <minix/com.h>
|
||||
#include <minix/u64.h>
|
||||
#include <minix/bdev.h>
|
||||
#include <machine/param.h>
|
||||
#include <machine/vmparam.h>
|
||||
#include "buf.h"
|
||||
#include "inode.h"
|
||||
|
||||
@@ -66,7 +66,7 @@ static void root_loadavg(void)
|
||||
avg[1] = ldiv(100L * loads[1].proc_load / loads[1].ticks, 100);
|
||||
avg[2] = ldiv(100L * loads[2].proc_load / loads[2].ticks, 100);
|
||||
|
||||
buf_printf("%ld.%0.2ld %ld.%02ld %ld.%02ld\n",
|
||||
buf_printf("%ld.%02ld %ld.%02ld %ld.%02ld\n",
|
||||
avg[0].quot, avg[0].rem, avg[1].quot, avg[1].rem,
|
||||
avg[2].quot, avg[2].rem);
|
||||
}
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
/* The following are so basic, all the *.c files get them automatically. */
|
||||
#include <minix/config.h> /* MUST be first */
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <machine/vmparam.h>
|
||||
|
||||
#include <minix/const.h>
|
||||
#include <minix/type.h>
|
||||
#include <minix/dmap.h>
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
#include <minix/hash.h>
|
||||
|
||||
#include <machine/vmparam.h>
|
||||
|
||||
#include "proto.h"
|
||||
#include "vm.h"
|
||||
#include "region.h"
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
#include <minix/bitmap.h>
|
||||
#include <minix/debug.h>
|
||||
|
||||
#include <machine/vmparam.h>
|
||||
|
||||
#include <sys/mman.h>
|
||||
#include <sys/param.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user