svn commit: r298253 - head/usr.bin/units

2016-04-18 Thread Eitan Adler
Author: eadler Date: Tue Apr 19 05:17:59 2016 New Revision: 298253 URL: https://svnweb.freebsd.org/changeset/base/298253 Log: Rename units.lib -> definitions.units - this matches GNU units 2.12 add ISO country codes from units 2.12 Added: head/usr.bin/units/definitions.units -

svn commit: r298254 - head

2016-04-18 Thread Eitan Adler
Author: eadler Date: Tue Apr 19 05:18:12 2016 New Revision: 298254 URL: https://svnweb.freebsd.org/changeset/base/298254 Log: Rename units.lib -> definitions.units - this matches GNU units 2.12 add ISO country codes from units 2.12 Modified: head/ObsoleteFiles.inc Modified:

svn commit: r298252 - head/sbin/ifconfig

2016-04-18 Thread Adrian Chadd
Author: adrian Date: Tue Apr 19 05:17:43 2016 New Revision: 298252 URL: https://svnweb.freebsd.org/changeset/base/298252 Log: Add VHT power envelope parsing to ifconfig. Modified: head/sbin/ifconfig/ifieee80211.c Modified: head/sbin/ifconfig/ifieee80211.c

svn commit: r298251 - head/usr.bin/units

2016-04-18 Thread Eitan Adler
Author: eadler Date: Tue Apr 19 05:04:39 2016 New Revision: 298251 URL: https://svnweb.freebsd.org/changeset/base/298251 Log: Remove pathnames.h - it only holds a single constant - it doesn't exist in the GNU variant Deleted: head/usr.bin/units/pathnames.h Modified:

Re: svn commit: r298244 - head/sbin/dumpon

2016-04-18 Thread Marcelo Araujo
2016-04-19 12:58 GMT+08:00 Pedro Giffuni : > > > On 04/18/16 23:28, Marcelo Araujo wrote: > >> Author: araujo >> Date: Tue Apr 19 04:28:25 2016 >> New Revision: 298244 >> URL: https://svnweb.freebsd.org/changeset/base/298244 >> >> Log: >> Use nitems() instead of sizeof(name) /

Re: svn commit: r298244 - head/sbin/dumpon

2016-04-18 Thread Pedro Giffuni
On 04/18/16 23:28, Marcelo Araujo wrote: Author: araujo Date: Tue Apr 19 04:28:25 2016 New Revision: 298244 URL: https://svnweb.freebsd.org/changeset/base/298244 Log: Use nitems() instead of sizeof(name) / sizeof(*name). MFC after:2 weeks. FWIW, while I see why it makes sense to

svn commit: r298250 - in head/sbin: newfs_msdos newfs_nandfs

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 04:57:57 2016 New Revision: 298250 URL: https://svnweb.freebsd.org/changeset/base/298250 Log: Use nitems() from sys/param.h. MFC after:2 weeks. Modified: head/sbin/newfs_msdos/mkfs_msdos.c head/sbin/newfs_nandfs/newfs_nandfs.c Modified:

svn commit: r298249 - head/sbin/kldload

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 04:52:51 2016 New Revision: 298249 URL: https://svnweb.freebsd.org/changeset/base/298249 Log: Use nitems() from sys/param.h. MFC after:2 weeks. Modified: head/sbin/kldload/kldload.c Modified: head/sbin/kldload/kldload.c

svn commit: r298248 - head/sbin/kldconfig

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 04:52:13 2016 New Revision: 298248 URL: https://svnweb.freebsd.org/changeset/base/298248 Log: Use nitems() from sys/param.h. MFC after:2 weeks. Modified: head/sbin/kldconfig/kldconfig.c Modified: head/sbin/kldconfig/kldconfig.c

svn commit: r298247 - head/sbin/fdisk_pc98

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 04:46:13 2016 New Revision: 298247 URL: https://svnweb.freebsd.org/changeset/base/298247 Log: Remove redundant parenthesis. Submitted by: pfg MFC after:2 weeks. Modified: head/sbin/fdisk_pc98/fdisk.c Modified: head/sbin/fdisk_pc98/fdisk.c

svn commit: r298246 - head/sbin/ifconfig

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 04:42:34 2016 New Revision: 298246 URL: https://svnweb.freebsd.org/changeset/base/298246 Log: Use nitems() from sys/param.h. MFC after:2 weeks. Modified: head/sbin/ifconfig/ifbridge.c head/sbin/ifconfig/iflagg.c Modified:

svn commit: r298245 - head/sbin/fdisk_pc98

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 04:37:17 2016 New Revision: 298245 URL: https://svnweb.freebsd.org/changeset/base/298245 Log: Use nitems() from sys/param.h. MFC after:2 weeks. Modified: head/sbin/fdisk_pc98/fdisk.c Modified: head/sbin/fdisk_pc98/fdisk.c

svn commit: r298244 - head/sbin/dumpon

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 04:28:25 2016 New Revision: 298244 URL: https://svnweb.freebsd.org/changeset/base/298244 Log: Use nitems() instead of sizeof(name) / sizeof(*name). MFC after:2 weeks. Modified: head/sbin/dumpon/dumpon.c Modified: head/sbin/dumpon/dumpon.c

