svn commit: r245500 - head/sys/arm/allwinner

2013-01-16 Thread Ganbold Tsagaankhuu
Author: ganbold (doc committer) Date: Wed Jan 16 08:04:55 2013 New Revision: 245500 URL: http://svnweb.freebsd.org/changeset/base/245500 Log: Fix style bugs Use defined constant instead of variable for reg_shift Change u_int32_t to uint32_t Approved by: gonzo Suggested by: bde, wkosze

Re: svn commit: r245450 - in head/sys: arm/allwinner arm/conf boot/fdt/dts

2013-01-16 Thread Ganbold Tsagaankhuu
On Wed, Jan 16, 2013 at 2:43 PM, Bruce Evans wrote: > On Tue, 15 Jan 2013, Wojciech A. Koszek wrote: > >> On Tue, Jan 15, 2013 at 08:26:16AM +, Ganbold Tsagaankhuu wrote: >>> >>> ... >>> >>> Added: head/sys/arm/allwinner/console.c >>> >>> ===

Re: svn commit: r245494 - head/bin/pwait

2013-01-16 Thread Eitan Adler
On 16 January 2013 01:49, Xin LI wrote: > This doesn't seem right -- you should never release memory before exit, > especially for memory allocated in main(), unless this "main" is intended > for different purpose like a monolithic shell that wants to avoid exec(). > Note that pwait(1) have multip

Re: svn commit: r245494 - head/bin/pwait

2013-01-16 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 01/16/13 09:47, Eitan Adler wrote: > On 16 January 2013 01:49, Xin LI wrote: >> This doesn't seem right -- you should never release memory before >> exit, especially for memory allocated in main(), unless this >> "main" is intended for different

svn commit: r245506 - head/bin/pwait

2013-01-16 Thread Xin LI
Author: delphij Date: Wed Jan 16 18:15:25 2013 New Revision: 245506 URL: http://svnweb.freebsd.org/changeset/base/245506 Log: Use a different way to silence clang analyzer as done in r245494 by explicitly telling the compiler that we are on the exit route. X-MFC:together with r245

Re: svn commit: r245494 - head/bin/pwait

2013-01-16 Thread Garrett Cooper
On Jan 16, 2013, at 10:11 AM, Xin Li wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 01/16/13 09:47, Eitan Adler wrote: >> On 16 January 2013 01:49, Xin LI wrote: >>> This doesn't seem right -- you should never release memory before >>> exit, especially for memory allocated in

Re: svn commit: r245494 - head/bin/pwait

2013-01-16 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 01/16/13 10:17, Garrett Cooper wrote: > On Jan 16, 2013, at 10:11 AM, Xin Li wrote: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 >> >> On 01/16/13 09:47, Eitan Adler wrote: >>> On 16 January 2013 01:49, Xin LI wrote: This doesn't

Re: svn commit: r245494 - head/bin/pwait

2013-01-16 Thread John Baldwin
On Wednesday, January 16, 2013 1:49:40 am Xin LI wrote: > This doesn't seem right -- you should never release memory before exit, > especially for memory allocated in main(), unless this "main" is intended > for different purpose like a monolithic shell that wants to avoid exec(). > Note that pwai

svn commit: r245507 - head/share/misc

2013-01-16 Thread Carl Delsey
Author: carl Date: Wed Jan 16 19:05:49 2013 New Revision: 245507 URL: http://svnweb.freebsd.org/changeset/base/245507 Log: Add myself and my mentor relationship. Approved by: jimharris (mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot ==

Re: svn commit: r245494 - head/bin/pwait

2013-01-16 Thread Eitan Adler
On 16 January 2013 13:11, Xin Li wrote: > Yes I did. Using exit(3) tells clang that this is the final exit and > thus eliminates the warning. > > It sounds like a bug (or arguably a feature) that clang does not > recognize return in main()s... It is not a bug: see http://clang-developers.42468.

Re: svn commit: r245494 - head/bin/pwait

