Re: Fix includes in sys/ddb/db_variables.c

2015-03-13 Thread Steven McDonald
On Sat, 14 Mar 2015 01:49:22 -0400 "Ted Unangst" wrote: > Thanks. I restored the systm.h include instead. It's rare for C files > to include libkern headers directly. I think systm.h remains the > correct header for strcmp. Thanks for the clarification. I was going by the SYNOPSIS section of ker

Re: Fix includes in sys/ddb/db_variables.c

2015-03-13 Thread Ted Unangst
Steven McDonald wrote: > The recent change to db_variables.c to not include sys/systm.h revealed > a missing include that breaks kernel builds on macppc (and possibly > other arches). The problem is that db_variables.c makes use of > strcmp(9), which requires lib/libkern/libkern.h, and that was bei

Fix includes in sys/ddb/db_variables.c

2015-03-13 Thread Steven McDonald
The recent change to db_variables.c to not include sys/systm.h revealed a missing include that breaks kernel builds on macppc (and possibly other arches). The problem is that db_variables.c makes use of strcmp(9), which requires lib/libkern/libkern.h, and that was being included via systm.h. This

Re: ksh version lies

2015-03-13 Thread Ted Unangst
Pascal Stumpf wrote: > On Thu, 12 Mar 2015 15:25:48 + (UTC), Christian Weisgerber wrote: > > On 2015-03-12, Patrik Lundin wrote: > > > > >=== > > > elif [ -n "$KSH_VERSION" ]; then > > > HACKING_DIR=$(dirname "${.sh.file}") > > >=== > > > > .sh.file and related dot variables are a ksh93

ext2fs.h + firmload.c diffs

2015-03-13 Thread Matthew Markfort
ext2fs_h.diff --- ext2fs.h Mon Jul 14 03:54:13 2014 +++ /home/matt/OpenBSD/ext2fs.h Fri Mar 13 17:31:36 2015 @@ -156,7 +156,7 @@ u_int32_t e2fs_first_meta_bg; u_int32_t e2fs_mkfs_time; u_int32_t e2fs_journal_backup[17]; - u_int32_t reserved2[76]; + u_int32_t reserved2[172]; }; The res

use of -blibpath not consistent (on AIX, maybe for all platforms)

2015-03-13 Thread Michael Felt
While testing for openssh-6.8 I ran across issues with -blibpath on AIX. The current situation is that for libressl the use is not consistent, and it would break any packaging attempting to permit side-by-side usage of openssl packaging by IBM or anyone else when side-by-side is needed (e.g., old

Re: Rotate & compress accounting logs with newsyslog

2015-03-13 Thread Craig Skinner
Resend: On 2015-02-06 Fri 19:37 PM |, Craig Skinner wrote: > Produces:- > > $ ls -lh /var/account > total 8472 > -rw-r--r-- 1 root wheel 2.7M Feb 6 19:20 acct > -rw-r--r-- 1 root wheel 187K Feb 6 01:30 acct.bak.0.gz > -rw-r--r-- 1 root wheel 206K Feb 5 01:30 acct.bak.1.gz > -rw-r--