Re: svn commit: r298204 - in head: lib/libdwarf lib/libelf lib/libelftc usr.bin/addr2line usr.bin/cxxfilt usr.bin/elfcopy usr.bin/nm usr.bin/readelf usr.bin/size usr.bin/strings

2016-04-18 Thread Ngie Cooper (yaneurabeya)
> On Apr 18, 2016, at 20:43, Julian Elischer wrote: > > On 18/04/2016 9:13 PM, Ed Maste wrote: >> Author: emaste >> Date: Mon Apr 18 13:13:59 2016 >> New Revision: 298204 >> URL: https://svnweb.freebsd.org/changeset/base/298204 >> >> Log: >> Replace ${CURDIR}/../.. with

Re: svn commit: r298204 - in head: lib/libdwarf lib/libelf lib/libelftc usr.bin/addr2line usr.bin/cxxfilt usr.bin/elfcopy usr.bin/nm usr.bin/readelf usr.bin/size usr.bin/strings

2016-04-18 Thread Julian Elischer
On 18/04/2016 9:13 PM, Ed Maste wrote: Author: emaste Date: Mon Apr 18 13:13:59 2016 New Revision: 298204 URL: https://svnweb.freebsd.org/changeset/base/298204 Log: Replace ${CURDIR}/../.. with ${CURDIR:H:H} in elftoolchain and if the last component is '..' ? What our FreeBSD lacks are the

Re: svn commit: r298230 - in head: lib/libstand sys/boot/common sys/boot/efi/libefi sys/boot/efi/loader sys/boot/i386/libfirewire sys/boot/i386/libi386 sys/boot/i386/loader sys/boot/mips/beri/loader s

2016-04-18 Thread Devin Teske
> On Apr 18, 2016, at 6:37 PM, Allan Jude wrote: > > On 2016-04-18 21:32, Devin Teske wrote: >> >>> On Apr 18, 2016, at 6:06 PM, Pedro Giffuni wrote: >>> >>> >>> >>> On 04/18/16 19:30, Devin Teske wrote: > On Apr 18, 2016, at 4:43

Re: svn commit: r298241 - head/usr.bin/lex

2016-04-18 Thread Pedro Giffuni
No need.. it's done already.. I think. On 04/18/16 21:39, Marcelo Araujo wrote: Ok, gonna revert this commit! Thanks, On Apr 19, 2016 10:15 AM, "Pedro Giffuni" > wrote: On 04/18/16 21:05, Marcelo Araujo wrote: Author: araujo

Re: svn commit: r298241 - head/usr.bin/lex

2016-04-18 Thread Marcelo Araujo
Ok, gonna revert this commit! Thanks, On Apr 19, 2016 10:15 AM, "Pedro Giffuni" wrote: > > > On 04/18/16 21:05, Marcelo Araujo wrote: > >> Author: araujo >> Date: Tue Apr 19 02:05:32 2016 >> New Revision: 298241 >> URL: https://svnweb.freebsd.org/changeset/base/298241 >> >>

Re: svn commit: r298241 - head/usr.bin/lex

2016-04-18 Thread Pedro Giffuni
On 04/18/16 21:05, Marcelo Araujo wrote: Author: araujo Date: Tue Apr 19 02:05:32 2016 New Revision: 298241 URL: https://svnweb.freebsd.org/changeset/base/298241 Log: Use NULL instead of 0 for pointers. realloc will return NULL in case it cannot allocate memory. MFC after: 2

svn commit: r298242 - head/lib/libstand

2016-04-18 Thread Allan Jude
Author: allanjude Date: Tue Apr 19 02:06:02 2016 New Revision: 298242 URL: https://svnweb.freebsd.org/changeset/base/298242 Log: Unbreak the build if you enable WITH_NAND Followup to r298230 Submitted by: Nikolai Lifanov (original version) Sponsored by:

svn commit: r298241 - head/usr.bin/lex

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 02:05:32 2016 New Revision: 298241 URL: https://svnweb.freebsd.org/changeset/base/298241 Log: Use NULL instead of 0 for pointers. realloc will return NULL in case it cannot allocate memory. MFC after:2 weeks. Modified:

svn commit: r298240 - head/sbin/restore

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 02:00:48 2016 New Revision: 298240 URL: https://svnweb.freebsd.org/changeset/base/298240 Log: malloc will return NULL if it cannot allocate memory. MFC after:2 weeks. Modified: head/sbin/restore/dirs.c Modified: head/sbin/restore/dirs.c

svn commit: r298239 - head/sbin/quotacheck

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 01:59:26 2016 New Revision: 298239 URL: https://svnweb.freebsd.org/changeset/base/298239 Log: getfsent(3) will return NULL on EOF or error. MFC after:2 weeks. Modified: head/sbin/quotacheck/preen.c Modified: head/sbin/quotacheck/preen.c

svn commit: r298238 - head/sbin/ping6

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 01:57:56 2016 New Revision: 298238 URL: https://svnweb.freebsd.org/changeset/base/298238 Log: Use NULL instead of 0 for pointers. malloc will return NULL if it cannot allocate memory. MFC after:2 weeks. Modified: head/sbin/ping6/ping6.c