2013-01-16 Thread Garrett Cooper
On Wed, Jan 16, 2013 at 10:41 AM, Xin Li wrote: ... > Well, calling exit(3) actually do less on C++ (dtor's are not called > in this case, if any local object is declared on stack, which is done > when the code say 'return') but the difference is less on C. Good to know -- thanks! > In style(9

Re: svn commit: r245494 - head/bin/pwait

2013-01-16 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 01/16/13 08:11, John Baldwin wrote: > On Wednesday, January 16, 2013 1:49:40 am Xin LI wrote: >> This doesn't seem right -- you should never release memory before >> exit, especially for memory allocated in main(), unless this >> "main" is intende

svn commit: r245508 - in head/sys: fs/nfs fs/nfsclient nfsclient

2013-01-16 Thread John Baldwin
Author: jhb Date: Wed Jan 16 21:52:31 2013 New Revision: 245508 URL: http://svnweb.freebsd.org/changeset/base/245508 Log: Use the VA_UTIMES_NULL flag to detect when NULL was passed to utimes() instead of comparing the desired time against the current time as a heuristic. Reviewed by: r

Re: svn commit: r244401 - in head: contrib/libc-vis include lib/libc/gen

2013-01-16 Thread Dimitry Andric
On 2013-01-11 00:41, Brooks Davis wrote: On Sun, Dec 23, 2012 at 01:54:08AM +0100, Dimitry Andric wrote: On 2012-12-18 17:37, Brooks Davis wrote: Author: brooks Date: Tue Dec 18 16:37:24 2012 New Revision: 244401 URL: http://svnweb.freebsd.org/changeset/base/244401 Log: Replace our impleme

svn commit: r245510 - vendor-sys/illumos/dist/uts/common/fs/zfs

2013-01-16 Thread Xin LI
Author: delphij Date: Wed Jan 16 22:50:40 2013 New Revision: 245510 URL: http://svnweb.freebsd.org/changeset/base/245510 Log: Update and vendor-sys/illumos/dist to illumos-gate 13910:f3454e0a097c (illumos zfs issue #3447: improve the comment in txg.c) Modified: vendor-sys/illumos/dist/uts

Re: svn commit: r245458 - head/lib/libc/sys

2013-01-16 Thread Eitan Adler
On 15 January 2013 09:09, Andrey Zonov wrote: > -.Va errno > -is set to indicate an error. ISTR that this is not shown in the -std text. Can this be retained? -- Eitan Adler Source, Ports, Doc committer Bugmeister, Ports Security teams ___ svn-src-a

svn commit: r245511 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2013-01-16 Thread Xin LI
Author: delphij Date: Wed Jan 16 22:59:50 2013 New Revision: 245511 URL: http://svnweb.freebsd.org/changeset/base/245511 Log: MFV r245510: improve the comment in txg.c Obtained from:Illumos (13910:f3454e0a097c) MFC after:2 weeks Modified: head/sys/cddl/contrib/opensola

svn commit: r245512 - vendor-sys/illumos/dist/common/zfs vendor-sys/illumos/dist/uts/common vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/di...

2013-01-16 Thread Xin LI
Author: delphij Date: Wed Jan 16 23:11:13 2013 New Revision: 245512 URL: http://svnweb.freebsd.org/changeset/base/245512 Log: Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 13921:9d721847e469 (illumos zfs issue #3035 LZ4 compression support in ZFS and GRUB) Modified:

svn commit: r245512 - vendor-sys/illumos/dist/common/zfs vendor-sys/illumos/dist/uts/common vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/di...

2013-01-16 Thread Xin LI
Author: delphij Date: Wed Jan 16 23:11:13 2013 New Revision: 245512 URL: http://svnweb.freebsd.org/changeset/base/245512 Log: Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 13921:9d721847e469 (illumos zfs issue #3035 LZ4 compression support in ZFS and GRUB) Added:

svn commit: r245513 - in head: . etc/mtree

2013-01-16 Thread Brooks Davis
) @@ -38,6 +38,13 @@ # xargs -n1 | sort | uniq -d; # done +# 20130116: removed long unused directories for .1aout section manpages +OLD_FILES+=usr/share/man/en.ISO8859-1/man1aout +OLD_FILES+=usr/share/man/en.UTF-8/man1aout +OLD_DIRS+=usr/share/man/man1aout +OLD_DIRS+=usr/share/man/cat1aout

svn commit: r245514 - head/usr.bin/man

2013-01-16 Thread Brooks Davis
Author: brooks Date: Wed Jan 16 23:20:24 2013 New Revision: 245514 URL: http://svnweb.freebsd.org/changeset/base/245514 Log: Remove default support for 1aout section manpages. There haven't been any since at least July 2002. Modified: head/usr.bin/man/man.1 head/usr.bin/man/man.sh Modif

svn commit: r245515 - head/share/mk

2013-01-16 Thread Brooks Davis
Author: brooks Date: Wed Jan 16 23:21:04 2013 New Revision: 245515 URL: http://svnweb.freebsd.org/changeset/base/245515 Log: Remove support for installing 1aout section manpages. Modified: head/share/mk/bsd.man.mk head/share/mk/bsd.prog.mk Modified: head/share/mk/bsd.man.mk ===

