This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/sh | |
| # set -x | |
| # | |
| # Copyright (c) 2014 The DragonFly Project. All rights reserved. | |
| # | |
| # This code is derived from software contributed to The DragonFly Project | |
| # by Antonio Huete <[email protected]> | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c | |
| index 6b64ea1..3c22bd8 100644 | |
| --- a/lib/libkvm/kvm_proc.c | |
| +++ b/lib/libkvm/kvm_proc.c | |
| @@ -423,35 +423,52 @@ kvm_proclist(kvm_t *kd, int what, int arg, struct proc *p, | |
| */ | |
| static int | |
| kvm_deadprocs(kvm_t *kd, int what, int arg, u_long a_allproc, | |
| - u_long a_zombproc) | |
| + int allproc_hsize) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/test/debug/vnodeinfo.c b/test/debug/vnodeinfo.c | |
| index 41f88c4..6335c23 100644 | |
| --- a/test/debug/vnodeinfo.c | |
| +++ b/test/debug/vnodeinfo.c | |
| @@ -9,14 +9,14 @@ | |
| * | |
| * | |
| * Copyright (c) 2004 The DragonFly Project. All rights reserved. | |
| - * | |
| + * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/sh | |
| #set -x | |
| c=1 | |
| TOTALFILES=0 | |
| DISTFILES="/usr/distfiles" | |
| check_on_files() | |
| { | |
| local compflag=$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/usr.sbin/powerd/Makefile b/usr.sbin/powerd/Makefile | |
| index 2890ca0..6df7072 100644 | |
| --- a/usr.sbin/powerd/Makefile | |
| +++ b/usr.sbin/powerd/Makefile | |
| @@ -3,6 +3,7 @@ | |
| PROG= powerd | |
| MAN= powerd.8 | |
| +SRCS= acpi.c powerd.c powerd.h | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c | |
| index 147d743..e6eb301 100644 | |
| --- a/usr.bin/systat/vmstat.c | |
| +++ b/usr.bin/systat/vmstat.c | |
| @@ -144,8 +144,6 @@ static struct nlist namelist[] = { | |
| { .n_name = "_inactivevnodes" }, | |
| #define X_ACTIVEVNODES 5 | |
| { .n_name = "_activevnodes" }, | |
| -#define X_NUMDIRTYBUFFERS 6 | |
| - { .n_name = "_dirtybufspace" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/gssapi.c b/src/gssapi.c | |
| index da35899..30510bd 100644 | |
| --- a/src/gssapi.c | |
| +++ b/src/gssapi.c | |
| @@ -27,6 +27,7 @@ | |
| #include <unistd.h> | |
| #endif | |
| +#include <arpa/inet.h> | |
| #include <gssapi/gssapi.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 2b8b1b0c9e13615015f611ff351e816e9b52aa23 Mon Sep 17 00:00:00 2001 | |
| From: Antonio Huete Jimenez <[email protected]> | |
| Date: Thu, 3 Jul 2014 17:19:48 +0200 | |
| Subject: [PATCH] build - Add missing includes | |
| - According to POSIX htonl() requires <arpa/inet.h> included | |
| so explicitly include it to avoid build errors due to | |
| -Wimplicit-function-declaration. | |
| Signed-off-by: Antonio Huete Jimenez <[email protected]> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/share/man/man9/VOP_FSYNC.9 b/share/man/man9/VOP_FSYNC.9 | |
| index def80e7..5e6ddf7 100644 | |
| --- a/share/man/man9/VOP_FSYNC.9 | |
| +++ b/share/man/man9/VOP_FSYNC.9 | |
| @@ -26,7 +26,7 @@ | |
| .\" | |
| .\" $FreeBSD: src/share/man/man9/VOP_FSYNC.9,v 1.6.2.2 2001/12/17 11:30:18 ru Exp $ | |
| .\" | |
| -.Dd July 24, 1996 | |
| +.Dd October 8, 2014 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c | |
| index ef371ce..004bb02 100644 | |
| --- a/usr.bin/vmstat/vmstat.c | |
| +++ b/usr.bin/vmstat/vmstat.c | |
| @@ -380,13 +380,31 @@ getuptime(void) | |
| int hdrcnt; | |
| static void | |
| +do_sysctl(struct vmmeter *vmmp, struct vmstats *vmsp, struct vmtotal *totalp) | |
| +{ |