svn commit: r298237 - in head/sys: dev/dpaa powerpc/booke powerpc/include powerpc/mpc85xx powerpc/powerpc

2016-04-18 Thread Justin Hibbits
Author: jhibbits Date: Tue Apr 19 01:48:18 2016 New Revision: 298237 URL: https://svnweb.freebsd.org/changeset/base/298237 Log: Fix SMP booting for PowerPC Book-E Summary: PowerPC Book-E SMP is currently broken for unknown reasons. Pull in Semihalf changes made c2012 for e500mc/e5500,

Re: svn commit: r298230 - in head: lib/libstand sys/boot/common sys/boot/efi/libefi sys/boot/efi/loader sys/boot/i386/libfirewire sys/boot/i386/libi386 sys/boot/i386/loader sys/boot/mips/beri/loader s

2016-04-18 Thread Allan Jude
On 2016-04-18 21:32, Devin Teske wrote: > >> On Apr 18, 2016, at 6:06 PM, Pedro Giffuni wrote: >> >> >> >> On 04/18/16 19:30, Devin Teske wrote: >>> >>> On Apr 18, 2016, at 4:43 PM, Allan Jude > wrote: On

Re: svn commit: r298230 - in head: lib/libstand sys/boot/common sys/boot/efi/libefi sys/boot/efi/loader sys/boot/i386/libfirewire sys/boot/i386/libi386 sys/boot/i386/loader sys/boot/mips/beri/loader s

2016-04-18 Thread Devin Teske
> On Apr 18, 2016, at 6:06 PM, Pedro Giffuni wrote: > > > > On 04/18/16 19:30, Devin Teske wrote: >> >> >>> On Apr 18, 2016, at 4:43 PM, Allan Jude >> > wrote: >>> >>> On 2016-04-18 19:36, Adrian Chadd wrote:

svn commit: r298236 - head/sbin/init

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 01:25:35 2016 New Revision: 298236 URL: https://svnweb.freebsd.org/changeset/base/298236 Log: Use NULL instead of 0 for pointers. dbopen(3) will returns a NULL on error. MFC after:2 weeks. Modified: head/sbin/init/init.c Modified:

Re: svn commit: r298230 - in head: lib/libstand sys/boot/common sys/boot/efi/libefi sys/boot/efi/loader sys/boot/i386/libfirewire sys/boot/i386/libi386 sys/boot/i386/loader sys/boot/mips/beri/loader s

2016-04-18 Thread Pedro Giffuni
On 04/18/16 19:30, Devin Teske wrote: On Apr 18, 2016, at 4:43 PM, Allan Jude > wrote: On 2016-04-18 19:36, Adrian Chadd wrote: Someone pointed out how this bloats out memory requirement in loader. Did anyone check that? -adrian I

svn commit: r298235 - head/sbin/dump

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 01:01:22 2016 New Revision: 298235 URL: https://svnweb.freebsd.org/changeset/base/298235 Log: Use NULL instead of 0. malloc will return NULL in case it cannot allocate memory. MFC after:2 weeks. Modified: head/sbin/dump/traverse.c Modified:

svn commit: r298234 - head/sbin/atm/atmconfig

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 00:59:15 2016 New Revision: 298234 URL: https://svnweb.freebsd.org/changeset/base/298234 Log: Use NULL for pointers instead of 0. MFC after:2 weeks. Modified: head/sbin/atm/atmconfig/natm.c Modified: head/sbin/atm/atmconfig/natm.c

svn commit: r298233 - head/bin/ps

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 00:40:43 2016 New Revision: 298233 URL: https://svnweb.freebsd.org/changeset/base/298233 Log: Use NULL instead of 0 for pointers. kvm_open(3) will return NULL when it cannot access kernel virtual memory. MFC after:2 weeks. Modified:

svn commit: r298232 - head/bin/test

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 19 00:38:07 2016 New Revision: 298232 URL: https://svnweb.freebsd.org/changeset/base/298232 Log: Use NULL for pointers instead of 0. MFC after:2 weeks. Modified: head/bin/test/test.c Modified: head/bin/test/test.c

Re: svn commit: r298230 - in head: lib/libstand sys/boot/common sys/boot/efi/libefi sys/boot/efi/loader sys/boot/i386/libfirewire sys/boot/i386/libi386 sys/boot/i386/loader sys/boot/mips/beri/loader s

2016-04-18 Thread Devin Teske
> On Apr 18, 2016, at 4:43 PM, Allan Jude wrote: > > On 2016-04-18 19:36, Adrian Chadd wrote: >> Someone pointed out how this bloats out memory requirement in loader. >> >> Did anyone check that? >> >> -adrian >> > > I tested down to 128mb of ram in QEMU, booted from

Re: svn commit: r298230 - in head: lib/libstand sys/boot/common sys/boot/efi/libefi sys/boot/efi/loader sys/boot/i386/libfirewire sys/boot/i386/libi386 sys/boot/i386/loader sys/boot/mips/beri/loader s

