state the 80 column knf rule in style(9)

2015-01-22 Thread Jim Smith
doesn't look like the 80 column rule is mentioned in style(9). this diff puts the sentence around the same place as osx's style(9) as it was the only example i could find and it seems like a reasonable place. Index: style.9 === RCS fi

Re: less ok cron

2015-01-22 Thread Ted Unangst
On Thu, Jan 22, 2015 at 20:16, Ted Unangst wrote: > This diff is mechanical in nature. Later I will fix the bugs it reveals: > > - while ((status = load_env(envstr, file)) >= OK) { > + while ((status = load_env(envstr, file)) >= 0) { > switch (status) { > - case ERR: > +

Re: less ok cron

2015-01-22 Thread Rick Ballard
I think you mean 0 On Thu, Jan 22, 2015 at 9:19 PM, Theo de Raadt wrote: > OK > > -- Rick Ballard Dartmouth,Nova Scotia, Canada

Re: enable jumbos on newer re(4) devices

2015-01-22 Thread David Gwynne
> On 23 Jan 2015, at 06:52, Stuart Henderson wrote: > > On 2015/01/22 10:09, David Gwynne wrote: >> >>> On 21 Jan 2015, at 23:49, Brad Smith wrote: >>> >>> On 01/21/15 06:51, Jim Smith wrote: hi all, the below diff enables support for jumbo frames on some newer re(4) devi

Re: less ok cron

2015-01-22 Thread Theo de Raadt
OK

less ok cron

2015-01-22 Thread Ted Unangst
remove the OK and ERR macros. They obfuscate the code and don't help legibility. (unix system calls use 0 for ok, but hundreds of other projects use 1 to indicate success.) Despite the name, many system calls (e.g., open) also return not OK values for success. It also cleans up some weird code lik

[dhcpd] Too many call to "remove ip from pf's table"

2015-01-22 Thread Bertrand PROVOST
Hello, Based on a patch[1] found on the mailing list, I added a link between dhcpd and unbound to be able to resolve name of all client that have a lease on dhcpd. And I found a bug in the function 'periodic_scan' which is called every X second (X = half of the minimum lease duration). This funct

Re: enable jumbos on newer re(4) devices

2015-01-22 Thread Stuart Henderson
On 2015/01/22 10:09, David Gwynne wrote: > > > On 21 Jan 2015, at 23:49, Brad Smith wrote: > > > > On 01/21/15 06:51, Jim Smith wrote: > >> hi all, > >> > >> the below diff enables support for jumbo frames on > >> some newer re(4) devices. i've tested it on 8186D/8111D > >> and 8186E/8111E chip

Re: mail(1) -r argument with mailbox

2015-01-22 Thread Todd C. Miller
On Wed, 21 Jan 2015 18:01:55 -0500, Martin Brandenburg wrote: > This makes mail(1) reject -r when not sending a message as it already > does for -s, -c, and -b. Thanks, committed. - todd