svn commit: r226245 - head/lib/msun/src

2011-10-10 Thread David Schultz
Author: das Date: Tue Oct 11 05:17:45 2011 New Revision: 226245 URL: http://svn.freebsd.org/changeset/base/226245 Log: Refactor this code by introducing separate functions to handle the extra-precision add and multiply operations. This simplifies future work but shouldn't result in any funct

svn commit: r226244 - head/share/mk

2011-10-10 Thread David Schultz
Author: das Date: Tue Oct 11 05:17:26 2011 New Revision: 226244 URL: http://svn.freebsd.org/changeset/base/226244 Log: Also pass the -ansi flag through to mkdep (requested by bde), and fix a cut-and-paste-o (noticed by rdivacky). Modified: head/share/mk/bsd.dep.mk Modified: head/share/mk/b

svn commit: r226242 - head/tools/tools/nanobsd/gateworks

2011-10-10 Thread Andrew Thompson
Author: thompsa Date: Tue Oct 11 01:11:57 2011 New Revision: 226242 URL: http://svn.freebsd.org/changeset/base/226242 Log: Fix build after TARGET_BIG_ENDIAN was nuked from orbit. Modified: head/tools/tools/nanobsd/gateworks/common Modified: head/tools/tools/nanobsd/gateworks/common =

svn commit: r226234 - head/sys/fs/unionfs

2011-10-10 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Oct 10 21:32:08 2011 New Revision: 226234 URL: http://svn.freebsd.org/changeset/base/226234 Log: Make unionfs also clear VAPPEND when clearing VWRITE, since VAPPEND is just a modifier for VWRITE. Submitted by: rmacklem Modified: head/sys/fs/unionfs/union_vnops.c

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

2011-10-10 Thread Xin LI
On Mon, Oct 10, 2011 at 12:40 PM, Doug Barton wrote: > On 10/09/2011 23:37, Xin LI wrote: >> Log: >>   Incorporate recent changes from NetBSD.  Most notable change is the >> addition >>   of support of decompressing xz files. > > Why? Don't we already have xz in the base? zless and friends rely

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

2011-10-10 Thread Qing Li
MFC 225946 is the original patch, 225947 messed up the logic a bit while putting in the fix for another issue. 226224 is the fix to 225947, which I will MFC tomorrow. --Qing 2011/10/10 Gleb Smirnoff : >  Qing, > > On Mon, Oct 10, 2011 at 05:41:11PM +, Qing Li wrote: > Q> Author: qingli > Q>

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

2011-10-10 Thread Xin LI
On Mon, Oct 10, 2011 at 1:10 PM, Doug Barton wrote: > On 10/10/2011 13:05, Xin LI wrote: >> On Mon, Oct 10, 2011 at 12:40 PM, Doug Barton wrote: >>> On 10/09/2011 23:37, Xin LI wrote: Log:   Incorporate recent changes from NetBSD.  Most notable change is the addition   of sup

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

2011-10-10 Thread Gleb Smirnoff
Qing, On Mon, Oct 10, 2011 at 05:41:11PM +, Qing Li wrote: Q> Author: qingli Q> Date: Mon Oct 10 17:41:11 2011 Q> New Revision: 226224 Q> URL: http://svn.freebsd.org/changeset/base/226224 Q> Q> Log: Q> All indirect routes will fail the rtcheck, except for a special host Q> route where t

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

2011-10-10 Thread Doug Barton
On 10/10/2011 13:05, Xin LI wrote: > On Mon, Oct 10, 2011 at 12:40 PM, Doug Barton wrote: >> On 10/09/2011 23:37, Xin LI wrote: >>> Log: >>> Incorporate recent changes from NetBSD. Most notable change is the >>> addition >>> of support of decompressing xz files. >> >> Why? Don't we already h

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

2011-10-10 Thread Doug Barton
On 10/09/2011 23:37, Xin LI wrote: > Log: > Incorporate recent changes from NetBSD. Most notable change is the addition > of support of decompressing xz files. Why? Don't we already have xz in the base? -- Nothin' ever doesn't change, but nothin' changes much.

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

2011-10-10 Thread Roman Divacky
On Mon, Oct 10, 2011 at 03:39:29PM +, David Schultz wrote: > Author: das > Date: Mon Oct 10 15:39:29 2011 > New Revision: 226216 > URL: http://svn.freebsd.org/changeset/base/226216 > > Log: > Pass -std= flags in CFLAGS to mkdep. Without this, preprocessor tests > for particular compiler fe

svn commit: r226224 - head/sys/netinet

2011-10-10 Thread Qing Li
Author: qingli Date: Mon Oct 10 17:41:11 2011 New Revision: 226224 URL: http://svn.freebsd.org/changeset/base/226224 Log: All indirect routes will fail the rtcheck, except for a special host route where the destination IP and the gateway IP is the same. This special case handling is only mea

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

2011-10-10 Thread Bruce Evans
On Mon, 10 Oct 2011, David Schultz wrote: Log: Pass -std= flags in CFLAGS to mkdep. Without this, preprocessor tests for particular compiler features might be evaluated differently by mkdep than they would be by cc. Same with -ansi and -pedantic and any other spellings of -std=. Bruce

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