2016-04-18 Thread Allan Jude
On 2016-04-18 19:36, Adrian Chadd wrote: Someone pointed out how this bloats out memory requirement in loader. Did anyone check that? -adrian I tested down to 128mb of ram in QEMU, booted from the installer ISO, did the install, and booted the installed system without issue. On 18

Re: svn commit: r298230 - in head: lib/libstand sys/boot/common sys/boot/efi/libefi sys/boot/efi/loader sys/boot/i386/libfirewire sys/boot/i386/libi386 sys/boot/i386/loader sys/boot/mips/beri/loader s

2016-04-18 Thread Adrian Chadd
Someone pointed out how this bloats out memory requirement in loader. Did anyone check that? -adrian On 18 April 2016 at 16:09, Allan Jude wrote: > Author: allanjude > Date: Mon Apr 18 23:09:22 2016 > New Revision: 298230 > URL:

svn commit: r298230 - in head: lib/libstand sys/boot/common sys/boot/efi/libefi sys/boot/efi/loader sys/boot/i386/libfirewire sys/boot/i386/libi386 sys/boot/i386/loader sys/boot/mips/beri/loader sy...

2016-04-18 Thread Allan Jude
Author: allanjude Date: Mon Apr 18 23:09:22 2016 New Revision: 298230 URL: https://svnweb.freebsd.org/changeset/base/298230 Log: A new implementation of the loader block cache The block cache implementation in loader has proven to be almost useless, and in worst case even slowing down the

svn commit: r298231 - head/sys/dev/hptmv

2016-04-18 Thread Sean Bruno
Author: sbruno Date: Mon Apr 18 23:26:11 2016 New Revision: 298231 URL: https://svnweb.freebsd.org/changeset/base/298231 Log: hptmv(4) Fix potential buffer overflow in hpt_set_info. While here, adjust some whitespace and yeild some useful debug info. This is untested on this hardware,

svn commit: r298229 - head/share/mk

2016-04-18 Thread Simon J. Gerraty
Author: sjg Date: Mon Apr 18 22:00:26 2016 New Revision: 298229 URL: https://svnweb.freebsd.org/changeset/base/298229 Log: Allow -f dirdeps.mk some/dir with no TARGET_MACHINE spec Use $MACHINE if target does not specify. Reviewed by: bdrewery Modified: head/share/mk/dirdeps.mk

svn commit: r298228 - head/share/mk

2016-04-18 Thread Bryan Drewery
Author: bdrewery Date: Mon Apr 18 21:11:55 2016 New Revision: 298228 URL: https://svnweb.freebsd.org/changeset/base/298228 Log: META_MODE: Don't hide the .depend rm -f command. Otherwise the build command changes every build. META_MODE will only remove it if something changes to warrant

svn commit: r298226 - in head/lib/libc: db/btree gen inet isc net resolv rpc secure stdlib xdr yp

2016-04-18 Thread Andriy Voskoboinyk
Author: avos Date: Mon Apr 18 21:05:15 2016 New Revision: 298226 URL: https://svnweb.freebsd.org/changeset/base/298226 Log: libc: do not include where was already included According to style(9): > normally, include OR , but not both. ( already includes when LOCORE is not defined).

svn commit: r298227 - head/share/mk

2016-04-18 Thread Bryan Drewery
Author: bdrewery Date: Mon Apr 18 21:05:19 2016 New Revision: 298227 URL: https://svnweb.freebsd.org/changeset/base/298227 Log: Update meta2deps to fix crash when using -X with M2D_EXCLUDES. Modified: head/share/mk/meta2deps.py Modified: head/share/mk/meta2deps.py

svn commit: r298225 - head/share/mk

2016-04-18 Thread Simon J. Gerraty
Author: sjg Date: Mon Apr 18 20:56:21 2016 New Revision: 298225 URL: https://svnweb.freebsd.org/changeset/base/298225 Log: Update dirdeps.mk et al dirdeps.mk: move logic to handle -f dirdeps.mk to inside check for first read of dirdeps.mk Also fix handling of WITHOUT_DIRDEPS_BELOW

svn commit: r298224 - in head/sys/dev: e1000 ixgbe

2016-04-18 Thread Sean Bruno
Author: sbruno Date: Mon Apr 18 20:33:44 2016 New Revision: 298224 URL: https://svnweb.freebsd.org/changeset/base/298224 Log: Correct possible underflow conditions when checking for available space in the tx h/w ring buffer. Reviewed by: gnn jeb.j.cra...@intel.com MFC after:1 week

svn commit: r298223 - in head/sys: netinet netinet6

2016-04-18 Thread Michael Tuexen
Author: tuexen Date: Mon Apr 18 20:16:41 2016 New Revision: 298223 URL: https://svnweb.freebsd.org/changeset/base/298223 Log: Address issues found by the XCode code analyzer. Modified: head/sys/netinet/sctp_indata.c head/sys/netinet/sctp_usrreq.c head/sys/netinet/sctputil.c

Re: svn commit: r298131 - head/sys/conf

