Re: massage volume control task

2015-01-02 Thread David Gwynne
> On 2 Jan 2015, at 9:55 pm, Mark Kettenis wrote: > >> Date: Fri, 2 Jan 2015 16:15:07 +1000 >> From: David Gwynne >> >> can someone test this? >> >> it allocates storage for the volume change details rather than cast >> arguments to a single global task. >> >> adds some safety while there if

Re: disk quotas bug fix [was: quotas grace period "none" right away]

2015-01-02 Thread Otto Moerbeek
On Fri, Jan 02, 2015 at 02:32:39PM -0800, Philip Guenther wrote: > On Fri, Jan 2, 2015 at 1:28 PM, Boris Goldberg wrote: > > Philip is right. It's embarrassing I haven't checked the case with hard > > quota myself. > > We'll look into it. Philip is actually suggesting the way. I suppose he >

Re: disk quotas bug fix [was: quotas grace period "none" right away]

2015-01-02 Thread Philip Guenther
On Fri, Jan 2, 2015 at 1:28 PM, Boris Goldberg wrote: > Philip is right. It's embarrassing I haven't checked the case with hard > quota myself. > We'll look into it. Philip is actually suggesting the way. I suppose he > doesn't have time to implement it himself, does he? Don't want to work on

Re: disk quotas bug fix [was: quotas grace period "none" right away]

2015-01-02 Thread Otto Moerbeek
On Fri, Jan 02, 2015 at 03:28:46PM -0600, Boris Goldberg wrote: > What about our second patch? I'd rather stay in line with FreeBSD and document quoaoff/quotaon is needed for the new grace period to take effect. https://svnweb.freebsd.org/base/head/usr.sbin/edquota/edquota.8?r1=140442&r2=1664

Re: disk quotas bug fix [was: quotas grace period "none" right away]

2015-01-02 Thread Boris Goldberg
Hello Otto, Philip is right. It's embarrassing I haven't checked the case with hard quota myself. We'll look into it. Philip is actually suggesting the way. I suppose he doesn't have time to implement it himself, does he? Don't want to work on something he is already working on. What about

Sort APs by signal strength

