CVS commit: src/usr.bin/grep

2011-04-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Apr 18 03:48:23 UTC 2011 Modified Files: src/usr.bin/grep: grep.c Log Message: Use the more portable getline. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/grep/grep.c Please note that diffs are not

CVS commit: src/usr.bin/grep

2011-04-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Apr 18 03:47:40 UTC 2011 Modified Files: src/usr.bin/grep: queue.c Log Message: Fix memory leaks. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.bin/grep/queue.c Please note that diffs are not public dom

CVS commit: src/usr.bin/grep

2011-04-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Apr 18 03:27:40 UTC 2011 Modified Files: src/usr.bin/grep: fastgrep.c file.c grep.c queue.c util.c Log Message: Include nbtool_config.h for tool builds. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/

CVS commit: src/sys/arch/xen/xen

2011-04-17 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Apr 18 03:04:31 UTC 2011 Modified Files: src/sys/arch/xen/xen: balloon.c Log Message: balloon_xenbus_attach: use KM_SLEEP for allocation. Note: please do not use KM_NOSLEEP. To generate a diff of this commit: cvs rdiff -u -r

CVS commit: src/share/mk

2011-04-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Apr 18 02:16:55 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Fix --sysroot usage. To generate a diff of this commit: cvs rdiff -u -r1.661 -r1.662 src/share/mk/bsd.own.mk Please note that diffs are not publi

CVS commit: src/sys/dev

2011-04-17 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Apr 18 01:47:28 UTC 2011 Modified Files: src/sys/dev/ata: ata.c atavar.h src/sys/dev/scsipi: scsiconf.c Log Message: Replace few simple_lock and ltsleep/wakeup uses with mutex(9) and condvar(9). Note to all: please rep

CVS commit: src/sys/arch

2011-04-17 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Apr 18 01:36:25 UTC 2011 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 XEN3_DOMU src/sys/arch/i386/conf: XEN3_DOM0 XEN3_DOMU src/sys/arch/xen/conf: files.xen src/sys/arch/xen/xen: balloon.c src

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:47:24 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Simplify logic: at the bottom of the loop, instead of checking if we should continue and if not breaking unconditionally, check if we should br

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:47:04 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Goto considered harmful: now the "goto alldone" can be dropped by reversing the sense of the associated test and using the big block I moved a

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:46:39 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: The "goto alldone" from a couple patches back (inside the loop) can now be changed to a loop break and another null test and goto outside the l

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:46:14 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Goto considered harmful: "goto terminal" can now just be "break". To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/ker

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:45:53 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Move the big chunk of code at "terminal:" outside the loop; since it has an unconditional loop break at the end this can be done safely, now th

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:45:29 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Goto still harmful, but use "goto alldone" in place of a loop break for now anyway. To generate a diff of this commit: cvs rdiff -u -r1.177 -

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:45:07 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Goto considered harmful; remove dirloop: in favor of using a loop continue. This runs the "are we mounted?" test on every directory instead of

CVS commit: src/sys

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:43:57 UTC 2011 Modified Files: src/sys/rump/include/rump: rump_namei.h src/sys/sys: namei.h Log Message: Regen for ISSYMLINK removal. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/

CVS commit: src/sys

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:40:54 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c src/sys/sys: namei.src Log Message: ISSYMLINK is now only referenced inside vfs_lookup.c, and not needed there, so get rid of it. To generate a di

CVS commit: src/sys/nfs

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:38:33 UTC 2011 Modified Files: src/sys/nfs: nfs_serv.c Log Message: Back in -r1.60 of nfs_serv.c (a long time ago) VOP_MKNOD was changed so nfsd no longer needed to do a lookup() call immediately afterwards to retr

CVS commit: src/sys

2011-04-17 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Apr 18 00:26:12 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: machdep.c trap.c vm_machdep.c src/sys/kern: kern_proc.c src/sys/sys: proc.h Log Message: Replace malloc with kmem, and remove M_SUBPROC. To ge

CVS commit: src/sys/arch/xen/xen

2011-04-17 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Apr 17 23:54:05 UTC 2011 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Remove remnants from the past when Xen 2 was still alive. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/xen/x

CVS commit: src/lib/libc/db