2016-04-18 Thread Luiz Otavio O Souza
On Mon, Apr 18, 2016 at 3:19 AM, hiren panchasara wrote: > On 04/17/16 at 12:20P, Alexander Leidinger wrote: >> >> Quoting Luiz Otavio O Souza (from Sat, 16 Apr 2016 >> 20:54:55 + (UTC)): >> >> > Author: loos >> > Date: Sat Apr 16 20:54:55 2016 >> > New Revision: 298131 >> > URL:

svn commit: r298222 - head

2016-04-18 Thread Glen Barber
Author: gjb Date: Mon Apr 18 19:27:51 2016 New Revision: 298222 URL: https://svnweb.freebsd.org/changeset/base/298222 Log: Add MK_AUTO_OBJ=no to ${MAKE} invocation if PKG_VERSION needs to be created to avoid creating ${.OBJDIR}. The duplicate REVISION/BRANCH/VERSION evaluation will be

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

2016-04-18 Thread Michael Tuexen
> On 18 Apr 2016, at 19:48, Ian Lepore wrote: > > On Mon, 2016-04-18 at 18:58 +0200, Michael Tuexen wrote: >>> On 18 Apr 2016, at 17:10, Ian Lepore wrote: >>> >>> On Mon, 2016-04-18 at 09:29 +, Michael Tuexen wrote: Author: tuexen Date: Mon Apr

Re: svn commit: r298107 - in head: . bin/cat bin/cat/tests bin/chflags bin/chio bin/chmod bin/cp bin/csh bin/date bin/date/tests bin/dd bin/dd/tests bin/df bin/domainname bin/echo bin/ed bin/expr bin/

2016-04-18 Thread John Baldwin
On Saturday, April 16, 2016 07:45:31 AM Glen Barber wrote: > Author: gjb > Date: Sat Apr 16 07:45:30 2016 > New Revision: 298107 > URL: https://svnweb.freebsd.org/changeset/base/298107 > > Log: > Merge the projects/release-pkg branch to head. > > This allows packaging the base system with

svn commit: r298221 - head

2016-04-18 Thread Bryan Drewery
Author: bdrewery Date: Mon Apr 18 18:39:43 2016 New Revision: 298221 URL: https://svnweb.freebsd.org/changeset/base/298221 Log: Follow-up r298220: Don't pass down META_MODE which will still enable it. Reported by: Nikolai Lifanov Sponsored by: EMC / Isilon

Re: svn commit: r298107 - in head: . bin/cat bin/cat/tests bin/chflags bin/chio bin/chmod bin/cp bin/csh bin/date bin/date/tests bin/dd bin/dd/tests bin/df bin/domainname bin/echo bin/ed bin/expr bin/

2016-04-18 Thread Glen Barber
On Mon, Apr 18, 2016 at 03:20:05PM -0300, Renato Botelho wrote: > > On Apr 16, 2016, at 04:45, Glen Barber wrote: > > > > Author: gjb > > Date: Sat Apr 16 07:45:30 2016 > > New Revision: 298107 > > URL: https://svnweb.freebsd.org/changeset/base/298107 > > > > Log: > > Merge

Re: svn commit: r298107 - in head: . bin/cat bin/cat/tests bin/chflags bin/chio bin/chmod bin/cp bin/csh bin/date bin/date/tests bin/dd bin/dd/tests bin/df bin/domainname bin/echo bin/ed bin/expr bin/

2016-04-18 Thread Renato Botelho
> On Apr 16, 2016, at 04:45, Glen Barber wrote: > > Author: gjb > Date: Sat Apr 16 07:45:30 2016 > New Revision: 298107 > URL: https://svnweb.freebsd.org/changeset/base/298107 > > Log: > Merge the projects/release-pkg branch to head. > > This allows packaging the base

Re: svn commit: r297842 - in head/gnu/lib: csu libgcc libgcov

2016-04-18 Thread Bryan Drewery
On 4/16/2016 5:05 AM, Jilles Tjoelker wrote: > On Tue, Apr 12, 2016 at 02:45:19AM +, Bryan Drewery wrote: >> Author: bdrewery >> Date: Tue Apr 12 02:45:19 2016 >> New Revision: 297842 >> URL: https://svnweb.freebsd.org/changeset/base/297842 > >> Log: >> META_MODE: Avoid changed build

svn commit: r298218 - in head/gnu: lib/csu lib/libgcc lib/libgcov usr.bin/cc/cc_tools

2016-04-18 Thread Bryan Drewery
Author: bdrewery Date: Mon Apr 18 18:13:58 2016 New Revision: 298218 URL: https://svnweb.freebsd.org/changeset/base/298218 Log: Follow-up r297842: Rework header generation to fix always rebuilding. This reworks the handling of common headers to just include the needed logic rather than

svn commit: r298219 - head/share/mk

2016-04-18 Thread Bryan Drewery
Author: bdrewery Date: Mon Apr 18 18:14:02 2016 New Revision: 298219 URL: https://svnweb.freebsd.org/changeset/base/298219 Log: Cause an error during 'make install' if trying to compile with CC. This is limited to src-tree builds, meaning not extended to ports or other out-of-tree

svn commit: r298220 - head

