[Patch] use exit() directly in usage()

2014-09-27 Thread Fritjof Bornebusch
Hi, after usage() was called, there is no where you can go. fritjof Index: ci.c === RCS file: /cvs/src/usr.bin/rcs/ci.c,v retrieving revision 1.217 diff -u -p -r1.217 ci.c --- ci.c19 May 2014 19:42:24 - 1.217 +++ c

Re: [Patch] avoid typecast

2014-09-27 Thread Otto Moerbeek
On Sat, Sep 27, 2014 at 03:48:54PM +0200, Fritjof Bornebusch wrote: > Hi, > > there is no need for the typecast. Committed, thanks, -Otto > > fritjof > > > Index: xmalloc.c > === > RCS file: /cvs/src/usr.bin/rcs/xmalloc.

Re: [Patch]openrcs: atoi to strtonum

2014-09-27 Thread Otto Moerbeek
On Fri, Sep 26, 2014 at 09:23:08PM +0200, Fritjof Bornebusch wrote: > On Wed, Sep 24, 2014 at 10:31:17PM +0200, Otto Moerbeek wrote: > Hi, > > > On Wed, Sep 24, 2014 at 05:13:47PM +0200, Fritjof Bornebusch wrote: > > > > > Hi, > > > > > > I changed atoi to strtonum in order to avoid overflows.

[Patch] avoid typecast

2014-09-27 Thread Fritjof Bornebusch
Hi, there is no need for the typecast. fritjof Index: xmalloc.c === RCS file: /cvs/src/usr.bin/rcs/xmalloc.c,v retrieving revision 1.4 diff -u -p -r1.4 xmalloc.c --- xmalloc.c 7 Jun 2009 08:39:13 - 1.4 +++ xmalloc.c 2

Re: maketz.sh problems with distrib build

2014-09-27 Thread THEvoid
i think this was sent to me personally by mistake (i had reply-to set). it seems part of the conversation, and nothing seems confidential, so i am posting my reply to tech@ especially as it is relevant to those who may want to know this later. On Sat, 27 Sep 2014 05:13:42 -0600 (MDT) > Your diff

Re: maketz.sh problems with distrib build

2014-09-27 Thread THEvoid
On Sat, 27 Sep 2014 03:38:30 -0600 (MDT) > >so is there a better way to just build a kernel? i'm not going to build a > >whole release just for one kernel, especially when experimenting. and i mean > >a RAMDISK kernel. i think its great the things i can do with openbsd, even > >when it is not what

Re: tplink TL-WN722N (ath ar9271): athn0: could not load firmware (and firmware is there)

2014-09-27 Thread Abel Abraham Camarillo Ojeda
On Sat, Sep 27, 2014 at 4:42 AM, Abel Abraham Camarillo Ojeda wrote: > On Thu, Sep 25, 2014 at 11:51 PM, Sébastien Marie > wrote: >> Hi, >> >> On Thu, Sep 25, 2014 at 06:18:11PM -0500, Abel Abraham Camarillo Ojeda wrote: >>> I have this usb dongle: >>> >>> http://www.tp-link.com/en/products/detai

Re: tplink TL-WN722N (ath ar9271): athn0: could not load firmware (and firmware is there)

2014-09-27 Thread Abel Abraham Camarillo Ojeda
On Thu, Sep 25, 2014 at 11:51 PM, Sébastien Marie wrote: > Hi, > > On Thu, Sep 25, 2014 at 06:18:11PM -0500, Abel Abraham Camarillo Ojeda wrote: >> I have this usb dongle: >> >> http://www.tp-link.com/en/products/details/?model=tl-wn722n#over >> >> Tplink TL-WN722N, which according to driver (*.in

Re: maketz.sh problems with distrib build

2014-09-27 Thread Theo de Raadt
>so is there a better way to just build a kernel? i'm not going to build a >whole release just for one kernel, especially when experimenting. and i mean >a RAMDISK kernel. i think its great the things i can do with openbsd, even >when it is not what is intended. tough. I'm sorry, but this is the

Re: maketz.sh problems with distrib build

2014-09-27 Thread THEvoid
> On Sat, Sep 27, 2014 at 10:46 AM, wrote: > > On Sat, 27 Sep 2014 09:02:52 +0300 > >> On Sat, Sep 27, 2014 at 7:10 AM, wrote: > >> > i encounter this error when building the (RAMDISK_CD) distrib kernel: > >> > usage: maketz.sh DESTDIR > >> ... > >> > maybe the method i have been using to build

Re: page zeroing

2014-09-27 Thread Mark Kettenis
> Date: Fri, 26 Sep 2014 21:01:38 +0200 (CEST) > From: Mark Kettenis > > The diff below adds a kernel thread that makes memory pages filled > with zeroes without olding the kernel lock. The idea is that this > should speed up MP systems because the kernel can do some useful work > in parallel wi

Re: maketz.sh problems with distrib build

2014-09-27 Thread Philip Guenther
On Sat, Sep 27, 2014 at 10:46 AM, wrote: > On Sat, 27 Sep 2014 09:02:52 +0300 >> On Sat, Sep 27, 2014 at 7:10 AM, wrote: >> > i encounter this error when building the (RAMDISK_CD) distrib kernel: >> > usage: maketz.sh DESTDIR >> ... >> > maybe the method i have been using to build distrib is ou