2015-01-02 Thread Simon Nicolussi
Hello, 31C3 had lots of access points sharing a network ID. Coming up with an AWK script to determine the network with the best coverage is easy, but still harder than simply choosing the first one that ifconfig iwn0 scan would spit out if only its output was sorted by signal strength (and in decr

Re: [PATCH 05/16] rename the s_un socket to avoid a variable called 'sun'

2015-01-02 Thread Brent Cook
On Fri, Jan 2, 2015 at 2:46 PM, Mark Kettenis wrote: >> From: Brent Cook >> Date: Fri, 2 Jan 2015 14:27:10 -0600 >> >> From: Brent Cook >> >> Solaris build environments seem to define 'sun' as a constant. >> Hilarity ensues. > > Hmm, sock is a bit of a bad choice. At least I associate it with

Re: [PATCH 05/16] rename the s_un socket to avoid a variable called 'sun'

2015-01-02 Thread Mark Kettenis
> From: Brent Cook > Date: Fri, 2 Jan 2015 14:27:10 -0600 > > From: Brent Cook > > Solaris build environments seem to define 'sun' as a constant. > Hilarity ensues. Hmm, sock is a bit of a bad choice. At least I associate it with being the file descriptor of a socket. Looking through the tr

uslhcom(4) driver for USB HID based UART

2015-01-02 Thread SASANO Takayoshi
Hello, Here is the driver for Silicon Labs CP2110 USB HID based UART. It called uhidcom(4) and now renamed to uslhcom(4). Now working on -current. -- SASANO Takayoshi Index: arch/i386/conf/GENERIC === RCS file: /cvs/src/sys/arch/

Re: disk quotas bug fix [was: quotas grace period "none" right away]

2015-01-02 Thread Otto Moerbeek
On Tue, Dec 30, 2014 at 02:37:58PM -0600, Boris Goldberg wrote: > Hello tech, > > Is there a particular reason why that path hasn't been committed? It's > not in the cvs tree and the bug is reproducible on the latest snapshot. > It's the first patch we are trying to commit and we might not un

[PATCH 05/16] rename the s_un socket to avoid a variable called 'sun'

2015-01-02 Thread Brent Cook
From: Brent Cook Solaris build environments seem to define 'sun' as a constant. Hilarity ensues. --- src/usr.sbin/ntpd/control.c | 18 +- src/usr.sbin/ntpd/ntpd.c| 12 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/usr.sbin/ntpd/control.c b/

[PATCH 04/16] add MAX macro, used in a few places in ntpd

2015-01-02 Thread Brent Cook
From: Brent Cook Do not assume that the system #includes happen to include a MAX macro somewhere along the way. --- src/usr.sbin/ntpd/ntpd.h | 4 1 file changed, 4 insertions(+) diff --git a/src/usr.sbin/ntpd/ntpd.h b/src/usr.sbin/ntpd/ntpd.h index aa9858b..61a447f 100644 --- a/src/usr.sbi

OpenNTPD-portable updated and ready for early testing

2015-01-02 Thread Brent Cook
Happy new year, here is a late (or very early?) present. I spent some time this holiday season getting OpenNTPD-portable back into shape with a new build tree. I hope to do an initial release in a few days to go with the OpenBSD 5.7 beta switch. In the mean time, I have published the source tree

[PATCH 03/16] remove unused dns_pid

2015-01-02 Thread Brent Cook
From: Brent Cook dns_pid is returned, but nothing is done with it. Was then intent to do some extra error handling here? --- src/usr.sbin/ntpd/ntp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usr.sbin/ntpd/ntp.c b/src/usr.sbin/ntpd/ntp.c index 2eb4285..ddbcedd 10

[PATCH 02/16] removed unused libevent header and structures in ntpd.h

2015-01-02 Thread Brent Cook
From: Brent Cook It does not appear anything actually uses libevent in ntpd, so remove the libevent-using structures from ntpd.h --- src/usr.sbin/ntpd/ntpd.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/src/usr.sbin/ntpd/ntpd.h b/src/usr.sbin/ntpd/ntpd.h index 8095be3..aa9858b

[PATCH 01/16] include time.h for strftime, clock_gettime

2015-01-02 Thread Brent Cook
From: Brent Cook Add a missing include for time.h to get the definitions of clock_gettime and strftime. --- src/usr.sbin/ntpd/ntpd.c | 1 + src/usr.sbin/ntpd/util.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/usr.sbin/ntpd/ntpd.c b/src/usr.sbin/ntpd/ntpd.c index 4634fae..17ebf67 1

Re: [PATCH] root.mail: fix date

2015-01-02 Thread Caspar Schutijser
On Friday, 2 January 2015 11:28:49 CEST, Janne Johansson wrote: May 01 2015 will be a Friday, no? Good catch. deraadt@ changed it now but he changed the day to Sunday instead of Friday. Patch below addresses the issue. Index: etc/root/root.mail =

Re: wc(1) and -m flag

2015-01-02 Thread Jason McIntyre
On Fri, Jan 02, 2015 at 12:03:31PM +0100, Ingo Schwarze wrote: > Hi, > > i'm certainly not known for enthusiasm with respect to multibyte > character support, but wc(1) is one example of a program where > respecting LC_CTYPE would really make sense even to me, so i > consider it a bug that wc -m c

libtls connect read write again

2015-01-02 Thread Alexander Bluhm
Hi, I think the connect function of libtls needs the same logic to read and write again like the read, write, accept functions for non-blocking sockets. All the connect checks should be done only once. ok? bluhm Index: lib/libtls/tls_client.c ===

Subscribe

2015-01-02 Thread Spencer Streeter
Subscribe Sincerely, Spencer Streeter IT Specialist, Sr. Department of Biology University of Utah email: stree...@biology.utah.edu phone: (801)581-4587

Re: your mail

2015-01-02 Thread David Carlier
In OpenBSD we just write that as "free(mp)", the "if" isn't required. Will remember it ;-) Index: fuse.c === RCS file: /cvs/src/lib/libfuse/fuse.c,v retrieving revision 1.24 diff -u -p -r1.24 fuse.c --- fuse.c 20 May 2014 13:32:22 -

Re: wc(1) and -m flag

2015-01-02 Thread Kaspars Bankovskis
I agree, it's better this way - with the prospect that the locale support might be added some day. On Fri, Jan 02, 2015 at 12:03:31PM +0100, Ingo Schwarze wrote: > Hi, > > i'm certainly not known for enthusiasm with respect to multibyte > character support, but wc(1) is one example of a program

[no subject]

2015-01-02 Thread David Carlier
Hi again after discussins with Helg, second change is not relevant, so only the first should remains. Kind regards. Index: fuse.c === RCS file: /cvs/src/lib/libfuse/fuse.c,v retrieving revision 1.24 diff -u -p -r1.24 fuse.c --- fuse.

Re: wc(1) and -m flag

2015-01-02 Thread Mark Kettenis
> Date: Fri, 2 Jan 2015 07:47:29 + > From: Jason McIntyre > > On Fri, Jan 02, 2015 at 02:11:34AM +0200, Kaspars Bankovskis wrote: > > On Thu, Jan 01, 2015 at 10:28:44PM +0001, Jason McIntyre wrote: > > > it's not exactly that we updated wc knowing that it was not posix > > > conformant. i thi

Re: massage volume control task

2015-01-02 Thread Mark Kettenis
> Date: Fri, 2 Jan 2015 16:15:07 +1000 > From: David Gwynne > > can someone test this? > > it allocates storage for the volume change details rather than cast > arguments to a single global task. > > adds some safety while there if audio0 is a hotplug device. > > ok? The problem with this app

Re: wc(1) and -m flag

2015-01-02 Thread Ingo Schwarze
Hi, i'm certainly not known for enthusiasm with respect to multibyte character support, but wc(1) is one example of a program where respecting LC_CTYPE would really make sense even to me, so i consider it a bug that wc -m currently is an alias for wc -c. I'm proposing the somewhat simpler patch b

Re: [PATCH] root.mail: fix date

2015-01-02 Thread Janne Johansson
2015-01-02 10:55 GMT+01:00 Caspar Schutijser : > Index: etc/root/root.mail > === > RCS file: /cvs/src/etc/root/root.mail,v > retrieving revision 1.105 > diff -u -p -u -r1.105 root.mail > --- etc/root/root.mail 1 Jan 2015 15:50:27 -00

[PATCH] root.mail: fix date

2015-01-02 Thread Caspar Schutijser
Index: etc/root/root.mail === RCS file: /cvs/src/etc/root/root.mail,v retrieving revision 1.105 diff -u -p -u -r1.105 root.mail --- etc/root/root.mail 1 Jan 2015 15:50:27 - 1.105 +++ etc/root/root.mail 2 Jan 2015 09:43:50