Re: svn commit: r244401 - in head: contrib/libc-vis include lib/libc/gen

2013-01-16 Thread Brooks Davis
On Wed, Jan 16, 2013 at 11:44:22PM +0100, Dimitry Andric wrote: > On 2013-01-11 00:41, Brooks Davis wrote: > > On Sun, Dec 23, 2012 at 01:54:08AM +0100, Dimitry Andric wrote: > >> On 2012-12-18 17:37, Brooks Davis wrote: > >>> Author: brooks > >>> Date: Tue Dec 18 16:37:24 2012 > >>> New Revision:

svn commit: r245517 - head/sys/dev/cxgbe

2013-01-16 Thread Navdeep Parhar
Author: np Date: Wed Jan 16 23:48:55 2013 New Revision: 245517 URL: http://svnweb.freebsd.org/changeset/base/245517 Log: cxgbe: Fix the for_each_foo macros -- the last argument should not share its name with any member of struct sge. MFC after:3 days Modified: head/sys/dev/cxgbe/ad

svn commit: r245518 - head/sys/dev/cxgbe

2013-01-16 Thread Navdeep Parhar
Author: np Date: Wed Jan 16 23:49:55 2013 New Revision: 245518 URL: http://svnweb.freebsd.org/changeset/base/245518 Log: cxgbe: Do a more thorough job in the CLEAR_STATS ioctl. MFC after:3 days Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c ==

svn commit: r245519 - head/sys/geom/raid

2013-01-16 Thread Alexander Motin
Author: mav Date: Thu Jan 17 00:09:50 2013 New Revision: 245519 URL: http://svnweb.freebsd.org/changeset/base/245519 Log: Recalculate volume size only for real CONCATs. For SINGLE trust volume size given by metadata, as it should be correct and in some cases can be smaller then subdisk size

svn commit: r245520 - head/tools/tools/cxgbetool

2013-01-16 Thread Navdeep Parhar
Author: np Date: Thu Jan 17 00:21:45 2013 New Revision: 245520 URL: http://svnweb.freebsd.org/changeset/base/245520 Log: Allow "ivlan" (inner VLAN) to be used as an alias for "vlan" when specifying match criteria. "vlan" continues to be valid here, and it continues to be valid when deleting

svn commit: r245521 - stable/9/share/man/man4

2013-01-16 Thread Xin LI
Author: delphij Date: Thu Jan 17 00:42:30 2013 New Revision: 245521 URL: http://svnweb.freebsd.org/changeset/base/245521 Log: MFC r245006: Sync with driver. Modified: stable/9/share/man/man4/mps.4 Modified: stable/9/share/man/man4/mps.4 ==

svn commit: r245522 - in head: sbin/geom/class/raid sys/geom/raid

2013-01-16 Thread Alexander Motin
Author: mav Date: Thu Jan 17 00:50:25 2013 New Revision: 245522 URL: http://svnweb.freebsd.org/changeset/base/245522 Log: For Promise/AMD metadata add support for disks with capacity above 2TiB and for volumes with sector size above 512 bytes. Modified: head/sbin/geom/class/raid/graid.8 h

svn commit: r245525 - head/etc/rc.d

2013-01-16 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jan 17 01:27:39 2013 New Revision: 245525 URL: http://svnweb.freebsd.org/changeset/base/245525 Log: Add a conditional sleep 1 in case we add any IPv6 addresses to interfaces. Do this per jail started, not per address. This will allow DAD to complete and services to prop

svn commit: r245526 - svnadmin/conf

2013-01-16 Thread Gabor Pali
Author: pgj (ports committer) Date: Thu Jan 17 01:28:55 2013 New Revision: 245526 URL: http://svnweb.freebsd.org/changeset/base/245526 Log: Take wilko's commit bit into safekeeping per his request. Wilko, thank you for all the hard work on FreeBSD in the past! Approved by: core (implici

Re: svn commit: r245525 - head/etc/rc.d

2013-01-16 Thread Bjoern A. Zeeb
On Thu, 17 Jan 2013, Bjoern A. Zeeb wrote: Author: bz Date: Thu Jan 17 01:27:39 2013 New Revision: 245525 URL: http://svnweb.freebsd.org/changeset/base/245525 Log: Add a conditional sleep 1 in case we add any IPv6 addresses to interfaces. Do this per jail started, not per address. This will

