svn commit: r223926 - head/usr.bin/tftp

2011-07-10 Thread Xin LI
Author: delphij Date: Mon Jul 11 05:57:49 2011 New Revision: 223926 URL: http://svn.freebsd.org/changeset/base/223926 Log: peeraddr is only used in sizeof() evaluations, so instead of declaring it a variable, use typedef. MFC after:1 month Modified: head/usr.bin/tftp/main.c Modifi

svn commit: r223925 - head/usr.bin/ipcs

2011-07-10 Thread Xin LI
Author: delphij Date: Mon Jul 11 05:50:24 2011 New Revision: 223925 URL: http://svn.freebsd.org/changeset/base/223925 Log: Use %zu when printing size_t. MFC after:1 month Modified: head/usr.bin/ipcs/ipc.c Modified: head/usr.bin/ipcs/ipc.c

svn commit: r223924 - head/usr.bin/gcore

2011-07-10 Thread Xin LI
Author: delphij Date: Mon Jul 11 05:46:15 2011 New Revision: 223924 URL: http://svn.freebsd.org/changeset/base/223924 Log: Match size_t and ssize_t by using %zu and %zd instead of %d. MFC after:1 month Modified: head/usr.bin/gcore/elfcore.c Modified: head/usr.bin/gcore/elfcore.c ===

svn commit: r223923 - head/usr.bin/calendar

2011-07-10 Thread Xin LI
Author: delphij Date: Mon Jul 11 05:40:46 2011 New Revision: 223923 URL: http://svn.freebsd.org/changeset/base/223923 Log: Use a pair of parentheses to ensure right evaluation order. Modified: head/usr.bin/calendar/pom.c Modified: head/usr.bin/calendar/pom.c =

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

2011-07-10 Thread Xin LI
Author: delphij Date: Mon Jul 11 05:31:52 2011 New Revision: 223922 URL: http://svn.freebsd.org/changeset/base/223922 Log: Use strlcpy(). MFC after:1 month Modified: head/usr.bin/rpcgen/rpc_scan.c Modified: head/usr.bin/rpcgen/rpc_scan.c =

svn commit: r223921 - in head/sys/geom: . cache concat eli gate label mirror mountver multipath nop raid raid3 sched shsec stripe vinum virstor

2011-07-10 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 11 05:22:31 2011 New Revision: 223921 URL: http://svn.freebsd.org/changeset/base/223921 Log: Include sys/sbuf.h directly. Reviewed by: pjd Modified: head/sys/geom/cache/g_cache.c head/sys/geom/concat/g_concat.c head/sys/geom/eli/g_eli.c head/sys/geom/gate/

svn commit: r223920 - head/sys/dev/md

2011-07-10 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 11 05:19:28 2011 New Revision: 223920 URL: http://svn.freebsd.org/changeset/base/223920 Log: Include sys/sbuf.h directly. Modified: head/sys/dev/md/md.c Modified: head/sys/dev/md/md.c == ---

svn commit: r223919 - head/sys/kern

2011-07-10 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 11 05:17:46 2011 New Revision: 223919 URL: http://svn.freebsd.org/changeset/base/223919 Log: Include sys/sbuf.h directly. Modified: head/sys/kern/vfs_mount.c head/sys/kern/vfs_mountroot.c Modified: head/sys/kern/vfs_mount.c =

svn commit: r223918 - stable/8/sys/ufs/ffs

2011-07-10 Thread Kirk McKusick
Author: mckusick Date: Mon Jul 11 05:16:12 2011 New Revision: 223918 URL: http://svn.freebsd.org/changeset/base/223918 Log: MFC r223902: When first creating snapshots, we may free some blocks within it. These blocks should not have TRIM applied to them. Submitted by: Kostik Belousov Mo

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

2011-07-10 Thread Pan Tsu
Doug Barton writes: > On 07/10/2011 17:42, Pan Tsu wrote: >> Doug Barton writes: >> >>> Author: dougb >>> Date: Sun Jul 10 23:47:03 2011 >>> New Revision: 223917 >>> URL: http://svn.freebsd.org/changeset/base/223917 >>> >>> Log: >>> Make sure we load kernel modules from the same path as the r

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

