commit 1ea506606b7c89f4cfa6a4c4c53767148302b33e
Author: zrj
Date: Sun Aug 21 11:30:47 2016 +0300
buildworld - bootstrap compatibility compiling older DragonFly's
* Fix buildworld issue bootstrapping gencat/uudecode utilities which does
not
expect newer header files (POSIX g
commit 7f56be5f4baea684cc858f2ef3231e7135c82e99
Author: Tomohiro Kusumi
Date: Sun Aug 21 16:49:54 2016 +0900
sbin/hammer: Make get_buffer() static
This is always called via other get functions (but not directly)
from various hammer commands.
Summary of changes:
sbin/hammer/h
commit 03b4f17cedbe2b1f18ba6e273c07a4081e1a5e26
Author: zrj
Date: Sat Aug 20 17:41:23 2016 +0300
sed(1): Fix issue with basename()/dirname() invoke.
Use copies when calling these POSIX functions.
Taken-from: FreeBSD r303047
Summary of changes:
usr.bin/sed/main.c | 10 ++
commit f02fcc434de7a04c21453a2e361037c534f56eaf
Author: zrj
Date: Fri Aug 19 14:07:27 2016 +0300
libc/readpassphrase: Sync with OpenBSD
Mainly for better terminal and signal handling.
Also include few fixes done by FreeBSD.
Taken-from: FreeBSD
Summary of changes:
in
commit 00dca917186cc948377e7a378d5cce72876f2038
Author: zrj
Date: Sun Aug 21 11:30:47 2016 +0300
buildworld - bootstrap compatibility compiling older DragonFly's
* Fix buildworld issue bootstrapping gencat/uudecode utilities which does
not
expect newer header files (POSIX g
commit d0ce80dc6b5a41da926e902cb8b6a31c874b12bc
Author: zrj
Date: Fri Aug 19 13:39:18 2016 +0300
Sync arc4random() with OpenBSD a bit.
Simplify calculation of "2**32 % upper_bound".
While there, perform some stylistic changes.
Taken-from: OpenBSD
Summary of changes:
commit 153c1b8f7a7e7a7df9ea1546b681af08bee544b6
Author: zrj
Date: Sat Aug 20 18:10:40 2016 +0300
lib/libexecinfo: Fix sysctl wrong argument order.
Not fatal, procfs fallback should still work (provided /proc is mounted).
Thus fix and prefer using the KERN_PROC_PATHNAME variant
commit e0c64b7d0cb193a63ac23013a40839ed49224ea7
Author: Tomohiro Kusumi
Date: Sun Aug 21 15:45:30 2016 +0900
sbin/hammer: Remove unused AssertOnFailure
After the previous commit, AssertOnFailure is no longer needed
as a global variable. It can be removed or replaced with Debug
commit 72e23ddf80e56ca3257f04d6caf7021ae64f9416
Author: Tomohiro Kusumi
Date: Sun Aug 21 15:07:30 2016 +0900
sbin/hammer: Remove AssertOnFailure assertion in blockmap lookup
This isn't necessary as blockmap_lookup() callers are going to
check returned offset and/or *errorp val