Re: svn commit: r243311 - in head/sys: fs/ext2fs fs/msdosfs fs/nfsclient fs/nullfs fs/unionfs gnu/fs/reiserfs nfsclient ufs/ffs

2012-11-20 Thread Attilio Rao
On Tue, Nov 20, 2012 at 6:20 AM, Bruce Evans b...@optusnet.com.au wrote: On Mon, 19 Nov 2012, Attilio Rao wrote: Log: r16312 is not any longer real since many years (likely since when VFS received granular locking) but the comment present in UFS has been copied all over other filesystems

Re: svn commit: r243320 - head/usr.bin/cut

2012-11-20 Thread Alexey Dokuchaev
On Tue, Nov 20, 2012 at 01:57:21AM +, Eitan Adler wrote: Author: eadler Date: Tue Nov 20 01:57:21 2012 New Revision: 243320 URL: http://svnweb.freebsd.org/changeset/base/243320 Log: Add 'w' flag to: Use whitespace (spaces and tabs) as the delimiter. Consecutive spaces and

Re: svn commit: r243324 - head/etc

2012-11-20 Thread Mike Telahun
On 11/20/2012 10:14 AM, Hiroki Sato wrote: rc_fast, rc_force, and rc_quiet are not intended to be used in /etc/rc.conf or other config files. These variables have no default value and will be defined forcibly via {fast,force,quiet}start. If we use checkyesno() here, it checks whether a

Re: svn commit: r243228 - head/etc

2012-11-20 Thread John Hay
Hi Chris, On Sun, Nov 18, 2012 at 02:21:05PM +, Chris Rees wrote: Author: crees (ports committer) Date: Sun Nov 18 14:21:05 2012 New Revision: 243228 URL: http://svnweb.freebsd.org/changeset/base/243228 Log: cp -R misses out dotfiles; use pax instead to copy file hierarchies

svn commit: r243330 - head/usr.sbin/pw

2012-11-20 Thread Baptiste Daroussin
Author: bapt Date: Tue Nov 20 10:59:41 2012 New Revision: 243330 URL: http://svnweb.freebsd.org/changeset/base/243330 Log: Correctly set the password file mode after renaming in NIS mode Modified: head/usr.sbin/pw/pw_nis.c Modified: head/usr.sbin/pw/pw_nis.c

svn commit: r243331 - stable/9/include/xlocale

2012-11-20 Thread Dmitry Sivachenko
Author: demon (ports committer) Date: Tue Nov 20 11:47:22 2012 New Revision: 243331 URL: http://svnweb.freebsd.org/changeset/base/243331 Log: MFC r243032: Use defined() to test macro definitions. Approved by: theraven Modified: stable/9/include/xlocale/_ctype.h Modified:

Re: svn commit: r243311 - in head/sys: fs/ext2fs fs/msdosfs fs/nfsclient fs/nullfs fs/unionfs gnu/fs/reiserfs nfsclient ufs/ffs

2012-11-20 Thread Bruce Evans
On Tue, 20 Nov 2012, Attilio Rao wrote: On Tue, Nov 20, 2012 at 6:20 AM, Bruce Evans b...@optusnet.com.au wrote: On Mon, 19 Nov 2012, Attilio Rao wrote: Log: r16312 is not any longer real since many years (likely since when VFS received granular locking) but the comment present in UFS has

Re: svn commit: r243311 - in head/sys: fs/ext2fs fs/msdosfs fs/nfsclient fs/nullfs fs/unionfs gnu/fs/reiserfs nfsclient ufs/ffs