2011-04-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 17 23:12:38 UTC 2011 Modified Files: src/lib/libc/db/btree: bt_open.c src/lib/libc/db/hash: hash_page.c Log Message: Correct check for snprintf() overflow via Maksymilian Arciemowicz from FreeBSD. (the bt one was

CVS commit: src/usr.bin/mkdep

2011-04-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 17 22:35:22 UTC 2011 Modified Files: src/usr.bin/mkdep: mkdep.c Log Message: Recognize --sysroot but don't document it or do anything about it for now. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/

CVS commit: src/sys/kern

2011-04-17 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Apr 17 20:37:43 UTC 2011 Modified Files: src/sys/kern: uipc_sem.c Log Message: ksem_free: remove wrong assert. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/kern/uipc_sem.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2011-04-17 Thread Frank Wille
Module Name:src Committed By: phx Date: Sun Apr 17 15:15:00 UTC 2011 Modified Files: src/sys/dev/i2c: motoi2c.c motoi2cvar.h Log Message: Suppressing the ACK after the last byte read must not depend on I2C_OP_STOP_P(), but all read-transfers have to be finished that way. O

CVS commit: src/share/mk

2011-04-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 17 15:03:37 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Revert previous, breaks builds completely (cd /usr/src/bin/test && make clean && make) To generate a diff of this commit: cvs rdiff -u -r1.660

CVS commit: src/sys/dev/i2c

2011-04-17 Thread Frank Wille
Module Name:src Committed By: phx Date: Sun Apr 17 14:58:27 UTC 2011 Modified Files: src/sys/dev/i2c: m41st84.c Log Message: Do not print "M41ST84 Real-time Clock/NVRAM", but "M41T8x Real-time Clock" when STRTC_NO_USERRAM is defined. This driver should work for all M41T8x

CVS commit: src/sys/arch/sandpoint/sandpoint

2011-04-17 Thread Frank Wille
Module Name:src Committed By: phx Date: Sun Apr 17 14:05:59 UTC 2011 Modified Files: src/sys/arch/sandpoint/sandpoint: satmgr.c Log Message: DSM-G600: Turn off all LEDs when shutting down, to indicate the device can be switched off. To generate a diff of this commit: cvs

CVS commit: src/usr.sbin/postinstall

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 13:16:59 UTC 2011 Modified Files: src/usr.sbin/postinstall: postinstall Log Message: Invert the chroot/tcpdump/etc test and make it remove the (not needed anymore) directory. To generate a diff of this commit: cvs rdi

CVS commit: src/sys/arch/sandpoint/stand/altboot

2011-04-17 Thread Frank Wille
Module Name:src Committed By: phx Date: Sun Apr 17 13:09:30 UTC 2011 Modified Files: src/sys/arch/sandpoint/stand/altboot: brdsetup.c Log Message: DSM-G600 has a 33.000 MHz oscillator on board. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/sa

CVS commit: src/etc

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 13:07:18 UTC 2011 Modified Files: src/etc: Makefile src/etc/mtree: NetBSD.dist.base special Log Message: Get rid of var/chroot/tcpdump/etc To generate a diff of this commit: cvs rdiff -u -r1.389 -r1.390 src/et

CVS commit: src/distrib/sets/lists/base

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 13:04:50 UTC 2011 Modified Files: src/distrib/sets/lists/base: mi Log Message: Get rid of /var/chroot/tcpdump/etc To generate a diff of this commit: cvs rdiff -u -r1.932 -r1.933 src/distrib/sets/lists/base/mi Please

CVS commit: src/share/mk

2011-04-17 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sun Apr 17 12:54:23 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Don't use "--sysroot=/" for host builds as "nbhost-mkdep" doesn't understand that option. This should unbreak tool builds. To generate a diff of th

CVS commit: src/tools

2011-04-17 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sun Apr 17 12:52:26 UTC 2011 Modified Files: src/tools/libctf: Makefile src/tools/libdwarf: Makefile src/tools/libelf: Makefile Log Message: Set "HOSTLIB" before including "bsd.own.mk" to get the destination director

CVS commit: src/distrib/utils/sysinst

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 12:33:42 UTC 2011 Modified Files: src/distrib/utils/sysinst: menus.mi msg.mi.de msg.mi.en msg.mi.es msg.mi.fr msg.mi.pl Log Message: Add an "exitstring" to the utility menu, so translations can provide prope

CVS commit: src/distrib

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 12:18:20 UTC 2011 Modified Files: src/distrib/amd64/cdroms: Makefile.cdrom install.sh src/distrib/i386/cdroms: Makefile.cdrom install.sh src/distrib/sparc64/cdroms/installcd: Makefile install.sh s

CVS commit: src/external/bsd/tcpdump/dist

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 11:45:40 UTC 2011 Modified Files: src/external/bsd/tcpdump/dist: tcpdump.c Log Message: Hint from dsl: make sure to have the /etc/protocols file already open before doing a chroot() if run as root. Easily done by a setp

CVS commit: src/distrib/sets/lists/comp

2011-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 17 10:06:49 UTC 2011 Modified Files: src/distrib/sets/lists/comp: ad.mips64el Log Message: catch up with heimdal update. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/distrib/sets/lists/comp/ad.mips64el

CVS commit: src/sys/arch/xen/include

2011-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 17 09:50:33 UTC 2011 Modified Files: src/sys/arch/xen/include: xen.h xenpmap.h Log Message: apply some _KERNEL_OPT. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/xen/include/xen.h cvs rdiff -u -

CVS commit: src/share/mk

2011-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 17 09:47:41 UTC 2011 Modified Files: src/share/mk: bsd.kmodule.mk Log Message: prepare for evbppc modules, and allow overriding the ${MACHINE} for installed modules. To generate a diff of this commit: cvs rdiff -u -r1.27 -r

CVS commit: src/distrib/sets/lists

2011-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 17 09:01:58 UTC 2011 Modified Files: src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.sparc64 src/distrib/sets/lists/comp: ad.mips64eb md.amd64 md.sparc64 mi shl.mi Log Message: various updates to deal with hei