urndis(4) fix

2014-11-29 Thread Mark Kettenis
Recent Oracle SPARC machines have a USB gadget to talk to the Service Processor (ILOM). This gadget supports both RNDIS and CDC Ethernet. The RNDIS bits uncovered a bug in urndis(4). When urndis_ctrl_set() sets up the REMOTE_NDIS_SET_MSG command it sets up msg->rm_infobuflen, it subsequently over

Re: fuck you pkg.conf

2014-11-29 Thread Robert Peichaer
On Sat, Nov 29, 2014 at 04:32:20PM +0100, Mark Kettenis wrote: > > Date: Sat, 29 Nov 2014 09:27:51 -0500 > > From: Ted Unangst > > > > On Sat, Nov 29, 2014 at 14:02, Antoine Jacoutot wrote: > > >> But that said, why does your pkg.conf keep returning? I don't have one on > > >> my laptop at all, I

/etc/rc: remove "RC4" in a comment

2014-11-29 Thread David Coppa
Hi! RC4 is no more. It's better to be more generic. comments / oks ? Ciao, David Index: rc === RCS file: /cvs/src/etc/rc,v retrieving revision 1.444 diff -u -p -u -p -r1.444 rc --- rc 17 Nov 2014 18:19:08 - 1.444 +++ rc

patch: Support long lines in Plan B

2014-11-29 Thread Tobias Stoeckmann
Hi, this diff doesn't just fix the "division by zero" for input files with lines longer than 1023 chars in Plan B mode, it actually removes this line limit! Before: $ dd if=/dev/zero bs=1 count=1024 | tr '\0' a > a $ dd if=/dev/zero bs=1 count=1024 | tr '\0' b > b $ diff -u a b > a.diff $ patch

Re: [patch]rcs: comment typo

2014-11-29 Thread Fritjof Bornebusch
On Sat, Nov 29, 2014 at 04:53:28PM +0100, Otto Moerbeek wrote: > On Sat, Nov 29, 2014 at 02:22:25PM +0100, Fritjof Bornebusch wrote: > > > Hi tech, > > > > it's NULL not NUL. > > You're touching a big controversy here. Many developers say that NUL is > the right term when rferring to chars and n

Re: [patch]rcs: comment typo

2014-11-29 Thread Ingo Schwarze
Hi, Otto Moerbeek wrote on Sat, Nov 29, 2014 at 04:53:28PM +0100: > On Sat, Nov 29, 2014 at 02:22:25PM +0100, Fritjof Bornebusch wrote: >> Hi tech, >> >> it's NULL not NUL. > You're touching a big controversy here. Many developers say that NUL is > the right term when rferring to chars and not

Re: [patch]rcs: comment typo

2014-11-29 Thread Otto Moerbeek
On Sat, Nov 29, 2014 at 02:22:25PM +0100, Fritjof Bornebusch wrote: > Hi tech, > > it's NULL not NUL. You're touching a big controversy here. Many developers say that NUL is the right term when rferring to chars and not pointers, -Otto > > fritjof > > > Index: diff3.c >

Re: fuck you pkg.conf

2014-11-29 Thread Mark Kettenis
> Date: Sat, 29 Nov 2014 09:27:51 -0500 > From: Ted Unangst > > On Sat, Nov 29, 2014 at 14:02, Antoine Jacoutot wrote: > >> But that said, why does your pkg.conf keep returning? I don't have one on > >> my laptop at all, I probably removed it once after installing, but it > > > > It returns each

Re: fuck you pkg.conf

2014-11-29 Thread Ted Unangst
On Sat, Nov 29, 2014 at 14:02, Antoine Jacoutot wrote: >> But that said, why does your pkg.conf keep returning? I don't have one on >> my laptop at all, I probably removed it once after installing, but it > > It returns each time I upgrade using bsd.rd. > This seems like a mistake. I like that t

Re: [patch]rcs: comment typo

2014-11-29 Thread Fritjof Bornebusch
On Sat, Nov 29, 2014 at 05:27:00AM -0800, Claus Assmann wrote: > On Sat, Nov 29, 2014, Fritjof Bornebusch wrote: > > > it's NULL not NUL. > > Not in this case... > > NULL: is a pointer (usually 0) > NUL: is a character ('\0') > Ahh I see, thank you. pgpMkIwf4S_cz.pgp Description: PGP signat

Re: 64-bit PCI bridge support: testers needed

2014-11-29 Thread Jiri Navratil
Can this be realted to load, which is very high? Jiri 28. 11. 2014 v 16:12, sven falempin : > There is no direct relation with the commit, but i will anyway report > the test result on my problematic hardware. > The behavior is mostly the same, but now is > spammed by the kernel. > > As you ca

Re: [patch]rcs: comment typo

2014-11-29 Thread Claus Assmann
On Sat, Nov 29, 2014, Fritjof Bornebusch wrote: > it's NULL not NUL. Not in this case... NULL: is a pointer (usually 0) NUL: is a character ('\0')

[patch]rcs: comment typo

2014-11-29 Thread Fritjof Bornebusch
Hi tech, it's NULL not NUL. fritjof Index: diff3.c === RCS file: /cvs/src/usr.bin/rcs/diff3.c,v retrieving revision 1.33 diff -u -p -r1.33 diff3.c --- diff3.c 4 Mar 2012 04:05:15 - 1.33 +++ diff3.c 29 Nov 2014 13:

Re: fuck you pkg.conf

2014-11-29 Thread Antoine Jacoutot
> But that said, why does your pkg.conf keep returning? I don't have one on > my laptop at all, I probably removed it once after installing, but it It returns each time I upgrade using bsd.rd. -- Antoine

Re: fuck you pkg.conf

2014-11-29 Thread Stuart Henderson
On 2014/11/29 12:07, Antoine Jacoutot wrote: > Hi. > > So. Each time pkg_add runs, it tries to connect to either PKG_PATH or to > installpath from pkg.conf to fetch quirks (I assume). > When you have no network anymore (moving around with your laptop or > whatever), and you want to install a loc

Re: fuck you pkg.conf

2014-11-29 Thread Nigel Taylor
On 11/29/14 11:07, Antoine Jacoutot wrote: > Hi. > > So. Each time pkg_add runs, it tries to connect to either PKG_PATH or > to installpath from pkg.conf to fetch quirks (I assume). When you > have no network anymore (moving around with your laptop or whatever), > and you want to install a local p

fuck you pkg.conf

2014-11-29 Thread Antoine Jacoutot
Hi. So. Each time pkg_add runs, it tries to connect to either PKG_PATH or to installpath from pkg.conf to fetch quirks (I assume). When you have no network anymore (moving around with your laptop or whatever), and you want to install a local package, you're basically fucked: $ time sudo pkg_add