2011-07-10 Thread Doug Barton
On 07/10/2011 17:42, Pan Tsu wrote: > Doug Barton writes: > >> Author: dougb >> Date: Sun Jul 10 23:47:03 2011 >> New Revision: 223917 >> URL: http://svn.freebsd.org/changeset/base/223917 >> >> Log: >> Make sure we load kernel modules from the same path as the running kernel >> >> Modified: >>

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

2011-07-10 Thread Pan Tsu
Doug Barton writes: > Author: dougb > Date: Sun Jul 10 23:47:03 2011 > New Revision: 223917 > URL: http://svn.freebsd.org/changeset/base/223917 > > Log: > Make sure we load kernel modules from the same path as the running kernel > > Modified: > head/etc/rc.d/kld > > Modified: head/etc/rc.d/kl

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

2011-07-10 Thread Doug Barton
Author: dougb Date: Sun Jul 10 23:47:03 2011 New Revision: 223917 URL: http://svn.freebsd.org/changeset/base/223917 Log: Make sure we load kernel modules from the same path as the running kernel Modified: head/etc/rc.d/kld Modified: head/etc/rc.d/kld =

svn commit: r223916 - stable/7/share/man/man4

2011-07-10 Thread Pyun YongHyeon
Author: yongari Date: Sun Jul 10 22:09:53 2011 New Revision: 223916 URL: http://svn.freebsd.org/changeset/base/223916 Log: MFC r223683: Document two known hardware errata which requires manual link configuration. Submitted by: Aries Lee (arieslee <> jmicron com) Modified:

svn commit: r223915 - stable/8/share/man/man4

2011-07-10 Thread Pyun YongHyeon
Author: yongari Date: Sun Jul 10 22:09:34 2011 New Revision: 223915 URL: http://svn.freebsd.org/changeset/base/223915 Log: MFC r223683: Document two known hardware errata which requires manual link configuration. Submitted by: Aries Lee (arieslee <> jmicron com) Modified:

svn commit: r223914 - head/sys/vm

2011-07-10 Thread Konstantin Belousov
Author: kib Date: Sun Jul 10 20:49:13 2011 New Revision: 223914 URL: http://svn.freebsd.org/changeset/base/223914 Log: Extract the code to translate VM error into errno, into an exported function vm_mmap_to_errno(). It is useful for the drivers that implement mmap(2)-like functionality, to b

svn commit: r223913 - head/sys/vm

2011-07-10 Thread Konstantin Belousov
Author: kib Date: Sun Jul 10 20:45:13 2011 New Revision: 223913 URL: http://svn.freebsd.org/changeset/base/223913 Log: Style. MFC after:3 days Modified: head/sys/vm/vm_mmap.c Modified: head/sys/vm/vm_mmap.c

Re: svn commit: r223912 - head/share/man/man8

2011-07-10 Thread Niclas Zeising
On 2011-07-10 22:15, Ivan Voras wrote: > Author: ivoras > Date: Sun Jul 10 20:15:21 2011 > New Revision: 223912 > URL: http://svn.freebsd.org/changeset/base/223912 > > Log: > Cross reference nanobsd(8) > > Modified: > head/share/man/man8/picobsd.8 > > Modified: head/share/man/man8/picobsd.8

svn commit: r223912 - head/share/man/man8

2011-07-10 Thread Ivan Voras
Author: ivoras Date: Sun Jul 10 20:15:21 2011 New Revision: 223912 URL: http://svn.freebsd.org/changeset/base/223912 Log: Cross reference nanobsd(8) Modified: head/share/man/man8/picobsd.8 Modified: head/share/man/man8/picobsd.8 ===

svn commit: r223911 - head/sys/sys

2011-07-10 Thread Konstantin Belousov
Author: kib Date: Sun Jul 10 18:57:35 2011 New Revision: 223911 URL: http://svn.freebsd.org/changeset/base/223911 Log: Update locking annotations for the struct vnode. MFC after:3 days Modified: head/sys/sys/vnode.h Modified: head/sys/sys/vnode.h

Re: svn commit: r223906 - head/include/rpc

2011-07-10 Thread Bruce Evans
On Sun, 10 Jul 2011, Kevin Lo wrote: Log: Revert the previous change and add xdr_sizeof Requested by: bde Modified: head/include/rpc/xdr.h Thanks. Bruce ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src