2011-10-10 Thread Bjoern A. Zeeb
On 10. Oct 2011, at 08:44 , Qing Li wrote: Hey, > Okay, now I know what's confusing you ... it's that bug I introduced :-) > > The 2nd "if()" check on the RTF_GATEWAY flag should have been > an "else if()". > > In a nutshell, the logic is any indirect route should fail the check, > except for t

svn commit: r226222 - head/sys/netinet

2011-10-10 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 10 16:31:18 2011 New Revision: 226222 URL: http://svn.freebsd.org/changeset/base/226222 Log: Get struct sctp_net_route in tune with struct route. struct route was changed in http://svn.freebsd.org/changeset/base/225698 and since then SCTP support was broken.

svn commit: r226221 - in head/sys/dev/usb: . quirk

2011-10-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 10 16:26:06 2011 New Revision: 226221 URL: http://svn.freebsd.org/changeset/base/226221 Log: Add USB mass storage quirk for device that emits errors after the automatic no synchronize cache detection. Submitted by: Scott Allendorf MFC after:3 days Mod

svn commit: r226220 - head/lib/libusb

2011-10-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 10 16:13:33 2011 New Revision: 226220 URL: http://svn.freebsd.org/changeset/base/226220 Log: Fix how libusb20_dev_kernel_driver_active() and libusb_dev_kernel_driver_active() works. In case of libusb20 the manpage was wrong and in case of libusb10 the impleme

svn commit: r226219 - head/sys/dev/usb/serial

2011-10-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 10 15:54:44 2011 New Revision: 226219 URL: http://svn.freebsd.org/changeset/base/226219 Log: Bugfix: The ucom detach function is sometimes called on zeroed structures. Check for this case and just return, so that the UCOM unit number zero is not accidentially f

svn commit: r226218 - in head/lib/msun: . amd64 arm i387 ia64 mips powerpc sparc64

2011-10-10 Thread David Schultz
Author: das Date: Mon Oct 10 15:43:09 2011 New Revision: 226218 URL: http://svn.freebsd.org/changeset/base/226218 Log: Provide external definitions of all of the standardized functions in fenv.h that are currently inlined. The definitions are provided in fenv.c via 'extern inline' decla

svn commit: r226217 - head/lib/libc

2011-10-10 Thread David Schultz
Author: das Date: Mon Oct 10 15:42:33 2011 New Revision: 226217 URL: http://svn.freebsd.org/changeset/base/226217 Log: Add a FBSD_1.3 namespace for FreeBSD 10. Modified: head/lib/libc/Versions.def Modified: head/lib/libc/Versions.def ==

svn commit: r226216 - head/share/mk

2011-10-10 Thread David Schultz
Author: das Date: Mon Oct 10 15:39:29 2011 New Revision: 226216 URL: http://svn.freebsd.org/changeset/base/226216 Log: Pass -std= flags in CFLAGS to mkdep. Without this, preprocessor tests for particular compiler features might be evaluated differently by mkdep than they would be by cc. Mod

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

2011-10-10 Thread Jaakko Heinonen
Hi, On 2011-10-08, Dag-Erling Smorgrav wrote: > Fix casting. > > Modified: head/usr.bin/kdump/kdump.c > == > --- head/usr.bin/kdump/kdump.cSat Oct 8 12:10:16 2011 > (r226150) > +++ head/usr.bin/kdump/k

svn commit: r226208 - head/sys/dev/iscsi/initiator

2011-10-10 Thread Konstantin Belousov
Author: kib Date: Mon Oct 10 13:26:53 2011 New Revision: 226208 URL: http://svn.freebsd.org/changeset/base/226208 Log: Do not ignore block offsets. PR: kern/160943 Submitted by: Craig Boston Reviewed by: Danny Braniss MFC after:1 week Modified: head/sys/dev/iscsi/initiator

svn commit: r226203 - head/sys/netinet

2011-10-10 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 10 12:28:47 2011 New Revision: 226203 URL: http://svn.freebsd.org/changeset/base/226203 Log: When moving an stcb to a new inp and we copy over the list of bound addresses, update the last used address pointer. If not, it might result in a crash if the old inp goe

svn commit: r226186 - head/sys/netgraph

2011-10-10 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Oct 10 09:33:07 2011 New Revision: 226186 URL: http://svn.freebsd.org/changeset/base/226186 Log: Free mbuf in case when protocol in unknown in ng_ipfw_rcvdata(). This change fixes (theoretically) possible mbuf leak introduced in r225586. Reorder code a bit and chan

svn commit: r226185 - head/sys/kgssapi/krb5

2011-10-10 Thread Christian Brueffer
Author: brueffer Date: Mon Oct 10 09:13:07 2011 New Revision: 226185 URL: http://svn.freebsd.org/changeset/base/226185 Log: Add missing break statement to make sure all 3DES etypes really are treated the same. CID: 3624 Found with: Coverity Prevent(tm) Reviewed by: dfr M

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

2011-10-10 Thread Qing Li
Okay, now I know what's confusing you ... it's that bug I introduced :-) The 2nd "if()" check on the RTF_GATEWAY flag should have been an "else if()". In a nutshell, the logic is any indirect route should fail the check, except for that special host route. Attached is the rework of that part of