2016-04-18 Thread Bryan Drewery
Author: bdrewery Date: Mon Apr 18 18:14:05 2016 New Revision: 298220 URL: https://svnweb.freebsd.org/changeset/base/298220 Log: META_MODE: Disable during installworld and similar. META_MODE may create cookies during staging of files to WORLDTMP that would also prevent installation of the

svn commit: r298217 - head/share/mk

2016-04-18 Thread Bryan Drewery
Author: bdrewery Date: Mon Apr 18 18:12:12 2016 New Revision: 298217 URL: https://svnweb.freebsd.org/changeset/base/298217 Log: META_MODE: Clean .meta files with 'make cleandepend'. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/bsd.dep.mk Modified:

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

2016-04-18 Thread Ian Lepore
On Mon, 2016-04-18 at 18:58 +0200, Michael Tuexen wrote: > > On 18 Apr 2016, at 17:10, Ian Lepore wrote: > > > > On Mon, 2016-04-18 at 09:29 +, Michael Tuexen wrote: > > > Author: tuexen > > > Date: Mon Apr 18 09:29:14 2016 > > > New Revision: 298199 > > > URL:

svn commit: r298216 - in head/usr.sbin: btxld usbdump

2016-04-18 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 18 17:30:33 2016 New Revision: 298216 URL: https://svnweb.freebsd.org/changeset/base/298216 Log: Reuse our roundup2() macro instead of reinventing the wheel. Obtained from:DragonflyBSD Modified: head/usr.sbin/btxld/btxld.c

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

2016-04-18 Thread Michael Tuexen
> On 18 Apr 2016, at 17:08, Ian Lepore wrote: > > On Mon, 2016-04-18 at 06:38 +, Michael Tuexen wrote: >> Author: tuexen >> Date: Mon Apr 18 06:38:53 2016 >> New Revision: 298187 >> URL: https://svnweb.freebsd.org/changeset/base/298187 >> >> Log: >> Don't use anonymous

svn commit: r298215 - head/lib/libc/gen

2016-04-18 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 18 16:25:37 2016 New Revision: 298215 URL: https://svnweb.freebsd.org/changeset/base/298215 Log: Re-use our roundup2() macro instead of reinventing the wheel. Obtained from:DragonflyBSD Modified: head/lib/libc/gen/tls.c Modified:

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

2016-04-18 Thread Ian Lepore
On Mon, 2016-04-18 at 09:29 +, Michael Tuexen wrote: > Author: tuexen > Date: Mon Apr 18 09:29:14 2016 > New Revision: 298199 > URL: https://svnweb.freebsd.org/changeset/base/298199 > > Log: > Put panic() calls under INVARIANTS. > A panic that's only active when INVARIANTS is defined is

svn commit: r298212 - head/sys/cam/scsi

2016-04-18 Thread Alan Somers
Author: asomers Date: Mon Apr 18 15:01:59 2016 New Revision: 298212 URL: https://svnweb.freebsd.org/changeset/base/298212 Log: Add the ability to read a SAS device's Target Port NAA designator sys/cam/scsi/scsi_all.h sys/cam/scsi/scsi_all.c Add the scsi_devid_is_port_naa helper

svn commit: r298211 - head/libexec/ftpd

2016-04-18 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 18 15:01:49 2016 New Revision: 298211 URL: https://svnweb.freebsd.org/changeset/base/298211 Log: ftpd: replace malloc + memset 0 with calloc. It is faster and usually safer. Use NULL instead of zero for the pointer. Modified: head/libexec/ftpd/popen.c

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

2016-04-18 Thread Ian Lepore
On Mon, 2016-04-18 at 06:38 +, Michael Tuexen wrote: > Author: tuexen > Date: Mon Apr 18 06:38:53 2016 > New Revision: 298187 > URL: https://svnweb.freebsd.org/changeset/base/298187 > > Log: > Don't use anonymous unions. > Why not? This is one of those commit messages that really needs

svn commit: r298214 - head/lib/libipsec

2016-04-18 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 18 15:08:31 2016 New Revision: 298214 URL: https://svnweb.freebsd.org/changeset/base/298214 Log: libipsec: use NULL instead of zero for pointers. Modified: head/lib/libipsec/pfkey.c Modified: head/lib/libipsec/pfkey.c

svn commit: r298213 - head/libexec/rbootd

2016-04-18 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 18 15:05:48 2016 New Revision: 298213 URL: https://svnweb.freebsd.org/changeset/base/298213 Log: rbootd: use NULL instead of zero for pointers. Modified: head/libexec/rbootd/bpf.c Modified: head/libexec/rbootd/bpf.c

svn commit: r298208 - head/lib/libbluetooth

2016-04-18 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 18 14:41:30 2016 New Revision: 298208 URL: https://svnweb.freebsd.org/changeset/base/298208 Log: libbluetooth: use NULL instead of zero for pointers. Modified: head/lib/libbluetooth/bluetooth.c Modified: head/lib/libbluetooth/bluetooth.c

svn commit: r298210 - head/lib/libstand