Re: svn commit: r223854 - head/lib/libstand

2011-07-10 Thread Warner Losh
On Jul 9, 2011, at 11:50 PM, Doug Barton wrote: > On 07/09/2011 22:25, Warner Losh wrote: >> Having the low WARNS= today motivates people to fix stuff... > > I see absolutely no evidence of that, but it's clear that your opinion > is not likely to change, so I'll leave it alone. As someone who

svn commit: r223909 - head/bin/sh

2011-07-10 Thread Jilles Tjoelker
Author: jilles Date: Sun Jul 10 15:02:25 2011 New Revision: 223909 URL: http://svn.freebsd.org/changeset/base/223909 Log: sh(1): Extend documentation about subshells. Because sh executes commands in subshell environments without forking in more and more cases (particularly from 8.0 on), i

svn commit: r223908 - head

2011-07-10 Thread Antoine Brodin
Author: antoine Date: Sun Jul 10 15:01:14 2011 New Revision: 223908 URL: http://svn.freebsd.org/changeset/base/223908 Log: Add more obsolete files. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ==

svn commit: r223907 - in head: lib/libc/gen tools/regression/lib/libc/gen

2011-07-10 Thread Jilles Tjoelker
Author: jilles Date: Sun Jul 10 14:20:11 2011 New Revision: 223907 URL: http://svn.freebsd.org/changeset/base/223907 Log: posix_spawn: If an error is detected in the child process, reap the zombie. Formerly, in this case an error was returned but the pid was also returned to the applicati

svn commit: r223906 - head/include/rpc

2011-07-10 Thread Kevin Lo
Author: kevlo Date: Sun Jul 10 14:03:13 2011 New Revision: 223906 URL: http://svn.freebsd.org/changeset/base/223906 Log: Revert the previous change and add xdr_sizeof Requested by: bde Modified: head/include/rpc/xdr.h Modified: head/include/rpc/xdr.h

Re: svn commit: r223904 - head/lib/libstand

2011-07-10 Thread Bruce Evans
On Sun, 10 Jul 2011, Kevin Lo wrote: Log: style(9) cleanup Modified: head/lib/libstand/zalloc_defs.h Modified: head/lib/libstand/zalloc_defs.h == --- head/lib/libstand/zalloc_defs.h Sun Jul 10 06:57:00 2011

Re: svn commit: r223877 - in head: include/rpc lib/libc/xdr

2011-07-10 Thread Bruce Evans
On Sun, 10 Jul 2011, Kevin Lo wrote: On Sun, 2011-07-10 at 03:45 +1000, Bruce Evans wrote: On Sat, 9 Jul 2011, Kevin Lo wrote: Log: - Add xdr_sizeof(3) to libc - Document xdr_sizeof(3); from NetBSD Discussed with:kib Any reason to further break the style of every changed line of

svn commit: r223905 - head/lib/libstand

2011-07-10 Thread Tai-hwa Liang
Author: avatar Date: Sun Jul 10 07:25:34 2011 New Revision: 223905 URL: http://svn.freebsd.org/changeset/base/223905 Log: - Removing some unneeded definitions of NULL(cruft related to 1970's C). In C90, NULL is guaranteed to be declared in and also in . Though the correct way to define

svn commit: r223904 - head/lib/libstand

2011-07-10 Thread Kevin Lo
Author: kevlo Date: Sun Jul 10 07:14:32 2011 New Revision: 223904 URL: http://svn.freebsd.org/changeset/base/223904 Log: style(9) cleanup Modified: head/lib/libstand/zalloc_defs.h Modified: head/lib/libstand/zalloc_defs.h ==

Re: svn commit: r223877 - in head: include/rpc lib/libc/xdr

2011-07-10 Thread Kevin Lo
On Sun, 2011-07-10 at 03:45 +1000, Bruce Evans wrote: > On Sat, 9 Jul 2011, Kevin Lo wrote: > > > Log: > > - Add xdr_sizeof(3) to libc > > - Document xdr_sizeof(3); from NetBSD > > > > Discussed with:kib > > Any reason to further break the style of every changed line of the header? Does i