2012-11-20 Thread Attilio Rao
On 11/20/12, Bruce Evans b...@optusnet.com.au wrote: On Tue, 20 Nov 2012, Attilio Rao wrote: On Tue, Nov 20, 2012 at 6:20 AM, Bruce Evans b...@optusnet.com.au wrote: On Mon, 19 Nov 2012, Attilio Rao wrote: Log: r16312 is not any longer real since many years (likely since when VFS

Re: svn commit: r243311 - in head/sys: fs/ext2fs fs/msdosfs fs/nfsclient fs/nullfs fs/unionfs gnu/fs/reiserfs nfsclient ufs/ffs

2012-11-20 Thread Attilio Rao
On 11/20/12, Attilio Rao atti...@freebsd.org wrote: On 11/20/12, Bruce Evans b...@optusnet.com.au wrote: On Tue, 20 Nov 2012, Attilio Rao wrote: On Tue, Nov 20, 2012 at 6:20 AM, Bruce Evans b...@optusnet.com.au wrote: On Mon, 19 Nov 2012, Attilio Rao wrote: Log: r16312 is not any longer

Re: svn commit: r243328 - head/lib/libutil

2012-11-20 Thread Jaakko Heinonen
Hi! On 2012-11-20, Baptiste Daroussin wrote: change mode the group file to 0644 after a successfull rename(2) int gr_mkdb(void) { - return (rename(tempname, group_file)); + int ret; + + ret = rename(tempname, group_file); + + if (ret == 0) +

svn commit: r243333 - in head/sys: dev/fdc geom geom/bde geom/cache geom/label geom/mountver geom/multipath geom/nop geom/sched vm

2012-11-20 Thread Jaakko Heinonen
Author: jh Date: Tue Nov 20 12:32:18 2012 New Revision: 24 URL: http://svnweb.freebsd.org/changeset/base/24 Log: - Don't pass geom and provider names as format strings. - Add __printflike() attributes. - Remove an extra argument for the g_new_geomf() call in swapongeom_ev().

Re: svn commit: r243328 - head/lib/libutil

2012-11-20 Thread Baptiste Daroussin
On Tue, Nov 20, 2012 at 02:22:26PM +0200, Jaakko Heinonen wrote: Hi! On 2012-11-20, Baptiste Daroussin wrote: change mode the group file to 0644 after a successfull rename(2) int gr_mkdb(void) { - return (rename(tempname, group_file)); + int ret; + + ret =

Re: svn commit: r243311 - in head/sys: fs/ext2fs fs/msdosfs fs/nfsclient fs/nullfs fs/unionfs gnu/fs/reiserfs nfsclient ufs/ffs

2012-11-20 Thread Bruce Evans
On Tue, 20 Nov 2012, Attilio Rao wrote: On 11/20/12, Attilio Rao atti...@freebsd.org wrote: On 11/20/12, Bruce Evans b...@optusnet.com.au wrote: On Tue, 20 Nov 2012, Attilio Rao wrote: On Tue, Nov 20, 2012 at 6:20 AM, Bruce Evans b...@optusnet.com.au wrote: On Mon, 19 Nov 2012, Attilio Rao

Re: svn commit: r243311 - in head/sys: fs/ext2fs fs/msdosfs fs/nfsclient fs/nullfs fs/unionfs gnu/fs/reiserfs nfsclient ufs/ffs

2012-11-20 Thread Attilio Rao
On 11/20/12, Bruce Evans b...@optusnet.com.au wrote: On Tue, 20 Nov 2012, Attilio Rao wrote: On 11/20/12, Attilio Rao atti...@freebsd.org wrote: On 11/20/12, Bruce Evans b...@optusnet.com.au wrote: On Tue, 20 Nov 2012, Attilio Rao wrote: On Tue, Nov 20, 2012 at 6:20 AM, Bruce Evans

Re: svn commit: r243328 - head/lib/libutil

2012-11-20 Thread Baptiste Daroussin
On Tue, Nov 20, 2012 at 02:22:26PM +0200, Jaakko Heinonen wrote: Hi! On 2012-11-20, Baptiste Daroussin wrote: change mode the group file to 0644 after a successfull rename(2) int gr_mkdb(void) { - return (rename(tempname, group_file)); + int ret; + + ret =

Re: svn commit: r243228 - head/etc

2012-11-20 Thread Bruce Evans
On Tue, 20 Nov 2012, John Hay wrote: On Sun, Nov 18, 2012 at 02:21:05PM +, Chris Rees wrote: Log: cp -R misses out dotfiles; use pax instead to copy file hierarchies PR: conf/99721 (based on) Submitted by: Florian Zavatzki f_zavat...@blue-network.org Approved by: hrs

Re: svn commit: r243328 - head/lib/libutil

2012-11-20 Thread Jaakko Heinonen
On 2012-11-20, Baptiste Daroussin wrote: Does this looks better to you? http://people.freebsd.org/~bapt/gr_util.diff Yes. Thank you. -- Jaakko ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To

svn commit: r243334 - head/lib/libutil

2012-11-20 Thread Baptiste Daroussin
Author: bapt Date: Tue Nov 20 14:03:09 2012 New Revision: 243334 URL: http://svnweb.freebsd.org/changeset/base/243334 Log: only rename(2) after chmod(2) has succeed report error if chmod(2) fails Reported by: jh Modified: head/lib/libutil/gr_util.c Modified:

svn commit: r243335 - head/usr.sbin/pw

2012-11-20 Thread Baptiste Daroussin
Author: bapt Date: Tue Nov 20 14:05:46 2012 New Revision: 243335 URL: http://svnweb.freebsd.org/changeset/base/243335 Log: In NIS mode first chmod(2) the temporary file and is succeed then rename(2) Modified: head/usr.sbin/pw/pw_nis.c Modified: head/usr.sbin/pw/pw_nis.c

svn commit: r243336 - head/sys/netinet6

2012-11-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 20 14:09:37 2012 New Revision: 243336 URL: http://svnweb.freebsd.org/changeset/base/243336 Log: Remove opt_inet.h, it isn't required here. MFC after:1 week Modified: head/sys/netinet6/ip6_mroute.c Modified: head/sys/netinet6/ip6_mroute.c

svn commit: r243337 - head/sys/modules

2012-11-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 20 14:11:27 2012 New Revision: 243337 URL: http://svnweb.freebsd.org/changeset/base/243337 Log: Connect ip6_mroute kernel module to the build. MFC after:1 week Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile

Re: svn commit: r243311 - in head/sys: fs/ext2fs fs/msdosfs fs/nfsclient fs/nullfs fs/unionfs gnu/fs/reiserfs nfsclient ufs/ffs

2012-11-20 Thread Konstantin Belousov
On Tue, Nov 20, 2012 at 01:27:07PM +, Attilio Rao wrote: On 11/20/12, Bruce Evans b...@optusnet.com.au wrote: On Tue, 20 Nov 2012, Attilio Rao wrote: On 11/20/12, Attilio Rao atti...@freebsd.org wrote: On 11/20/12, Bruce Evans b...@optusnet.com.au wrote: On Tue, 20 Nov 2012, Attilio

Re: svn commit: r243311 - in head/sys: fs/ext2fs fs/msdosfs fs/nfsclient fs/nullfs fs/unionfs gnu/fs/reiserfs nfsclient ufs/ffs

2012-11-20 Thread Attilio Rao
On 11/20/12, Konstantin Belousov kostik...@gmail.com wrote: On Tue, Nov 20, 2012 at 01:27:07PM +, Attilio Rao wrote: On 11/20/12, Bruce Evans b...@optusnet.com.au wrote: On Tue, 20 Nov 2012, Attilio Rao wrote: On 11/20/12, Attilio Rao atti...@freebsd.org wrote: On 11/20/12, Bruce

Re: svn commit: r242847 - in head/sys: i386/include kern

2012-11-20 Thread Andrey Zonov
On 11/18/12 6:13 PM, Andre Oppermann wrote: On 18.11.2012 15:05, Andrey Zonov wrote: On 11/11/12 3:04 AM, Andre Oppermann wrote: On 10.11.2012 23:24, Alfred Perlstein wrote: On 11/10/12 11:18 AM, Andre Oppermann wrote: On 10.11.2012 19:04, Peter Wemm wrote: This is complicated but we need a

Re: svn commit: r243311 - in head/sys: fs/ext2fs fs/msdosfs fs/nfsclient fs/nullfs fs/unionfs gnu/fs/reiserfs nfsclient ufs/ffs

2012-11-20 Thread Bruce Evans
On Tue, 20 Nov 2012, Attilio Rao wrote: On 11/20/12, Konstantin Belousov kostik...@gmail.com wrote: On Tue, Nov 20, 2012 at 01:27:07PM +, Attilio Rao wrote: On 11/20/12, Bruce Evans b...@optusnet.com.au wrote: ... I think I am right that the code makes no sense. It is ordered like it is

svn commit: r243339 - head/sys/modules/ufs

2012-11-20 Thread Konstantin Belousov
Author: kib Date: Tue Nov 20 15:23:22 2012 New Revision: 243339 URL: http://svnweb.freebsd.org/changeset/base/243339 Log: Fix module build after r243245. Modified: head/sys/modules/ufs/Makefile Modified: head/sys/modules/ufs/Makefile

svn commit: r243340 - head/sys/fs/nullfs

2012-11-20 Thread Konstantin Belousov
Author: kib Date: Tue Nov 20 15:25:00 2012 New Revision: 243340 URL: http://svnweb.freebsd.org/changeset/base/243340 Log: Remove the check and panic for an impossible condition. The NULL lowervp vnode v_vnlock would cause panic due to NULL pointer dereference much earlier. MFC after:

svn commit: r243341 - head/sys/kern

2012-11-20 Thread Konstantin Belousov
Author: kib Date: Tue Nov 20 15:33:48 2012 New Revision: 243341 URL: http://svnweb.freebsd.org/changeset/base/243341 Log: Add a special meaning to the negative ticks argument for taskqueue_enqueue_timeout(). Do not rearm the callout if it is already armed and the ticks is negative.

svn commit: r243342 - head/sys/kern

2012-11-20 Thread Konstantin Belousov
Author: kib Date: Tue Nov 20 15:45:48 2012 New Revision: 243342 URL: http://svnweb.freebsd.org/changeset/base/243342 Log: Schedule garbage collection run for the in-flight rights passed over the unix domain sockets to the next tick, coalescing the serial calls until the collection fires.

Re: svn commit: r243321 - head/usr.sbin/edquota

2012-11-20 Thread Eitan Adler
On 20 November 2012 02:03, Bruce Evans b...@optusnet.com.au wrote: On Tue, 20 Nov 2012, Eitan Adler wrote: Log: Remove unneeded includes. Tested with make universe; there are no conditional features. make universe can't find such features. Except inversely -- when it doesn't find

Re: svn commit: r243311 - in head/sys: fs/ext2fs fs/msdosfs fs/nfsclient fs/nullfs fs/unionfs gnu/fs/reiserfs nfsclient ufs/ffs

2012-11-20 Thread Eitan Adler
On 20 November 2012 03:17, Attilio Rao atti...@freebsd.org wrote: And the code makes perfectly sense if you know the history. One shouldn't have to know the history of the code to understand the present state. -- Eitan Adler Source, Ports, Doc committer Bugmeister, Ports Security teams

Re: svn commit: r243328 - head/lib/libutil

2012-11-20 Thread Eitan Adler
On 20 November 2012 08:38, Baptiste Daroussin b...@freebsd.org wrote: On Tue, Nov 20, 2012 at 02:22:26PM +0200, Jaakko Heinonen wrote: Hi! On 2012-11-20, Baptiste Daroussin wrote: change mode the group file to 0644 after a successfull rename(2) int gr_mkdb(void) { - return

svn commit: r243347 - in head: sys/conf sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/contrib/dev/acpica/compon...

2012-11-20 Thread Jung-uk Kim
Author: jkim Date: Tue Nov 20 21:01:59 2012 New Revision: 243347 URL: http://svnweb.freebsd.org/changeset/base/243347 Log: Merge ACPICA 20121114. Added: head/sys/contrib/dev/acpica/components/disassembler/dmdeferred.c - copied, changed from r243045,

svn commit: r243348 - head/share/mk

2012-11-20 Thread Dimitry Andric
Author: dim Date: Tue Nov 20 21:26:13 2012 New Revision: 243348 URL: http://svnweb.freebsd.org/changeset/base/243348 Log: Do not expose LIBCXXRT and LIBCPLUSPLUS in bsd.libnames.mk, if WITHOUT_LIBCPLUSPLUS is specified. Submitted by: Garrett Cooper yaneg...@gmail.com MFC after:3

svn commit: r243350 - stable/9/usr.bin/mktemp

2012-11-20 Thread Eitan Adler
Author: eadler Date: Wed Nov 21 00:31:56 2012 New Revision: 243350 URL: http://svnweb.freebsd.org/changeset/base/243350 Log: MFC r243240: Use the macro for standard error return values. .Dd not bumped because there is no important content change. Obtained from:

svn commit: r243351 - stable/8/usr.bin/mktemp

2012-11-20 Thread Eitan Adler
Author: eadler Date: Wed Nov 21 00:31:56 2012 New Revision: 243351 URL: http://svnweb.freebsd.org/changeset/base/243351 Log: MFC r243240: Use the macro for standard error return values. .Dd not bumped because there is no important content change. Obtained from:

svn commit: r243352 - stable/7/usr.bin/mktemp

2012-11-20 Thread Eitan Adler
Author: eadler Date: Wed Nov 21 00:31:57 2012 New Revision: 243352 URL: http://svnweb.freebsd.org/changeset/base/243352 Log: MFC r243240: Use the macro for standard error return values. .Dd not bumped because there is no important content change. Obtained from:

svn commit: r243353 - stable/8/share/man/man7

2012-11-20 Thread Eitan Adler
Author: eadler Date: Wed Nov 21 00:40:26 2012 New Revision: 243353 URL: http://svnweb.freebsd.org/changeset/base/243353 Log: MFC r243241: Modernize parts of the ports.7 manual page. Approved by: cperciva (implicit) Modified: stable/8/share/man/man7/ports.7 Directory Properties:

svn commit: r243354 - stable/7/share/man/man7

2012-11-20 Thread Eitan Adler
Author: eadler Date: Wed Nov 21 00:40:26 2012 New Revision: 243354 URL: http://svnweb.freebsd.org/changeset/base/243354 Log: MFC r243241: Modernize parts of the ports.7 manual page. Approved by: cperciva (implicit) Modified: stable/7/share/man/man7/ports.7 Directory Properties:

svn commit: r243355 - stable/9/share/man/man7

2012-11-20 Thread Eitan Adler
Author: eadler Date: Wed Nov 21 00:40:27 2012 New Revision: 243355 URL: http://svnweb.freebsd.org/changeset/base/243355 Log: MFC r243241: Modernize parts of the ports.7 manual page. Approved by: cperciva (implicit) Modified: stable/9/share/man/man7/ports.7 Directory Properties:

svn commit: r243356 - stable/9/sys/dev/uart

2012-11-20 Thread Eitan Adler
Author: eadler Date: Wed Nov 21 01:01:17 2012 New Revision: 243356 URL: http://svnweb.freebsd.org/changeset/base/243356 Log: MFC r243000: Add support for CIR1000 - Cirrus Logic V34 to the uart driver Approved by: cperciva (implicit) Modified:

svn commit: r243357 - stable/8/sys/dev/uart

2012-11-20 Thread Eitan Adler
Author: eadler Date: Wed Nov 21 01:01:18 2012 New Revision: 243357 URL: http://svnweb.freebsd.org/changeset/base/243357 Log: MFC r243000: Add support for CIR1000 - Cirrus Logic V34 to the uart driver Approved by: cperciva (implicit) Modified:

svn commit: r243358 - stable/7/sys/dev/uart

2012-11-20 Thread Eitan Adler
Author: eadler Date: Wed Nov 21 01:01:19 2012 New Revision: 243358 URL: http://svnweb.freebsd.org/changeset/base/243358 Log: MFC r243000: Add support for CIR1000 - Cirrus Logic V34 to the uart driver Approved by: cperciva (implicit) Modified:

svn commit: r243359 - head/sys/arm/arm

2012-11-20 Thread Olivier Houchard
Author: cognet Date: Wed Nov 21 01:38:40 2012 New Revision: 243359 URL: http://svnweb.freebsd.org/changeset/base/243359 Log: Make sure the address starts on a cache line boundary. Modified: head/sys/arm/arm/pl310.c Modified: head/sys/arm/arm/pl310.c

svn commit: r243366 - head/sys/vm

2012-11-20 Thread Alan Cox
Author: alc Date: Wed Nov 21 06:26:18 2012 New Revision: 243366 URL: http://svnweb.freebsd.org/changeset/base/243366 Log: Correct an error in r230623. When both VM_ALLOC_NODUMP and VM_ALLOC_ZERO were specified to vm_page_alloc(), PG_NODUMP wasn't being set on the allocated page when it