2016-04-18 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 18 14:45:56 2016 New Revision: 298210 URL: https://svnweb.freebsd.org/changeset/base/298210 Log: libstand: use NULL instead of zero for pointers. Modified: head/lib/libstand/cd9660.c head/lib/libstand/nfs.c head/lib/libstand/strtol.c Modified:

svn commit: r298209 - head/usr.bin/finger

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Mon Apr 18 14:44:01 2016 New Revision: 298209 URL: https://svnweb.freebsd.org/changeset/base/298209 Log: Use NULL instead of 0 for pointers. strchr(3) will return NULL if the character does not appear in the string. MFC after:2 weeks. Modified:

svn commit: r298207 - head/lib/libcompat/4.3

2016-04-18 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 18 14:37:26 2016 New Revision: 298207 URL: https://svnweb.freebsd.org/changeset/base/298207 Log: rexec(3): use NULL instead of zero for pointers. Modified: head/lib/libcompat/4.3/rexec.c Modified: head/lib/libcompat/4.3/rexec.c

svn commit: r298206 - head/sbin/ifconfig

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Mon Apr 18 14:12:42 2016 New Revision: 298206 URL: https://svnweb.freebsd.org/changeset/base/298206 Log: User NULL instead of 0 for pointers. gethostbyname(3) will return NULL in case of an error. MFC after:2 weeks. Modified: head/sbin/ifconfig/af_inet.c

svn commit: r298205 - in head/sbin: growfs newfs restore

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Mon Apr 18 14:08:35 2016 New Revision: 298205 URL: https://svnweb.freebsd.org/changeset/base/298205 Log: Use NULL instead of 0 for pointers. strchr(3) will return NULL if the character does not appear in the string. MFC after:2 weeks. Modified:

svn commit: r298204 - in head: lib/libdwarf lib/libelf lib/libelftc usr.bin/addr2line usr.bin/cxxfilt usr.bin/elfcopy usr.bin/nm usr.bin/readelf usr.bin/size usr.bin/strings

2016-04-18 Thread Ed Maste
Author: emaste Date: Mon Apr 18 13:13:59 2016 New Revision: 298204 URL: https://svnweb.freebsd.org/changeset/base/298204 Log: Replace ${CURDIR}/../.. with ${CURDIR:H:H} in elftoolchain This produces a nicer path in debug info and build logs. MFC after:1 week Sponsored by: The

svn commit: r298203 - head/sys/netinet

2016-04-18 Thread Michael Tuexen
Author: tuexen Date: Mon Apr 18 11:39:41 2016 New Revision: 298203 URL: https://svnweb.freebsd.org/changeset/base/298203 Log: Fix signed/unsigned warnings. Modified: head/sys/netinet/sctp_indata.c head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_indata.c

svn commit: r298202 - head/sys/dev/pci

2016-04-18 Thread Andrew Turner
Author: andrew Date: Mon Apr 18 10:37:50 2016 New Revision: 298202 URL: https://svnweb.freebsd.org/changeset/base/298202 Log: Pull the MSI/MSI-X handling functions out to help with INTRNG integration. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified:

svn commit: r298201 - head/lib/libc/stdlib

2016-04-18 Thread Sergey Kandaurov
Author: pluknet Date: Mon Apr 18 09:56:41 2016 New Revision: 298201 URL: https://svnweb.freebsd.org/changeset/base/298201 Log: Fixed indentation, minor style. Modified: head/lib/libc/stdlib/qsort.3 Modified: head/lib/libc/stdlib/qsort.3

svn commit: r298200 - head/sys/netinet

2016-04-18 Thread Michael Tuexen
Author: tuexen Date: Mon Apr 18 09:39:46 2016 New Revision: 298200 URL: https://svnweb.freebsd.org/changeset/base/298200 Log: Fix a warning about an unused variable. Modified: head/sys/netinet/sctp_indata.c Modified: head/sys/netinet/sctp_indata.c

svn commit: r298199 - head/sys/netinet

2016-04-18 Thread Michael Tuexen
Author: tuexen Date: Mon Apr 18 09:29:14 2016 New Revision: 298199 URL: https://svnweb.freebsd.org/changeset/base/298199 Log: Put panic() calls under INVARIANTS. Modified: head/sys/netinet/sctp_indata.c head/sys/netinet/sctp_input.c head/sys/netinet/sctputil.c Modified:

svn commit: r298197 - head/sys/cam

2016-04-18 Thread Xin LI
Author: delphij Date: Mon Apr 18 08:24:13 2016 New Revision: 298197 URL: https://svnweb.freebsd.org/changeset/base/298197 Log: Fix tinderbox LINT build. Modified: head/sys/cam/cam_iosched.c Modified: head/sys/cam/cam_iosched.c

svn commit: r298196 - head/tests/sys/file

2016-04-18 Thread Garrett Cooper
Author: ngie Date: Mon Apr 18 07:48:27 2016 New Revision: 298196 URL: https://svnweb.freebsd.org/changeset/base/298196 Log: Minor cosmetic cleanup - Remove spurious trailing whitespace in licensing header - Remove unnecessary semi-colon after comment [*] MFC after: 3 days