svn commit: r245527 - in head: secure/lib/libssh secure/usr.bin/ssh secure/usr.sbin/sshd share/mk tools/build/options

2013-01-16 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jan 17 01:51:04 2013 New Revision: 245527 URL: http://svnweb.freebsd.org/changeset/base/245527 Log: Add a src.conf(5) option to allow users to compile in the "NONE cipher", which, only after authentication, disables crypto, and only for sessions without a terminal.

Re: svn commit: r245494 - head/bin/pwait

2013-01-16 Thread Bruce Evans
On Wed, 16 Jan 2013, Eitan Adler wrote: On 16 January 2013 13:11, Xin Li wrote: Yes I did. Using exit(3) tells clang that this is the final exit and thus eliminates the warning. It sounds like a bug (or arguably a feature) that clang does not recognize return in main()s... It is not a bug

Re: svn commit: r245525 - head/etc/rc.d

2013-01-16 Thread Hiroki Sato
"Bjoern A. Zeeb" wrote in <201301170127.r0h1re6y038...@svn.freebsd.org>: bz> Author: bz bz> Date: Thu Jan 17 01:27:39 2013 bz> New Revision: 245525 bz> URL: http://svnweb.freebsd.org/changeset/base/245525 bz> bz> Log: bz> Add a conditional sleep 1 in case we add any IPv6 addresses to interfac

Re: svn commit: r245506 - head/bin/pwait

2013-01-16 Thread Bruce Evans
On Wed, 16 Jan 2013, Xin LI wrote: Log: Use a different way to silence clang analyzer as done in r245494 by explicitly telling the compiler that we are on the exit route. X-MFC: together with r245494 Modified: head/bin/pwait/pwait.c Modified: head/bin/pwait/pwait.c ===

svn commit: r245530 - stable/9/usr.bin/procstat

2013-01-16 Thread Mateusz Guzik
Author: mjg Date: Thu Jan 17 02:42:08 2013 New Revision: 245530 URL: http://svnweb.freebsd.org/changeset/base/245530 Log: MFC r245345: procstat: only one mode flag can be specified, but required check for 'i' and 'j' modes was missing. Fix that. Modified: stable/9/usr.bin/procstat/procsta

svn commit: r245533 - head/sys/geom/raid

2013-01-16 Thread Alexander Motin
Author: mav Date: Thu Jan 17 03:27:08 2013 New Revision: 245533 URL: http://svnweb.freebsd.org/changeset/base/245533 Log: - Fix rebuild position broken at r245522. - Identify one more metadata field. Modified: head/sys/geom/raid/md_promise.c Modified: head/sys/geom/raid/md_promise.c

Re: svn commit: r245506 - head/bin/pwait

2013-01-16 Thread Eitan Adler
On 16 January 2013 21:25, Bruce Evans wrote: > This uses the sysexits mistake. style(9) was fixed to not give an example > of this mistake. Before this, sysexits was used a whole once in pwait(1) > (for EX_USAGE) in usage(). EX_USAGE happens to be 64. As usual when the > mistake is used, this

svn commit: r245535 - head/bin/cp

2013-01-16 Thread Eitan Adler
Author: eadler Date: Thu Jan 17 04:20:31 2013 New Revision: 245535 URL: http://svnweb.freebsd.org/changeset/base/245535 Log: Remove useless variable 'Pflag': -P is an alternative to -H and -L, and it is implemented using the Hflag and Lflag variables. Approved by: cperciva MFC after:

svn commit: r245536 - head/tools/tools/notescheck

2013-01-16 Thread Eitan Adler
Author: eadler Date: Thu Jan 17 04:20:53 2013 New Revision: 245536 URL: http://svnweb.freebsd.org/changeset/base/245536 Log: Convert to Python 3 Approved by: cperciva Modified: head/tools/tools/notescheck/notescheck.py Modified: head/tools/tools/notescheck/notescheck.py ===

svn commit: r245539 - in head: contrib/gcc/config/arm gnu/lib/csu gnu/lib/libgcc gnu/lib/libgcov gnu/lib/libstdc++ gnu/usr.bin/cc gnu/usr.bin/cc/c++filt gnu/usr.bin/cc/cc1 gnu/usr.bin/cc/cc1plus gn...

2013-01-16 Thread Andrew Turner
Author: andrew Date: Thu Jan 17 05:56:28 2013 New Revision: 245539 URL: http://svnweb.freebsd.org/changeset/base/245539 Log: Add compiler support for the ARM EABI. ARM EABI support is disabled by default and can be enabled by setting WITH_ARM_EABI when building, however only the kernel-to