svn commit: r226184 - head/usr.bin/gzip

2011-10-09 Thread Xin LI
ixes_t suffixes[] = { #define NUM_SUFFIXES (sizeof suffixes / sizeof suffixes[0]) #define SUFFIX_MAXLEN 30 -static const char gzip_version[] = "FreeBSD gzip 20110523"; +static const char gzip_version[] = "FreeBSD gzip 20111009"; #ifndef SMALL static const char

svn commit: r226183 - head/sys/teken

2011-10-09 Thread Ed Schouten
Author: ed Date: Mon Oct 10 06:13:27 2011 New Revision: 226183 URL: http://svn.freebsd.org/changeset/base/226183 Log: Properly use the cursor to bound the position for CUP. We must take the origin region into account when clamping the cursor position. MFC after:3 days Modified:

Re: svn commit: r225947 - head/sys/netinet

2011-10-09 Thread Gleb Smirnoff
On Sun, Oct 09, 2011 at 10:11:56PM -0700, Qing Li wrote: Q> >  What confuses me most, is that in lines 1435-1445 you are Q> > assigning error to a positive value, BUT proceeding further Q> > with function. Q> Q>This is what was there before (meaning returning error immediately), Q>but I gu

Re: svn commit: r226164 - head/usr.bin/kdump

2011-10-09 Thread Bruce Evans
On Sat, 8 Oct 2011, Dag-Erling Smorgrav wrote: Author: des Date: Sat Oct 8 21:02:08 2011 New Revision: 226164 URL: http://svn.freebsd.org/changeset/base/226164 Log: Address some of bde@'s concerns with the new code. Thanks. Bruce ___ svn-src-all@

Re: svn commit: r225947 - head/sys/netinet

2011-10-09 Thread Qing Li
Hi Gleb, > > On Mon, Oct 03, 2011 at 07:51:19PM +, Qing Li wrote: > Q> Author: qingli > Q> Date: Mon Oct  3 19:51:18 2011 > Q> New Revision: 225947 > Q> URL: http://svn.freebsd.org/changeset/base/225947 > Q> > Q> Log: > Q>   A system may have multiple physical interfaces, all of which are on t

svn commit: r226182 - head/sys/dev/bwi

2011-10-09 Thread Adrian Chadd
Author: adrian Date: Mon Oct 10 02:54:58 2011 New Revision: 226182 URL: http://svn.freebsd.org/changeset/base/226182 Log: Fix an incorrect use of sizeof(). Obtained from:OpenBSD sys/dev/ic/bwi.c r1.87 Modified: head/sys/dev/bwi/bwiphy.c Modified: head/sys/dev/bwi/bwiphy.c ==

svn commit: r226181 - head/sys/dev/bwi

2011-10-09 Thread Adrian Chadd
Author: adrian Date: Mon Oct 10 02:49:21 2011 New Revision: 226181 URL: http://svn.freebsd.org/changeset/base/226181 Log: Update from OpenBSD: Include 0x4402 in the bbp id mapping table used on older devices. http://bcm-specs.sipsolutions.net/BackPlane agrees. Obtained from:Op

svn commit: r226179 - in head: sbin/atacontrol sys/dev/ata usr.sbin/burncd

2011-10-09 Thread Craig Rodrigues
Author: rodrigc Date: Sun Oct 9 21:42:02 2011 New Revision: 226179 URL: http://svn.freebsd.org/changeset/base/226179 Log: Add a "kern.features.ata_cam" sysctl in the kernel when the ATA_CAM kernel option is defined. This sysctl can be queried by feature_present(3). Query for this featur

svn commit: r226176 - head/sys/dev/iwn

2011-10-09 Thread Marius Strobl
Author: marius Date: Sun Oct 9 21:36:14 2011 New Revision: 226176 URL: http://svn.freebsd.org/changeset/base/226176 Log: Recognize the Intel(R) Centrino(R) Wireless-N 130. PR: 161162 Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

svn commit: r226175 - head/sys/kern

2011-10-09 Thread Marius Strobl
Author: marius Date: Sun Oct 9 21:21:37 2011 New Revision: 226175 URL: http://svn.freebsd.org/changeset/base/226175 Log: In device_get_children() avoid malloc(0) in order to increase portability to other operating systems. PR: 154287 Modified: head/sys/kern/subr_bus.c Modified: h

svn commit: r226173 - head/sys/dev/stge

2011-10-09 Thread Marius Strobl
Author: marius Date: Sun Oct 9 20:27:20 2011 New Revision: 226173 URL: http://svn.freebsd.org/changeset/base/226173 Log: Prefer KOBJMETHOD_END. Modified: head/sys/dev/stge/if_stge.c Modified: head/sys/dev/stge/if_stge.c ===

svn commit: r226172 - head/share/man/man7

2011-10-09 Thread Glen Barber
Author: gjb (doc committer) Date: Sun Oct 9 20:21:07 2011 New Revision: 226172 URL: http://svn.freebsd.org/changeset/base/226172 Log: Bump .Dd to reflect the date of the last content change, so MFC content makes sense. Pointy-hat to:gjb (myself) Modified: head/share/ma

svn commit: r226171 - head/sys/dev/vr

2011-10-09 Thread Marius Strobl
Author: marius Date: Sun Oct 9 20:16:51 2011 New Revision: 226171 URL: http://svn.freebsd.org/changeset/base/226171 Log: Sprinkle const. Modified: head/sys/dev/vr/if_vr.c Modified: head/sys/dev/vr/if_vr.c == --- hea

Re: svn commit: r225947 - head/sys/netinet

2011-10-09 Thread Gleb Smirnoff
Qing, [cced Bjoern as reviewer] On Mon, Oct 03, 2011 at 07:51:19PM +, Qing Li wrote: Q> Author: qingli Q> Date: Mon Oct 3 19:51:18 2011 Q> New Revision: 225947 Q> URL: http://svn.freebsd.org/changeset/base/225947 Q> Q> Log: Q> A system may have multiple physical interfaces, all of whi

Re: svn commit: r226162 - head/share/mk

2011-10-09 Thread Garrett Cooper
On Sat, Oct 8, 2011 at 11:25 AM, Chris Rees wrote: > Author: crees (ports committer) > Date: Sat Oct  8 18:25:01 2011 > New Revision: 226162 > URL: http://svn.freebsd.org/changeset/base/226162 > > Log: >  Revert unapproved commit to bsd.port.mk. > >  This would have had more discussion, but it was

svn commit: r226170 - in head/release: amd64 i386

2011-10-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 9 16:23:04 2011 New Revision: 226170 URL: http://svn.freebsd.org/changeset/base/226170 Log: Use UFS labels and bsdlabels (like the 8.x memsticks) instead of GPT to fix problems with some BIOSes. MFC after:3 days Modified: head/release/amd64/make-me

svn commit: r226169 - in head/usr.sbin/makefs: . ffs

2011-10-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 9 16:22:31 2011 New Revision: 226169 URL: http://svn.freebsd.org/changeset/base/226169 Log: Add support to makefs(8) to add UFS labels to images. Submitted by: avg MFC after:3 days Modified: head/usr.sbin/makefs/ffs.c head/usr.sbin/makefs/ffs.h

svn commit: r226168 - head/sys/netinet

2011-10-09 Thread Michael Tuexen
Author: tuexen Date: Sun Oct 9 14:12:17 2011 New Revision: 226168 URL: http://svn.freebsd.org/changeset/base/226168 Log: Update the inp stored in a HB-timer when moving an stcb to a new inp. Use only this stored inp when processing a HB timeout. This fixes a bug which results in a crash.

Re: svn commit: r225586 - in head/sys: modules/netgraph/ipfw netgraph

2011-10-09 Thread Gleb Smirnoff
On Sun, Oct 09, 2011 at 03:53:44PM +0400, Alexander V. Chernikov wrote: A> Understood. So can we use more descriptive ENOENT in code below? A> A> tag = m_tag_locate(m, MTAG_IPFW_RULE, 0, NULL); A> if (tag == NULL) { A> NG_FREE_M(m); A> return (EINVAL

Re: svn commit: r225586 - in head/sys: modules/netgraph/ipfw netgraph

2011-10-09 Thread Alexander V. Chernikov
Gleb Smirnoff wrote: > Alexander, Andrey, > > see a couple of comments below please. ... > A> + if (m->m_len < sizeof(struct ip) && > A> + (m = m_pullup(m, sizeof(struct ip))) == NULL) > A> + return (EINVAL); > > In most cases we return ENOBUFS in case if m_pullup() failure. Le

svn commit: r226167 - head/lib/libc/sys

2011-10-09 Thread Dag-Erling Smorgrav
Author: des Date: Sun Oct 9 10:58:58 2011 New Revision: 226167 URL: http://svn.freebsd.org/changeset/base/226167 Log: Line up the struct declaration (yes, I know this isn't what it looks like in the header file) Modified: head/lib/libc/sys/ktrace.2 Modified: head/lib/libc/sys/ktrace.2 ===

svn commit: r226166 - head/lib/libc/sys

2011-10-09 Thread Dag-Erling Smorgrav
Author: des Date: Sun Oct 9 10:55:15 2011 New Revision: 226166 URL: http://svn.freebsd.org/changeset/base/226166 Log: Document some not-so-recently added trace points. MFC after:1 week Modified: head/lib/libc/sys/ktrace.2 Modified: head/lib/libc/sys/ktrace.2 ===

Re: svn commit: r226113 - head/sys/netinet

2011-10-09 Thread Andre Oppermann
Hi Lawrence, Sorry for jumping in here. There was some urgency felt at EuroBSDCon to get this issue fixed before the next RC. -- Andre On 08.10.2011 02:56, Lawrence Stewart wrote: Hi Andre and RE team, I've had a patch sitting in re@'s inbox for this problem since 15th Sep and have been wait

Re: svn commit: r225617 - in head/sys: amd64/amd64 amd64/linux32 arm/arm cddl/contrib/opensolaris/uts/common/dtrace cddl/contrib/opensolaris/uts/sparc/dtrace compat/freebsd32 compat/linux compat/svr4

2011-10-09 Thread K. Macy
Will do - sorry for the delay. Thanks, Kip On Wed, Oct 5, 2011 at 6:17 PM, David O'Brien wrote: > On Fri, Sep 16, 2011 at 01:58:51PM +, Kip Macy wrote: >> Author: kmacy >> Date: Fri Sep 16 13:58:51 2011 >> New Revision: 225617 >> Log: >>   In order to maximize the re-usability of kernel code

Re: svn commit: r225868 - head/bin/ps

2011-10-09 Thread Alexander Best
On Sun Oct 9 11, Ed Schouten wrote: > * Alexander Best , 20111009 03:11: > > is this what you had in mind? > > Yes, exactly. :-) here you are. ;) > > -- > Ed Schouten > WWW: http://80386.nl/ diff --git a/bin/ps/print.c b/bin/ps/print.c index 45c7823..021415f

Re: svn commit: r225868 - head/bin/ps

2011-10-09 Thread Ed Schouten
* Alexander Best , 20111009 03:11: > is this what you had in mind? Yes, exactly. :-) -- Ed Schouten WWW: http://80386.nl/ pgptTl7zhhxGR.pgp Description: PGP signature