svn commit: r298195 - head/sbin/fsdb

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Mon Apr 18 07:47:26 2016 New Revision: 298195 URL: https://svnweb.freebsd.org/changeset/base/298195 Log: Use NULL instead of 0 for pointers. malloc will return NULL if it cannot allocate memory. MFC after:2 weeks. Modified: head/sbin/fsdb/fsdbutil.c

svn commit: r298194 - head/sbin/fsck

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Mon Apr 18 07:44:53 2016 New Revision: 298194 URL: https://svnweb.freebsd.org/changeset/base/298194 Log: strchr(3) will return NULL if it cannot find the character in the string. getfsent(3) will return NULL on EOF or error. MFC after:2 weeks. Modified:

svn commit: r298193 - head/sbin/bsdlabel

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Mon Apr 18 07:40:36 2016 New Revision: 298193 URL: https://svnweb.freebsd.org/changeset/base/298193 Log: Use NULL instead of 0 for pointers. strchr(3) will return NULL if the character does not appear in the string. MFC after:2 weeks. Modified:

svn commit: r298192 - in head: contrib/file contrib/file/doc contrib/file/magic contrib/file/magic/Magdir contrib/file/python contrib/file/src lib/libmagic

2016-04-18 Thread Xin LI
Author: delphij Date: Mon Apr 18 07:36:24 2016 New Revision: 298192 URL: https://svnweb.freebsd.org/changeset/base/298192 Log: MFV r298178: Update file to 5.26. MFC after:2 weeks Relnotes: yes Added: head/contrib/file/magic/Magdir/bioinformatics - copied unchanged

svn commit: r298191 - head/usr.bin/talk

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Mon Apr 18 07:14:01 2016 New Revision: 298191 URL: https://svnweb.freebsd.org/changeset/base/298191 Log: User NULL instead of 0 for pointers. getservent(3) returns NULL on EOF or error. MFC after:2 weeks. Modified: head/usr.bin/talk/get_addrs.c Modified:

svn commit: r298190 - head/usr.bin/m4

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Mon Apr 18 07:09:34 2016 New Revision: 298190 URL: https://svnweb.freebsd.org/changeset/base/298190 Log: Use NULL instead of 0 for pointers. fopen(3) will return NULL in case it cannot open the STREAM. MFC after:2 weeks. Modified: head/usr.bin/m4/gnum4.c

svn commit: r298189 - head/usr.bin/find

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Mon Apr 18 07:05:18 2016 New Revision: 298189 URL: https://svnweb.freebsd.org/changeset/base/298189 Log: Use NULL instead of 0 for pointers. MFC after:2 weeks. Modified: head/usr.bin/find/function.c Modified: head/usr.bin/find/function.c

svn commit: r298188 - head/sys/netinet

2016-04-18 Thread Michael Tuexen
Author: tuexen Date: Mon Apr 18 06:58:07 2016 New Revision: 298188 URL: https://svnweb.freebsd.org/changeset/base/298188 Log: Cleanup debug output. Modified: head/sys/netinet/sctp_indata.c Modified: head/sys/netinet/sctp_indata.c

svn commit: r298187 - head/sys/netinet

2016-04-18 Thread Michael Tuexen
Author: tuexen Date: Mon Apr 18 06:38:53 2016 New Revision: 298187 URL: https://svnweb.freebsd.org/changeset/base/298187 Log: Don't use anonymous unions. Modified: head/sys/netinet/sctp_header.h head/sys/netinet/sctp_indata.c head/sys/netinet/sctp_output.c Modified:

Re: svn commit: r298131 - head/sys/conf

2016-04-18 Thread hiren panchasara
On 04/17/16 at 12:20P, Alexander Leidinger wrote: > > Quoting Luiz Otavio O Souza (from Sat, 16 Apr 2016 > 20:54:55 + (UTC)): > > > Author: loos > > Date: Sat Apr 16 20:54:55 2016 > > New Revision: 298131 > > URL: https://svnweb.freebsd.org/changeset/base/298131 > > > >

svn commit: r298185 - head/sys/mips/mediatek

2016-04-18 Thread Stanislav Galabov
Author: sgalabov Date: Mon Apr 18 06:15:58 2016 New Revision: 298185 URL: https://svnweb.freebsd.org/changeset/base/298185 Log: Allow RT3350 CPU clock to be detected as part of RT3050/RT3052 detection OpenWRT's dts files treat RT3050/RT3052/RT3350 within the same SoC dtsi file, so we

svn commit: r298184 - head/usr.bin/whereis

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Mon Apr 18 06:12:00 2016 New Revision: 298184 URL: https://svnweb.freebsd.org/changeset/base/298184 Log: Use NULL instead of 0 for pointers. realloc will return NULL if it cannot allocate memory. MFC after:2 weeks. Modified: head/usr.bin/whereis/whereis.c

svn commit: r298183 - head/usr.bin/rpcgen

2016-04-18 Thread Marcelo Araujo
Author: araujo Date: Mon Apr 18 06:02:26 2016 New Revision: 298183 URL: https://svnweb.freebsd.org/changeset/base/298183 Log: Use NULL for pointers. strrchr(3) will return NULL if the character does not appears in the string. MFC after:2 weeks. Modified: