CVS commit: src/sbin/iscsid

2011-11-21 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Nov 21 08:23:20 UTC 2011

Modified Files:
src/sbin/iscsid: iscsid.8

Log Message:
Fix title and xrefs.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/iscsid/iscsid.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/iscsid/iscsid.8
diff -u src/sbin/iscsid/iscsid.8:1.1 src/sbin/iscsid/iscsid.8:1.2
--- src/sbin/iscsid/iscsid.8:1.1	Sun Oct 23 21:11:23 2011
+++ src/sbin/iscsid/iscsid.8	Mon Nov 21 08:23:20 2011
@@ -1,4 +1,4 @@
-.\ $NetBSD: iscsid.8,v 1.1 2011/10/23 21:11:23 agc Exp $
+.\ $NetBSD: iscsid.8,v 1.2 2011/11/21 08:23:20 njoly Exp $
 .\
 .\ Copyright (c) 2011 Alistair Crooks a...@netbsd.org
 .\ All rights reserved.
@@ -24,7 +24,7 @@
 .\ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\
 .Dd August 8, 2011
-.Dt ISCSICTL 8
+.Dt ISCSID 8
 .Os
 .Sh NAME
 .Nm iscsid
@@ -39,7 +39,7 @@ The
 .Nm
 utility itself interfaces to the kernel iSCSI driver, and also
 communicates, using
-.Xr libisns 3 ,
+.Xr isns 3 ,
 with the iSCSI name service running on other hosts
 to locate services and iSCSI instances.
 In normal operation,
@@ -69,7 +69,7 @@ is shown in
 .Xr iscsictl 8 .
 .Sh SEE ALSO
 .Xr daemon 3 ,
-.Xr libisns 3 ,
+.Xr isns 3 ,
 .Xr iscsictl 8
 .Sh HISTORY
 The



CVS commit: src/share/man/man8

2011-11-21 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Nov 21 14:27:41 UTC 2011

Modified Files:
src/share/man/man8: compat_freebsd.8 compat_ibcs2.8 compat_linux.8

Log Message:
Switch from .nf/.fi groff macros to .Bd -literal/.Ed blocks.
While here, convert .sp macro to .Pp.

ok wiz@.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/share/man/man8/compat_freebsd.8
cvs rdiff -u -r1.5 -r1.6 src/share/man/man8/compat_ibcs2.8
cvs rdiff -u -r1.36 -r1.37 src/share/man/man8/compat_linux.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man8/compat_freebsd.8
diff -u src/share/man/man8/compat_freebsd.8:1.13 src/share/man/man8/compat_freebsd.8:1.14
--- src/share/man/man8/compat_freebsd.8:1.13	Wed Feb 13 08:18:21 2002
+++ src/share/man/man8/compat_freebsd.8	Mon Nov 21 14:27:41 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: compat_freebsd.8,v 1.13 2002/02/13 08:18:21 ross Exp $
+.\	$NetBSD: compat_freebsd.8,v 1.14 2011/11/21 14:27:41 njoly Exp $
 .\	from: compat_linux.8,v 1.1 1995/03/05 23:30:36 fvdl Exp
 .\
 .\ Copyright (c) 1995 Frank van der Linden
@@ -128,18 +128,15 @@ Put it on the
 system you have access to, and check which shared libraries it
 needs by running
 .Sq ldd sim :
-.Pp
-.Bl -tag -width 123 -compact -offset indent
-.It me@freebsd% ldd /usr/local/lib/SimCity/res/sim
-.nf
+.Bd -literal -offset indent
+me@freebsd% ldd /usr/local/lib/SimCity/res/sim
 /usr/local/lib/SimCity/res/sim:
 	-lXext.6 =\*[Gt] /usr/X11R6/lib/libXext.so.6.0 (0x100c1000)
 	-lX11.6 =\*[Gt] /usr/X11R6/lib/libX11.so.6.0 (0x100c9000)
 	-lc.2 =\*[Gt] /usr/lib/libc.so.2.1 (0x10144000)
 	-lm.2 =\*[Gt] /usr/lib/libm.so.2.0 (0x101a7000)
 	-lgcc.261 =\*[Gt] /usr/lib/libgcc.so.261.0 (0x101bf000)
-.fi
-.El
+.Ed
 .Pp
 You would need go get all the files from the last column, and
 put them under
@@ -179,10 +176,9 @@ So, if you have these libraries on your 
 .Pp
 and you find that the ldd output for a new binary you want to
 install is:
-.Pp
-.nf
+.Bd -literal
 \-lc.2 =\*[Gt] /usr/lib/libc.so.2.1 (0x10144000)
-.fi
+.Ed
 .Pp
 You won't need to worry about copying
 .Pa /usr/lib/libc.so.2.1
@@ -259,12 +255,11 @@ ldconfig program with directory argument
 runtime linker should look for shared libs.
 .Pa /usr/lib
 are standard, you could run like the following:
-.Pp
-.Bl -tag -width 123 -compact -offset indent
-.It me@netbsd% mkdir -p /emul/freebsd/var/run
-.It me@netbsd% touch /emul/freebsd/var/run/ld.so.hints
-.It me@netbsd% ldconfig-freebsd /usr/X11R6/lib /usr/local/lib
-.El
+.Bd -literal -offset indent
+me@netbsd% mkdir -p /emul/freebsd/var/run
+me@netbsd% touch /emul/freebsd/var/run/ld.so.hints
+me@netbsd% ldconfig-freebsd /usr/X11R6/lib /usr/local/lib
+.Ed
 .Pp
 Note that argument directories of ldconfig are
 mapped to
@@ -298,14 +293,11 @@ You can test this by running the
 on itself.  Suppose that you have it installed as
 .Ic ldd-freebsd ,
 it should produce something like:
-.Pp
-.Bl -tag -width 123 -compact -offset indent
-.It me@netbsd% ldd-freebsd `which ldd-freebsd`
-.nf
+.Bd -literal -offset indent
+me@netbsd% ldd-freebsd `which ldd-freebsd`
 /usr/local/bin/ldd-freebsd:
 	-lc.2 =\*[Gt] /usr/lib/libc.so.2.1 (0x1001a000)
-.fi
-.El
+.Ed
 .Pp
 This being done, you are ready to install new
 .Fx
@@ -397,7 +389,6 @@ retrieve files
 too.  The way to look something up is to retrieve all the files in the
 distribution, and ``tar ztvf'' through them for the file you need.
 Here is an example of a list of files that you might need.
-.Pp
 .Bd -literal -offset indent
 Needed Files
 

Index: src/share/man/man8/compat_ibcs2.8
diff -u src/share/man/man8/compat_ibcs2.8:1.5 src/share/man/man8/compat_ibcs2.8:1.6
--- src/share/man/man8/compat_ibcs2.8:1.5	Wed Sep  5 23:47:15 2001
+++ src/share/man/man8/compat_ibcs2.8	Mon Nov 21 14:27:41 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: compat_ibcs2.8,v 1.5 2001/09/05 23:47:15 wiz Exp $
+.\	$NetBSD: compat_ibcs2.8,v 1.6 2011/11/21 14:27:41 njoly Exp $
 .\
 .\ Copyright (c) 1998 Scott Bartram
 .\ Copyright (c) 1995 Frank van der Linden
@@ -56,7 +56,7 @@ iBCS2 supports COFF, ELF, and x.out (XEN
 Binaries from SCO OpenServer (version 5.x) are the only ELF binaries
 that have been tested.
 Most programs should work, but not ones that use or depend on:
-.sp
+.Pp
 .Bl -item -compact -offset indent
 .It
 kernel internal data structures
@@ -67,7 +67,7 @@ local X displays (uses a STREAMS pipe)
 .It
 virtual 8086 mode
 .El
-.sp
+.Pp
 The iBCS2 compatibility feature is active for kernels compiled with
 the
 .Dv COMPAT_IBCS2
@@ -122,28 +122,25 @@ will need to be root on your
 .Nx
 system to do the necessary
 installation steps).
-.Pp
 .Bl -tag -width COFF binaries
 .It COFF binaries
 You can simply copy all of the available shared libraries since they
 are fairly small in size. The COFF shared libraries are typically
 found in /shlib and can be obtained from the following sources:
-.sp
-.nf
+.Bd 

CVS commit: src/sys/compat/linux/arch/alpha

2011-11-21 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Nov 21 22:00:43 UTC 2011

Modified Files:
src/sys/compat/linux/arch/alpha: linux_machdep.h

Log Message:
Adjust setup_linux_rt_sigframe/setup_linux_sigframe prototypes.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/compat/linux/arch/alpha/linux_machdep.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/alpha/linux_machdep.h
diff -u src/sys/compat/linux/arch/alpha/linux_machdep.h:1.11 src/sys/compat/linux/arch/alpha/linux_machdep.h:1.12
--- src/sys/compat/linux/arch/alpha/linux_machdep.h:1.11	Mon Apr 28 20:23:42 2008
+++ src/sys/compat/linux/arch/alpha/linux_machdep.h	Mon Nov 21 22:00:42 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_machdep.h,v 1.11 2008/04/28 20:23:42 martin Exp $	*/
+/*	$NetBSD: linux_machdep.h,v 1.12 2011/11/21 22:00:42 njoly Exp $	*/
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -92,10 +92,12 @@ struct linux_rt_sigframe {
 
 #ifdef _KERNEL
 __BEGIN_DECLS
-void setup_linux_rt_sigframe(struct trapframe *, int, const sigset_t *);
-void setup_linux_sigframe(struct trapframe *, int, const sigset_t *);
+void setup_linux_rt_sigframe(struct trapframe *, const ksiginfo_t *,
+const sigset_t *);
+void setup_linux_sigframe(struct trapframe *, const ksiginfo_t *,
+const sigset_t *);
 int linux_restore_sigcontext(struct lwp *, struct linux_sigcontext,
-  sigset_t *);
+sigset_t *);
 void linux_syscall_intern(struct proc *);
 __END_DECLS
 #endif /* !_KERNEL */



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

2011-11-20 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sun Nov 20 21:50:39 UTC 2011

Modified Files:
src/distrib/sets/lists/xcomp: md.sparc

Log Message:
Add Xorg modules debug entries.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/distrib/sets/lists/xcomp/md.sparc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/xcomp/md.sparc
diff -u src/distrib/sets/lists/xcomp/md.sparc:1.9 src/distrib/sets/lists/xcomp/md.sparc:1.10
--- src/distrib/sets/lists/xcomp/md.sparc:1.9	Sun Mar 14 23:19:18 2010
+++ src/distrib/sets/lists/xcomp/md.sparc	Sun Nov 20 21:50:38 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: md.sparc,v 1.9 2010/03/14 23:19:18 mrg Exp $
+#	$NetBSD: md.sparc,v 1.10 2011/11/20 21:50:38 njoly Exp $
 ./usr/libdata/debug/usr/X11R7/bin/Xorg.debug		-unknown-	debug,xorg
 ./usr/libdata/debug/usr/X11R7/bin/Xvfb.debug		-unknown-	debug,xorg
 ./usr/libdata/debug/usr/X11R7/bin/cvt.debug		-unknown-	debug,xorg
@@ -7,3 +7,79 @@
 ./usr/libdata/debug/usr/X11R7/bin/scanpci.debug		-unknown-	obsolete
 ./usr/libdata/debug/usr/X11R7/bin/xf86cfg.debug		-unknown-	obsolete
 ./usr/libdata/debug/usr/X11R7/bin/xf86config.debug	-unknown-	obsolete
+./usr/libdata/debug/usr/X11R7/lib/modules/dri/libmach64_dri.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/dri/libmga_dri.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/dri/libr128_dri.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/dri/libr200_dri.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/dri/libr300_dri.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/dri/libr600_dri.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/dri/libradeon_dri.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libag10e_drv.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libati_drv.so.6.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libglint_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libkbd_drv.so.1.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libmach64_drv.so.6.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libmga_drv.so.1.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libmouse_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libpnozz_drv.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libr128_drv.so.6.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libradeon_drv.so.6.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libsuncg14_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libsuncg6_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libsunffb_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libsunleo_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libsuntcx_drv.so.1.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libws_drv.so.1.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/drivers/libwsfb_drv.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdbe.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libdri2.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libextmod.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libglx.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/librecord.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/extensions/libshadow.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/libexa.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/libfb.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/libi2c.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/libshadowfb.so.0.debug	-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/libvbe.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/libvgahw.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/libxaa.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/dri/libmach64_dri.so.0.debug		-unknown-	xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/modules/dri/libmga_dri.so.0.debug		-unknown-	xorg,debug

CVS commit: src/distrib/sparc/miniroot

2011-11-18 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Nov 18 21:32:46 UTC 2011

Modified Files:
src/distrib/sparc/miniroot: list

Log Message:
Switch from COPYDIR to COPY/LINK when populating usr/mdec directory, to
avoid file duplication.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/distrib/sparc/miniroot/list

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sparc/miniroot/list
diff -u src/distrib/sparc/miniroot/list:1.36 src/distrib/sparc/miniroot/list:1.37
--- src/distrib/sparc/miniroot/list:1.36	Sun Jul  3 23:11:33 2011
+++ src/distrib/sparc/miniroot/list	Fri Nov 18 21:32:46 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: list,v 1.36 2011/07/03 23:11:33 tron Exp $
+#	$NetBSD: list,v 1.37 2011/11/18 21:32:46 njoly Exp $
 
 # Sparc extra's
 PROG	bin/rcmd
@@ -24,9 +24,15 @@ SPECIAL	less	srcdir external/bsd/less/bi
 SYMLINK	/tmp	var/tmp
 
 # we need the contents of /usr/mdec
-COPYDIR	${DESTDIR}/usr/mdec	usr/mdec
-# ensure binstall is executable
-MTREE	./usr/mdec/binstall	mode=0555
+COPY	${DESTDIR}/usr/mdec/binstall	usr/mdec/binstall	555
+COPY	${DESTDIR}/usr/mdec/boot	usr/mdec/boot
+LINK	usr/mdec/boot			usr/mdec/boot.388000
+COPY	${DESTDIR}/usr/mdec/boot.net	usr/mdec/boot.net
+COPY	${DESTDIR}/usr/mdec/bootblk	usr/mdec/bootblk
+COPY	${DESTDIR}/usr/mdec/bootjs.net	usr/mdec/bootjs.net
+COPY	${DESTDIR}/usr/mdec/bootxx	usr/mdec/bootxx
+COPY	${DESTDIR}/usr/mdec/ofwboot	usr/mdec/ofwboot
+LINK	usr/mdec/ofwboot		usr/mdec/ofwboot.net
 
 # copy the kernel
 COPY	${KERNOBJDIR}/GENERIC/netbsd	netbsd



CVS commit: src/sys/compat/netbsd32

2011-11-15 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Nov 15 14:13:18 UTC 2011

Modified Files:
src/sys/compat/netbsd32: netbsd32_netbsd.c

Log Message:
Fix pipe2 return value.


To generate a diff of this commit:
cvs rdiff -u -r1.174 -r1.175 src/sys/compat/netbsd32/netbsd32_netbsd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/netbsd32/netbsd32_netbsd.c
diff -u src/sys/compat/netbsd32/netbsd32_netbsd.c:1.174 src/sys/compat/netbsd32/netbsd32_netbsd.c:1.175
--- src/sys/compat/netbsd32/netbsd32_netbsd.c:1.174	Tue Nov  8 10:59:12 2011
+++ src/sys/compat/netbsd32/netbsd32_netbsd.c	Tue Nov 15 14:13:17 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_netbsd.c,v 1.174 2011/11/08 10:59:12 njoly Exp $	*/
+/*	$NetBSD: netbsd32_netbsd.c,v 1.175 2011/11/15 14:13:17 njoly Exp $	*/
 
 /*
  * Copyright (c) 1998, 2001, 2008 Matthew R. Green
@@ -27,7 +27,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: netbsd32_netbsd.c,v 1.174 2011/11/08 10:59:12 njoly Exp $);
+__KERNEL_RCSID(0, $NetBSD: netbsd32_netbsd.c,v 1.175 2011/11/15 14:13:17 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #include opt_ddb.h
@@ -2579,12 +2579,18 @@ netbsd32_pipe2(struct lwp *l, const stru
 	int fd[2], error;
 
 	error = pipe1(l, retval, SCARG(uap, flags));
-	if (error)
+	if (error != 0)
 		return error;
 
 	fd[0] = retval[0];
 	fd[1] = retval[1];
-	return copyout(fd, SCARG_P32(uap, fildes), sizeof(fd));
+
+	error = copyout(fd, SCARG_P32(uap, fildes), sizeof(fd));
+	if (error != 0)
+		return error;
+
+	retval[0] = 0;
+	return 0;
 }
 
 int



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

2011-11-15 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Nov 15 22:02:20 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: mi

Log Message:
+iscsictl.debug +iscsid.debug


To generate a diff of this commit:
cvs rdiff -u -r1.1710 -r1.1711 src/distrib/sets/lists/comp/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1710 src/distrib/sets/lists/comp/mi:1.1711
--- src/distrib/sets/lists/comp/mi:1.1710	Tue Nov 15 16:50:44 2011
+++ src/distrib/sets/lists/comp/mi	Tue Nov 15 22:02:19 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.1710 2011/11/15 16:50:44 riz Exp $
+#	$NetBSD: mi,v 1.1711 2011/11/15 22:02:19 njoly Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -3410,6 +3410,8 @@
 ./usr/libdata/debug/sbin/ifconfig.debug		comp-netutil-debug	debug
 ./usr/libdata/debug/sbin/init.debug		comp-sysutil-debug	debug
 ./usr/libdata/debug/sbin/ipf.debug		comp-ipf-debug		ipfilter,debug
+./usr/libdata/debug/sbin/iscsictl.debug		comp-iscsi-debug	iscsi,debug
+./usr/libdata/debug/sbin/iscsid.debug		comp-iscsi-debug	iscsi,debug
 ./usr/libdata/debug/sbin/lvm.debug		comp-sysutil-debug	lvm,debug
 ./usr/libdata/debug/sbin/mbrlabel.debug		comp-sysutil-debug	debug
 ./usr/libdata/debug/sbin/mknod.debug		comp-sysutil-debug	debug



CVS commit: src/usr.sbin/puffs/rump_v7fs

2011-11-14 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Nov 14 11:28:05 UTC 2011

Modified Files:
src/usr.sbin/puffs/rump_v7fs: Makefile

Log Message:
Define RUMP_DISKFS to provide getdiskinfo from rumpdev_disk library.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/puffs/rump_v7fs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/puffs/rump_v7fs/Makefile
diff -u src/usr.sbin/puffs/rump_v7fs/Makefile:1.1 src/usr.sbin/puffs/rump_v7fs/Makefile:1.2
--- src/usr.sbin/puffs/rump_v7fs/Makefile:1.1	Sun Jul 24 09:00:08 2011
+++ src/usr.sbin/puffs/rump_v7fs/Makefile	Mon Nov 14 11:28:05 2011
@@ -1,8 +1,9 @@
-#	$NetBSD: Makefile,v 1.1 2011/07/24 09:00:08 uch Exp $
+#	$NetBSD: Makefile,v 1.2 2011/11/14 11:28:05 njoly Exp $
 #
 
 MOUNTNAME=	v7fs
 
 ISRUMP=		# oui
+RUMP_DISKFS=
 
 .include bsd.prog.mk



CVS commit: src/external/mit/xorg/bin/ucs2any

2011-11-11 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Nov 11 22:27:33 UTC 2011

Modified Files:
src/external/mit/xorg/bin/ucs2any: Makefile

Log Message:
Substitute __mapfilesdir__ in man page.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/ucs2any/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/ucs2any/Makefile
diff -u src/external/mit/xorg/bin/ucs2any/Makefile:1.2 src/external/mit/xorg/bin/ucs2any/Makefile:1.3
--- src/external/mit/xorg/bin/ucs2any/Makefile:1.2	Sun Nov 21 01:25:32 2010
+++ src/external/mit/xorg/bin/ucs2any/Makefile	Fri Nov 11 22:27:33 2011
@@ -1,9 +1,11 @@
-#	$NetBSD: Makefile,v 1.2 2010/11/21 01:25:32 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2011/11/11 22:27:33 njoly Exp $
 
 .include bsd.own.mk
 
 PROG=	ucs2any
 
+X11EXTRAMANDEFS+= 	-e 's,__mapfilesdir__,${LIBDIR}/X11/fonts/util,'
+
 .PATH:	${X11SRCDIR.font-util} ${X11SRCDIR.font-util}/man
 
 .include bsd.x11.mk



CVS commit: src/sys/arch/vax/vax

2011-11-10 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Nov 10 22:33:12 UTC 2011

Modified Files:
src/sys/arch/vax/vax: autoconf.c

Log Message:
Remove extra newlines.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/vax/vax/autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/vax/vax/autoconf.c
diff -u src/sys/arch/vax/vax/autoconf.c:1.92 src/sys/arch/vax/vax/autoconf.c:1.93
--- src/sys/arch/vax/vax/autoconf.c:1.92	Tue Dec 14 23:44:49 2010
+++ src/sys/arch/vax/vax/autoconf.c	Thu Nov 10 22:33:12 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.92 2010/12/14 23:44:49 matt Exp $	*/
+/*	$NetBSD: autoconf.c,v 1.93 2011/11/10 22:33:12 njoly Exp $	*/
 
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -31,7 +31,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: autoconf.c,v 1.92 2010/12/14 23:44:49 matt Exp $);
+__KERNEL_RCSID(0, $NetBSD: autoconf.c,v 1.93 2011/11/10 22:33:12 njoly Exp $);
 
 #include opt_compat_netbsd.h
 #include opt_cputype.h
@@ -117,8 +117,8 @@ mainbus_print(void *aux, const char *nam
 {
 	struct mainbus_attach_args * const ma = aux;
 	if (name) {
-		aprint_naive(%s at %s\n, ma-ma_type, name);
-		aprint_normal(%s at %s\n, ma-ma_type, name);
+		aprint_naive(%s at %s, ma-ma_type, name);
+		aprint_normal(%s at %s, ma-ma_type, name);
 }
 	return UNCONF;
 }



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

2011-11-08 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Nov  8 10:49:43 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: mi

Log Message:
+agrep.debug


To generate a diff of this commit:
cvs rdiff -u -r1.1704 -r1.1705 src/distrib/sets/lists/comp/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1704 src/distrib/sets/lists/comp/mi:1.1705
--- src/distrib/sets/lists/comp/mi:1.1704	Sun Nov  6 02:11:16 2011
+++ src/distrib/sets/lists/comp/mi	Tue Nov  8 10:49:41 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.1704 2011/11/06 02:11:16 agc Exp $
+#	$NetBSD: mi,v 1.1705 2011/11/08 10:49:41 njoly Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -3492,6 +3492,7 @@
 ./usr/libdata/debug/sbin/zpool.debug		comp-zfs-debug		zfs,debug
 ./usr/libdata/debug/usr/bin/addftinfo.debug	comp-groff-debug	groff,debug
 ./usr/libdata/debug/usr/bin/addr2line.debug	comp-debug-debug	binutils,debug
+./usr/libdata/debug/usr/bin/agrep.debug		comp-util-debug		debug
 ./usr/libdata/debug/usr/bin/apply.debug		comp-util-debug		debug
 ./usr/libdata/debug/usr/bin/apropos.debug	comp-man-debug		debug
 ./usr/libdata/debug/usr/bin/ar.debug		comp-util-debug		binutils,debug



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

2011-11-08 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Nov  8 10:52:20 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: ad.mips64eb ad.mips64el md.amd64
md.sparc64 shl.mi

Log Message:
+libtre.so.0.8.debug


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/distrib/sets/lists/comp/ad.mips64eb \
src/distrib/sets/lists/comp/ad.mips64el
cvs rdiff -u -r1.144 -r1.145 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.129 -r1.130 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.199 -r1.200 src/distrib/sets/lists/comp/shl.mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/ad.mips64eb
diff -u src/distrib/sets/lists/comp/ad.mips64eb:1.60 src/distrib/sets/lists/comp/ad.mips64eb:1.61
--- src/distrib/sets/lists/comp/ad.mips64eb:1.60	Sat Nov  5 22:55:21 2011
+++ src/distrib/sets/lists/comp/ad.mips64eb	Tue Nov  8 10:52:20 2011
@@ -1,4 +1,4 @@
-# $NetBSD: ad.mips64eb,v 1.60 2011/11/05 22:55:21 christos Exp $
+# $NetBSD: ad.mips64eb,v 1.61 2011/11/08 10:52:20 njoly Exp $
 ./usr/bin/elf2aoutcomp-obsolete		obsolete
 ./usr/bin/elf2ecoffcomp-sysutil-bin
 ./usr/include/gcc-4.5/loongson.h		comp-c-include		gcccmds,gcc=45
@@ -1374,6 +1374,7 @@
 ./usr/libdata/debug/usr/lib/64/libstdc++.so.7.0.debug	comp-sys-debug	gcc=4,cxx,debug,compat
 ./usr/libdata/debug/usr/lib/64/libstdc++.so.7.1.debug	comp-sys-debug	gcc=45,cxx,debug,compat
 ./usr/libdata/debug/usr/lib/64/libterminfo.so.1.0.debug	comp-sys-debug	debug,compat
+./usr/libdata/debug/usr/lib/64/libtre.so.0.8.debug	comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/64/libukfs.so.1.0.debug	comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/64/libumem.so.0.0.debug	comp-zfs-debug	zfs,dynamicroot,debug,compat
 ./usr/libdata/debug/usr/lib/64/libusbhid.so.1.0.debug	comp-sys-debug	debug,compat
@@ -1525,6 +1526,7 @@
 ./usr/libdata/debug/usr/lib/o32/libstdc++.so.7.0.debug	comp-sys-debug	gcc=4,cxx,debug,compat
 ./usr/libdata/debug/usr/lib/o32/libstdc++.so.7.1.debug	comp-sys-debug	gcc=45,cxx,debug,compat
 ./usr/libdata/debug/usr/lib/o32/libterminfo.so.1.0.debug	comp-sys-debug	debug,compat
+./usr/libdata/debug/usr/lib/o32/libtre.so.0.8.debug	comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/o32/libukfs.so.1.0.debug	comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/o32/libumem.so.0.0.debug	comp-zfs-debug	zfs,dynamicroot,debug,compat
 ./usr/libdata/debug/usr/lib/o32/libusbhid.so.1.0.debug	comp-sys-debug	debug,compat
Index: src/distrib/sets/lists/comp/ad.mips64el
diff -u src/distrib/sets/lists/comp/ad.mips64el:1.60 src/distrib/sets/lists/comp/ad.mips64el:1.61
--- src/distrib/sets/lists/comp/ad.mips64el:1.60	Sat Nov  5 22:55:21 2011
+++ src/distrib/sets/lists/comp/ad.mips64el	Tue Nov  8 10:52:20 2011
@@ -1,4 +1,4 @@
-# $NetBSD: ad.mips64el,v 1.60 2011/11/05 22:55:21 christos Exp $
+# $NetBSD: ad.mips64el,v 1.61 2011/11/08 10:52:20 njoly Exp $
 ./usr/bin/elf2aoutcomp-obsolete		obsolete
 ./usr/bin/elf2ecoffcomp-sysutil-bin
 ./usr/include/gcc-4.5/loongson.h		comp-c-include		gcccmds,gcc=45
@@ -1374,6 +1374,7 @@
 ./usr/libdata/debug/usr/lib/64/libstdc++.so.7.0.debug	comp-sys-debug	gcc=4,cxx,debug,compat
 ./usr/libdata/debug/usr/lib/64/libstdc++.so.7.1.debug	comp-sys-debug	gcc=45,cxx,debug,compat
 ./usr/libdata/debug/usr/lib/64/libterminfo.so.1.0.debug	comp-sys-debug	debug,compat
+./usr/libdata/debug/usr/lib/64/libtre.so.0.8.debug	comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/64/libukfs.so.1.0.debug	comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/64/libumem.so.0.0.debug	comp-zfs-debug	zfs,dynamicroot,debug,compat
 ./usr/libdata/debug/usr/lib/64/libusbhid.so.1.0.debug	comp-sys-debug	debug,compat
@@ -1525,6 +1526,7 @@
 ./usr/libdata/debug/usr/lib/o32/libstdc++.so.7.0.debug	comp-sys-debug	gcc=4,cxx,debug,compat
 ./usr/libdata/debug/usr/lib/o32/libstdc++.so.7.1.debug	comp-sys-debug	gcc=45,cxx,debug,compat
 ./usr/libdata/debug/usr/lib/o32/libterminfo.so.1.0.debug	comp-sys-debug	debug,compat
+./usr/libdata/debug/usr/lib/o32/libtre.so.0.8.debug	comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/o32/libukfs.so.1.0.debug	comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/o32/libumem.so.0.0.debug	comp-zfs-debug	zfs,dynamicroot,debug,compat
 ./usr/libdata/debug/usr/lib/o32/libusbhid.so.1.0.debug	comp-sys-debug	debug,compat

Index: src/distrib/sets/lists/comp/md.amd64
diff -u src/distrib/sets/lists/comp/md.amd64:1.144 src/distrib/sets/lists/comp/md.amd64:1.145
--- src/distrib/sets/lists/comp/md.amd64:1.144	Sat Nov  5 22:55:21 2011
+++ src/distrib/sets/lists/comp/md.amd64	Tue Nov  8 10:52:20 2011
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.144 2011/11/05 22:55:21 christos Exp $
+# $NetBSD: md.amd64,v 1.145 2011/11/08 10:52:20 njoly Exp $
 ./usr/include/amd64comp-c-include
 ./usr/include/amd64/ansi.h			comp-c-include
 ./usr/include/amd64/aout_machdep.h		comp-c-include

CVS commit: src/sys/compat/netbsd32

2011-11-08 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Nov  8 10:59:12 UTC 2011

Modified Files:
src/sys/compat/netbsd32: netbsd32_netbsd.c syscalls.master

Log Message:
Add kqueue1(2) support.


To generate a diff of this commit:
cvs rdiff -u -r1.173 -r1.174 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -u -r1.87 -r1.88 src/sys/compat/netbsd32/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/netbsd32/netbsd32_netbsd.c
diff -u src/sys/compat/netbsd32/netbsd32_netbsd.c:1.173 src/sys/compat/netbsd32/netbsd32_netbsd.c:1.174
--- src/sys/compat/netbsd32/netbsd32_netbsd.c:1.173	Wed Aug 31 16:50:32 2011
+++ src/sys/compat/netbsd32/netbsd32_netbsd.c	Tue Nov  8 10:59:12 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_netbsd.c,v 1.173 2011/08/31 16:50:32 njoly Exp $	*/
+/*	$NetBSD: netbsd32_netbsd.c,v 1.174 2011/11/08 10:59:12 njoly Exp $	*/
 
 /*
  * Copyright (c) 1998, 2001, 2008 Matthew R. Green
@@ -27,7 +27,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: netbsd32_netbsd.c,v 1.173 2011/08/31 16:50:32 njoly Exp $);
+__KERNEL_RCSID(0, $NetBSD: netbsd32_netbsd.c,v 1.174 2011/11/08 10:59:12 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #include opt_ddb.h
@@ -2605,6 +2605,19 @@ netbsd32_dup3(struct lwp *l, const struc
 	return sys_dup3(l, ua, retval);
 }
 
+int
+netbsd32_kqueue1(struct lwp *l, const struct netbsd32_kqueue1_args *uap,
+		 register_t *retval)
+{
+	/* {
+		syscallarg(int) flags;
+	} */
+	struct sys_kqueue1_args ua;
+
+	NETBSD32TO64_UAP(flags);
+	return sys_kqueue1(l, ua, retval);
+}
+
 /*
  * MI indirect system call support.
  * Only used if the MD netbsd32_syscall.c doesn't intercept the calls.

Index: src/sys/compat/netbsd32/syscalls.master
diff -u src/sys/compat/netbsd32/syscalls.master:1.87 src/sys/compat/netbsd32/syscalls.master:1.88
--- src/sys/compat/netbsd32/syscalls.master:1.87	Wed Aug 31 16:50:32 2011
+++ src/sys/compat/netbsd32/syscalls.master	Tue Nov  8 10:59:12 2011
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp $
+	$NetBSD: syscalls.master,v 1.88 2011/11/08 10:59:12 njoly Exp $
 
 ;	from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp
 ;	@(#)syscalls.master	8.2 (Berkeley) 1/13/94
@@ -973,3 +973,4 @@
 			netbsd32_voidp pref); }
 453	STD		{ int|netbsd32||pipe2(netbsd32_intp fildes, int flags); }
 454	STD		{ int|netbsd32||dup3(int from, int to, int flags); }
+455	STD		{ int|netbsd32||kqueue1(int flags); }



CVS commit: src/sys/compat/netbsd32

2011-11-08 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Nov  8 10:59:45 UTC 2011

Modified Files:
src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h
netbsd32_syscalls.c netbsd32_sysent.c

Log Message:
Regen for kqueue1.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/compat/netbsd32/netbsd32_syscall.h \
src/sys/compat/netbsd32/netbsd32_syscallargs.h
cvs rdiff -u -r1.94 -r1.95 src/sys/compat/netbsd32/netbsd32_syscalls.c \
src/sys/compat/netbsd32/netbsd32_sysent.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/netbsd32/netbsd32_syscall.h
diff -u src/sys/compat/netbsd32/netbsd32_syscall.h:1.95 src/sys/compat/netbsd32/netbsd32_syscall.h:1.96
--- src/sys/compat/netbsd32/netbsd32_syscall.h:1.95	Wed Aug 31 16:51:05 2011
+++ src/sys/compat/netbsd32/netbsd32_syscall.h	Tue Nov  8 10:59:44 2011
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.95 2011/08/31 16:51:05 njoly Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.96 2011/11/08 10:59:44 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.88 2011/11/08 10:59:12 njoly Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -1205,6 +1205,9 @@
 /* syscall: netbsd32_dup3 ret: int args: int int int */
 #define	NETBSD32_SYS_netbsd32_dup3	454
 
-#define	NETBSD32_SYS_MAXSYSCALL	455
+/* syscall: netbsd32_kqueue1 ret: int args: int */
+#define	NETBSD32_SYS_netbsd32_kqueue1	455
+
+#define	NETBSD32_SYS_MAXSYSCALL	456
 #define	NETBSD32_SYS_NSYSENT	512
 #endif /* _NETBSD32_SYS_SYSCALL_H_ */
Index: src/sys/compat/netbsd32/netbsd32_syscallargs.h
diff -u src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.95 src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.96
--- src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.95	Wed Aug 31 16:51:05 2011
+++ src/sys/compat/netbsd32/netbsd32_syscallargs.h	Tue Nov  8 10:59:45 2011
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.95 2011/08/31 16:51:05 njoly Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.96 2011/11/08 10:59:45 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.88 2011/11/08 10:59:12 njoly Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@@ -2322,6 +2322,11 @@ struct netbsd32_dup3_args {
 };
 check_syscall_args(netbsd32_dup3)
 
+struct netbsd32_kqueue1_args {
+	syscallarg(int) flags;
+};
+check_syscall_args(netbsd32_kqueue1)
+
 /*
  * System call prototypes.
  */
@@ -3104,4 +3109,6 @@ int	netbsd32_pipe2(struct lwp *, const s
 
 int	netbsd32_dup3(struct lwp *, const struct netbsd32_dup3_args *, register_t *);
 
+int	netbsd32_kqueue1(struct lwp *, const struct netbsd32_kqueue1_args *, register_t *);
+
 #endif /* _NETBSD32_SYS_SYSCALLARGS_H_ */

Index: src/sys/compat/netbsd32/netbsd32_syscalls.c
diff -u src/sys/compat/netbsd32/netbsd32_syscalls.c:1.94 src/sys/compat/netbsd32/netbsd32_syscalls.c:1.95
--- src/sys/compat/netbsd32/netbsd32_syscalls.c:1.94	Wed Aug 31 16:51:05 2011
+++ src/sys/compat/netbsd32/netbsd32_syscalls.c	Tue Nov  8 10:59:45 2011
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls.c,v 1.94 2011/08/31 16:51:05 njoly Exp $ */
+/* $NetBSD: netbsd32_syscalls.c,v 1.95 2011/11/08 10:59:45 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.88 2011/11/08 10:59:12 njoly Exp
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: netbsd32_syscalls.c,v 1.94 2011/08/31 16:51:05 njoly Exp $);
+__KERNEL_RCSID(0, $NetBSD: netbsd32_syscalls.c,v 1.95 2011/11/08 10:59:45 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -566,7 +566,7 @@ const char *const netbsd32_syscallnames[
 	/* 452 */	netbsd32___quotactl50,
 	/* 453 */	netbsd32_pipe2,
 	/* 454 */	netbsd32_dup3,
-	/* 455 */	# filler,
+	/* 455 */	netbsd32_kqueue1,
 	/* 456 */	# filler,
 	/* 457 */	# filler,
 	/* 458 */	# filler,
Index: src/sys/compat/netbsd32/netbsd32_sysent.c
diff -u src/sys/compat/netbsd32/netbsd32_sysent.c:1.94 src/sys/compat/netbsd32/netbsd32_sysent.c:1.95
--- src/sys/compat/netbsd32/netbsd32_sysent.c:1.94	Wed Aug 31 16:51:05 2011
+++ src/sys/compat/netbsd32/netbsd32_sysent.c	Tue Nov  8 10:59:45 2011
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_sysent.c,v 1.94 2011/08/31 16:51:05 njoly Exp $ */
+/* $NetBSD: netbsd32_sysent.c,v 1.95 2011/11/08 10:59:45 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp
+ * 

CVS commit: src/sys/arch/x86/x86

2011-11-08 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Nov  8 12:44:29 UTC 2011

Modified Files:
src/sys/arch/x86/x86: pmap.c

Log Message:
Fix build.


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/sys/arch/x86/x86/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/x86/pmap.c
diff -u src/sys/arch/x86/x86/pmap.c:1.139 src/sys/arch/x86/x86/pmap.c:1.140
--- src/sys/arch/x86/x86/pmap.c:1.139	Sun Nov  6 20:21:05 2011
+++ src/sys/arch/x86/x86/pmap.c	Tue Nov  8 12:44:29 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.c,v 1.139 2011/11/06 20:21:05 christos Exp $	*/
+/*	$NetBSD: pmap.c,v 1.140 2011/11/08 12:44:29 njoly Exp $	*/
 
 /*-
  * Copyright (c) 2008, 2010 The NetBSD Foundation, Inc.
@@ -171,7 +171,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: pmap.c,v 1.139 2011/11/06 20:21:05 christos Exp $);
+__KERNEL_RCSID(0, $NetBSD: pmap.c,v 1.140 2011/11/08 12:44:29 njoly Exp $);
 
 #include opt_user_ldt.h
 #include opt_lockdebug.h
@@ -212,7 +212,9 @@ __KERNEL_RCSID(0, $NetBSD: pmap.c,v 1.1
 #endif
 
 /* If this is not needed anymore it should be GC'ed */
+#ifndef PG_k
 #define	PG_k	0
+#endif
 
 /*
  * general info:



CVS commit: src/etc/mtree

2011-11-07 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Nov  7 13:39:54 UTC 2011

Modified Files:
src/etc/mtree: NetBSD.dist.tests

Log Message:
+./usr/libdata/debug/usr/tests/lib/libtre


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/etc/mtree/NetBSD.dist.tests

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/mtree/NetBSD.dist.tests
diff -u src/etc/mtree/NetBSD.dist.tests:1.54 src/etc/mtree/NetBSD.dist.tests:1.55
--- src/etc/mtree/NetBSD.dist.tests:1.54	Sun Nov  6 18:45:04 2011
+++ src/etc/mtree/NetBSD.dist.tests	Mon Nov  7 13:39:54 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: NetBSD.dist.tests,v 1.54 2011/11/06 18:45:04 christos Exp $
+#	$NetBSD: NetBSD.dist.tests,v 1.55 2011/11/07 13:39:54 njoly Exp $
 
 ./usr/libdata/debug/usr/tests
 ./usr/libdata/debug/usr/tests/atf
@@ -85,6 +85,7 @@
 ./usr/libdata/debug/usr/tests/lib/librumpclient
 ./usr/libdata/debug/usr/tests/lib/librumphijack
 ./usr/libdata/debug/usr/tests/lib/libskey
+./usr/libdata/debug/usr/tests/lib/libtre
 ./usr/libdata/debug/usr/tests/lib/libutil
 ./usr/libdata/debug/usr/tests/libexec
 ./usr/libdata/debug/usr/tests/libexec/ld.elf_so



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-11-07 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Nov  7 23:21:32 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
Adjust dependencies for alpha.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.12 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.13
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.12	Thu Jul 21 03:01:26 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Nov  7 23:21:32 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.12 2011/07/21 03:01:26 mrg Exp $
+#	$NetBSD: Makefile,v 1.13 2011/11/07 23:21:32 njoly Exp $
 
 LIBISPRIVATE=	yes
 
@@ -305,6 +305,10 @@ vec.lo: gtype-desc.h
 gtype-desc.d gtype-desc.o: insn-constants.h
 insn-emit.d insn-emit.o: tm-constrs.h
 
+.if ${MACHINE_ARCH} == alpha
+alpha.d alpha.o: tm-constrs.h tm_p.h
+.endif
+
 .if ${MACHINE_CPU} == arm
 arm.d arm.o: insn-constants.h tm_p.h
 .endif



CVS commit: src/tools

2011-11-02 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Nov  2 23:47:07 UTC 2011

Modified Files:
src/tools: Makefile

Log Message:
Do not build tic more than once


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.154 src/tools/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/Makefile
diff -u src/tools/Makefile:1.153 src/tools/Makefile:1.154
--- src/tools/Makefile:1.153	Wed Nov  2 20:36:41 2011
+++ src/tools/Makefile	Wed Nov  2 23:47:07 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.153 2011/11/02 20:36:41 christos Exp $
+#	$NetBSD: Makefile,v 1.154 2011/11/02 23:47:07 njoly Exp $
 
 .include bsd.own.mk
 
@@ -65,7 +65,7 @@ SUBDIR=	host-mkdep .WAIT compat .WAIT \
 		.WAIT paxctl \
 		.WAIT fdisk \
 		.WAIT installboot \
-		pwd_mkdb stat strfile sunlabel zic tic
+		pwd_mkdb stat strfile sunlabel zic
 
 .if ${MKLLVM} != no
 SUBDIR+= \



CVS commit: src/sys/dev/pci

2011-10-24 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Oct 24 16:06:44 UTC 2011

Modified Files:
src/sys/dev/pci: jmide_reg.h

Log Message:
Remove unused local defines for PCI_COMMAND_STATUS_REG bits (already
available from pcireg.h).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/jmide_reg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/jmide_reg.h
diff -u src/sys/dev/pci/jmide_reg.h:1.3 src/sys/dev/pci/jmide_reg.h:1.4
--- src/sys/dev/pci/jmide_reg.h:1.3	Sat Jul 24 17:55:54 2010
+++ src/sys/dev/pci/jmide_reg.h	Mon Oct 24 16:06:43 2011
@@ -1,4 +1,4 @@
-/*  $NetBSD: jmide_reg.h,v 1.3 2010/07/24 17:55:54 jakllsch Exp $*/
+/*  $NetBSD: jmide_reg.h,v 1.4 2011/10/24 16:06:43 njoly Exp $*/
 
 /*
  * Copyright (c) 2007 Manuel Bouyer.
@@ -27,11 +27,6 @@
 
 /* registers definitions for the JMicon JMB36x IDE/SATA controllers */
 
-/* special bits in command/status register (PCI_COMMAND_STATUS_REG) */
-#define PCI_STATUS_INT_STATUS	0x0008 /* interrupt pending */
-#define PCI_COMMAND_INT_DIS 	0x0400 /* interrupt disable */
-
-
 #define PCI_JM_CONTROL0	0x40 /* controller control register 0 */
 #define JM_CONTROL0_ROM_EN	0x8000 /* external ROM enable */
 #define JM_CONTROL0_ID_WR	0x4000 /* device ID write enable */



CVS commit: src/share/man/man9

2011-10-20 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Oct 20 12:14:13 UTC 2011

Modified Files:
src/share/man/man9: usbdi.9

Log Message:
Use .In macro.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man9/usbdi.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/usbdi.9
diff -u src/share/man/man9/usbdi.9:1.7 src/share/man/man9/usbdi.9:1.8
--- src/share/man/man9/usbdi.9:1.7	Wed Apr 30 13:10:59 2008
+++ src/share/man/man9/usbdi.9	Thu Oct 20 12:14:12 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: usbdi.9,v 1.7 2008/04/30 13:10:59 martin Exp $
+.\	$NetBSD: usbdi.9,v 1.8 2011/10/20 12:14:12 njoly Exp $
 .\
 .\ Copyright (c) 1999 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -34,8 +34,8 @@
 .Nm usbdi
 .Nd USB device drivers interface
 .Sh SYNOPSIS
-.Cd #include \*[Lt]dev/usb/usb.h\*[Gt]
-.Cd #include \*[Lt]dev/usb/usbdi.h\*[Gt]
+.In dev/usb/usb.h
+.In dev/usb/usbdi.h
 .Sh DESCRIPTION
 Device driver access to the USB bus centers around transfers.
 A transfer describes a communication with a USB device.



CVS commit: src/sys/kern

2011-10-20 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Oct 20 18:18:21 UTC 2011

Modified Files:
src/sys/kern: sys_pipe.c

Log Message:
Do call fd_set_exclose() on both file descriptors, to set the
close-on-exec flag.


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/kern/sys_pipe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/sys_pipe.c
diff -u src/sys/kern/sys_pipe.c:1.133 src/sys/kern/sys_pipe.c:1.134
--- src/sys/kern/sys_pipe.c:1.133	Wed Oct  5 13:30:24 2011
+++ src/sys/kern/sys_pipe.c	Thu Oct 20 18:18:21 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: sys_pipe.c,v 1.133 2011/10/05 13:30:24 apb Exp $	*/
+/*	$NetBSD: sys_pipe.c,v 1.134 2011/10/20 18:18:21 njoly Exp $	*/
 
 /*-
  * Copyright (c) 2003, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: sys_pipe.c,v 1.133 2011/10/05 13:30:24 apb Exp $);
+__KERNEL_RCSID(0, $NetBSD: sys_pipe.c,v 1.134 2011/10/20 18:18:21 njoly Exp $);
 
 #include sys/param.h
 #include sys/systm.h
@@ -271,6 +271,7 @@ pipe1(struct lwp *l, register_t *retval,
 	rf-f_type = DTYPE_PIPE;
 	rf-f_data = (void *)rpipe;
 	rf-f_ops = pipeops;
+	fd_set_exclose(l, fd, (flags  O_CLOEXEC) != 0);
 
 	error = fd_allocfile(wf, fd);
 	if (error)
@@ -280,6 +281,7 @@ pipe1(struct lwp *l, register_t *retval,
 	wf-f_type = DTYPE_PIPE;
 	wf-f_data = (void *)wpipe;
 	wf-f_ops = pipeops;
+	fd_set_exclose(l, fd, (flags  O_CLOEXEC) != 0);
 
 	rpipe-pipe_peer = wpipe;
 	wpipe-pipe_peer = rpipe;



CVS commit: src/tests/lib/libc/sys

2011-10-20 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Oct 20 18:20:30 UTC 2011

Modified Files:
src/tests/lib/libc/sys: t_pipe.c

Log Message:
New testcase that check for close-on-exec flag on pipe2 syscall.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/sys/t_pipe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/sys/t_pipe.c
diff -u src/tests/lib/libc/sys/t_pipe.c:1.1 src/tests/lib/libc/sys/t_pipe.c:1.2
--- src/tests/lib/libc/sys/t_pipe.c:1.1	Sat Oct 15 06:17:02 2011
+++ src/tests/lib/libc/sys/t_pipe.c	Thu Oct 20 18:20:30 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_pipe.c,v 1.1 2011/10/15 06:17:02 jruoho Exp $ */
+/* $NetBSD: t_pipe.c,v 1.2 2011/10/20 18:20:30 njoly Exp $ */
 
 /*-
  * Copyright (c) 2001, 2008 The NetBSD Foundation, Inc.
@@ -29,12 +29,13 @@
 #include sys/cdefs.h
 __COPYRIGHT(@(#) Copyright (c) 2008\
  The NetBSD Foundation, inc. All rights reserved.);
-__RCSID($NetBSD: t_pipe.c,v 1.1 2011/10/15 06:17:02 jruoho Exp $);
+__RCSID($NetBSD: t_pipe.c,v 1.2 2011/10/20 18:20:30 njoly Exp $);
 
 #include sys/types.h
 #include sys/wait.h
 
 #include errno.h
+#include fcntl.h
 #include poll.h
 #include sched.h
 #include signal.h
@@ -154,9 +155,34 @@ ATF_TC_BODY(pipe_restart, tc)
 	}
 }
 
+ATF_TC(pipe2_cloexec);
+ATF_TC_HEAD(pipe2_cloexec, tc)
+{
+	atf_tc_set_md_var(tc, descr, Check pipe2(2) with O_CLOEXEC);
+}
+
+ATF_TC_BODY(pipe2_cloexec, tc)
+{
+	int flag, fildes[2];
+
+	ATF_REQUIRE(pipe2(fildes, O_CLOEXEC) != -1);
+
+	flag = fcntl(fildes[0], F_GETFD);
+	ATF_REQUIRE(flag != -1);
+	ATF_CHECK((flag  FD_CLOEXEC) != 0);
+
+	flag = fcntl(fildes[1], F_GETFD);
+	ATF_REQUIRE(flag != -1);
+	ATF_CHECK((flag  FD_CLOEXEC) != 0);
+
+	ATF_REQUIRE(close(fildes[0]) != -1);
+	ATF_REQUIRE(close(fildes[1]) != -1);
+}
+
 ATF_TP_ADD_TCS(tp)
 {
 	ATF_TP_ADD_TC(tp, pipe_restart);
+	ATF_TP_ADD_TC(tp, pipe2_cloexec);
 
 	return atf_no_error();
 }



CVS commit: src/lib/libc/arch/x86_64/gen

2011-10-19 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Oct 19 15:24:58 UTC 2011

Modified Files:
src/lib/libc/arch/x86_64/gen: fpsetmask.S

Log Message:
Fix fpsetmask(3) to be able to clear bits previously set.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/arch/x86_64/gen/fpsetmask.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/arch/x86_64/gen/fpsetmask.S
diff -u src/lib/libc/arch/x86_64/gen/fpsetmask.S:1.3 src/lib/libc/arch/x86_64/gen/fpsetmask.S:1.4
--- src/lib/libc/arch/x86_64/gen/fpsetmask.S:1.3	Wed Jun 12 19:17:22 2002
+++ src/lib/libc/arch/x86_64/gen/fpsetmask.S	Wed Oct 19 15:24:58 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: fpsetmask.S,v 1.3 2002/06/12 19:17:22 fvdl Exp $	*/
+/*	$NetBSD: fpsetmask.S,v 1.4 2011/10/19 15:24:58 njoly Exp $	*/
 
 /*
  * Written by Frank van der Linden at Wasabi Systems for NetBSD.
@@ -20,22 +20,25 @@ ENTRY(_fpsetmask)
 #else
 ENTRY(fpsetmask)
 #endif
-	fnstcw	-4(%rsp)
-	stmxcsr	-8(%rsp)
-	andl	$63,%edi
 	notl	%edi
+	andl	$0x003f,%edi
 
-	movl	-4(%rsp),%edx
-	movl	%edx,%eax
-	andl	%edi,%edx
+	fnstcw	-4(%rsp)
+	movl	-4(%rsp), %edx
+	movl	%edx, %eax
+	andl	$0xffc0, %edx
+	orl	%edi, %edx
 	movl	%edx,-4(%rsp)
+	fldcw	-4(%rsp)
 
-	movl	-8(%rsp),%edx
-	roll	$7,%edi
-	andl	%edi,%edx
-	movl	%edx,-8(%rsp)
+	stmxcsr	-4(%rsp)
+	movl	-4(%rsp), %edx
+	andl	$0xf07f, %edx
+	sall	$7, %edi
+	orl	%edi, %edx
+	movl	%edx,-4(%rsp)
+	ldmxcsr	-4(%rsp)
 
-	fldcw	-4(%rsp)
-	ldmxcsr	-8(%rsp)
-	andl	$63,%eax
+	notl	%eax
+	andl	$0x003f, %eax
 	ret



CVS commit: src/tests/lib/libc/gen

2011-10-19 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Oct 19 15:27:17 UTC 2011

Modified Files:
src/tests/lib/libc/gen: t_fpsetmask.c

Log Message:
Add basic fpsetmask test to exercize setting/clearing bits.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/gen/t_fpsetmask.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/gen/t_fpsetmask.c
diff -u src/tests/lib/libc/gen/t_fpsetmask.c:1.2 src/tests/lib/libc/gen/t_fpsetmask.c:1.3
--- src/tests/lib/libc/gen/t_fpsetmask.c:1.2	Sat Oct  1 17:46:10 2011
+++ src/tests/lib/libc/gen/t_fpsetmask.c	Wed Oct 19 15:27:16 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_fpsetmask.c,v 1.2 2011/10/01 17:46:10 christos Exp $ */
+/*	$NetBSD: t_fpsetmask.c,v 1.3 2011/10/19 15:27:16 njoly Exp $ */
 
 /*-
  * Copyright (c) 1995 The NetBSD Foundation, Inc.
@@ -310,6 +310,27 @@ TEST(fpsetmask_unmasked, float)
 TEST(fpsetmask_unmasked, double)
 TEST(fpsetmask_unmasked, long_double)
 
+ATF_TC(fpsetmask_basic);
+ATF_TC_HEAD(fpsetmask_basic, tc)
+{
+	atf_tc_set_md_var(tc, descr, A basic test of fpsetmask(3));
+}
+
+ATF_TC_BODY(fpsetmask_basic, tc)
+{
+	size_t i;
+	fp_except_t msk, lst[] = { FP_X_INV, FP_X_DZ, FP_X_OFL, FP_X_UFL };
+
+	msk = fpgetmask();
+	for (i = 0; i  __arraycount(lst); i++) {
+		fpsetmask(msk | lst[i]);
+		ATF_CHECK((fpgetmask()  lst[i]) != 0);
+		fpsetmask(msk  lst[i]);
+		ATF_CHECK((fpgetmask()  lst[i]) == 0);
+	}
+
+}
+
 #endif /* defined(_FLOAT_IEEE754) */
 
 ATF_TP_ADD_TCS(tp)
@@ -318,6 +339,7 @@ ATF_TP_ADD_TCS(tp)
 #ifndef _FLOAT_IEEE754
 	ATF_TP_ADD_TC(tp, no_test);
 #else
+	ATF_TP_ADD_TC(tp, fpsetmask_basic);
 	ATF_TP_ADD_TC(tp, fpsetmask_masked_float);
 	ATF_TP_ADD_TC(tp, fpsetmask_masked_double);
 	ATF_TP_ADD_TC(tp, fpsetmask_masked_long_double);



CVS commit: src/tests/lib/libc/sys

2011-10-17 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Oct 17 17:58:43 UTC 2011

Modified Files:
src/tests/lib/libc/sys: t_dup.c

Log Message:
Remove unneeded uneeded err.h include.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/sys/t_dup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/sys/t_dup.c
diff -u src/tests/lib/libc/sys/t_dup.c:1.6 src/tests/lib/libc/sys/t_dup.c:1.7
--- src/tests/lib/libc/sys/t_dup.c:1.6	Fri Sep 30 21:08:19 2011
+++ src/tests/lib/libc/sys/t_dup.c	Mon Oct 17 17:58:43 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_dup.c,v 1.6 2011/09/30 21:08:19 njoly Exp $ */
+/* $NetBSD: t_dup.c,v 1.7 2011/10/17 17:58:43 njoly Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,14 +29,13 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include sys/cdefs.h
-__RCSID($NetBSD: t_dup.c,v 1.6 2011/09/30 21:08:19 njoly Exp $);
+__RCSID($NetBSD: t_dup.c,v 1.7 2011/10/17 17:58:43 njoly Exp $);
 
 #include sys/resource.h
 #include sys/stat.h
 #include sys/wait.h
 
 #include atf-c.h
-#include err.h
 #include errno.h
 #include fcntl.h
 #include limits.h



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

2011-10-14 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Oct 14 12:53:23 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: mi shl.mi

Log Message:
Add missing .debug entries for sqlite3.


To generate a diff of this commit:
cvs rdiff -u -r1.1692 -r1.1693 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.196 -r1.197 src/distrib/sets/lists/comp/shl.mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1692 src/distrib/sets/lists/comp/mi:1.1693
--- src/distrib/sets/lists/comp/mi:1.1692	Thu Oct 13 22:08:18 2011
+++ src/distrib/sets/lists/comp/mi	Fri Oct 14 12:53:21 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.1692 2011/10/13 22:08:18 joerg Exp $
+#	$NetBSD: mi,v 1.1693 2011/10/14 12:53:21 njoly Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -3800,6 +3800,7 @@
 ./usr/libdata/debug/usr/bin/soelim.debug	comp-groff-debug	debug
 ./usr/libdata/debug/usr/bin/sort.debug		comp-util-debug		debug
 ./usr/libdata/debug/usr/bin/split.debug		comp-util-debug		debug
+./usr/libdata/debug/usr/bin/sqlite3.debug	comp-util-debug		debug
 ./usr/libdata/debug/usr/bin/ssh-add.debug	comp-secsh-debug	crypto,debug
 ./usr/libdata/debug/usr/bin/ssh-agent.debug	comp-secsh-debug	crypto,debug
 ./usr/libdata/debug/usr/bin/ssh-keygen.debug	comp-secsh-debug	crypto,debug

Index: src/distrib/sets/lists/comp/shl.mi
diff -u src/distrib/sets/lists/comp/shl.mi:1.196 src/distrib/sets/lists/comp/shl.mi:1.197
--- src/distrib/sets/lists/comp/shl.mi:1.196	Thu Oct 13 22:08:19 2011
+++ src/distrib/sets/lists/comp/shl.mi	Fri Oct 14 12:53:23 2011
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.196 2011/10/13 22:08:19 joerg Exp $
+# $NetBSD: shl.mi,v 1.197 2011/10/14 12:53:23 njoly Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -402,6 +402,7 @@
 ./usr/libdata/debug/usr/lib/libsaslc.so.0.0.debug	comp-sys-debug	crypto,debug
 ./usr/libdata/debug/usr/lib/libskey.so.2.0.debug	comp-sys-debug	skey,debug
 ./usr/libdata/debug/usr/lib/libsl.so.5.0.debug		comp-krb5-debug	kerberos,debug
+./usr/libdata/debug/usr/lib/libsqlite3.so.1.0.debug	comp-sys-debug	debug
 ./usr/libdata/debug/usr/lib/libssh.so.18.0.debug	comp-secsh-debug	crypto,debug
 ./usr/libdata/debug/usr/lib/libssl.so.9.0.debug		comp-crypto-debug	crypto,debug
 ./usr/libdata/debug/usr/lib/libstdc++.so.5.0.debug	comp-sys-debug	gcc=3,cxx,debug



CVS commit: src/sys/dev/usb

2011-10-14 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Oct 14 13:12:41 UTC 2011

Modified Files:
src/sys/dev/usb: ukyopon.c

Log Message:
Void function ukyopon_get_status should not return a value.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/usb/ukyopon.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/ukyopon.c
diff -u src/sys/dev/usb/ukyopon.c:1.12 src/sys/dev/usb/ukyopon.c:1.13
--- src/sys/dev/usb/ukyopon.c:1.12	Wed Nov  3 22:34:24 2010
+++ src/sys/dev/usb/ukyopon.c	Fri Oct 14 13:12:41 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: ukyopon.c,v 1.12 2010/11/03 22:34:24 dyoung Exp $	*/
+/*	$NetBSD: ukyopon.c,v 1.13 2011/10/14 13:12:41 njoly Exp $	*/
 
 /*
  * Copyright (c) 1998, 2005 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: ukyopon.c,v 1.12 2010/11/03 22:34:24 dyoung Exp $);
+__KERNEL_RCSID(0, $NetBSD: ukyopon.c,v 1.13 2011/10/14 13:12:41 njoly Exp $);
 
 #include sys/param.h
 #include sys/systm.h
@@ -147,7 +147,7 @@ ukyopon_get_status(void *addr, int portn
 	if ((sc-sc_umodem.sc_msr  UMSR_DCD) == 0)
 		sc-sc_umodem.sc_msr |= UMSR_DCD;
 
-	return umodem_get_status(addr, portno, lsr, msr);
+	umodem_get_status(addr, portno, lsr, msr);
 }
 
 Static int



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

2011-10-13 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Oct 13 07:47:30 UTC 2011

Modified Files:
src/distrib/sets/lists/tests: mi

Log Message:
Do not delete nul.in line, but tag it as obsolete.


To generate a diff of this commit:
cvs rdiff -u -r1.400 -r1.401 src/distrib/sets/lists/tests/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/tests/mi
diff -u src/distrib/sets/lists/tests/mi:1.400 src/distrib/sets/lists/tests/mi:1.401
--- src/distrib/sets/lists/tests/mi:1.400	Tue Oct 11 23:04:21 2011
+++ src/distrib/sets/lists/tests/mi	Thu Oct 13 07:47:30 2011
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.400 2011/10/11 23:04:21 dholland Exp $
+# $NetBSD: mi,v 1.401 2011/10/13 07:47:30 njoly Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -2006,6 +2006,7 @@
 ./usr/tests/lib/libc/regex/data/error.in	tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/data/meta.in		tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/data/nospec.in	tests-lib-tests		atf
+./usr/tests/lib/libc/regex/data/nul.in		tests-obsolete		obsolete
 ./usr/tests/lib/libc/regex/data/paren.in	tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/data/regress.in	tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/data/repet_bounded.in tests-lib-tests	atf



CVS commit: src/share/man/man4

2011-10-13 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Oct 13 11:12:05 UTC 2011

Modified Files:
src/share/man/man4: bwi.4

Log Message:
Fix wiconfig section in xref.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/bwi.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/bwi.4
diff -u src/share/man/man4/bwi.4:1.7 src/share/man/man4/bwi.4:1.8
--- src/share/man/man4/bwi.4:1.7	Mon Oct 10 11:30:41 2011
+++ src/share/man/man4/bwi.4	Thu Oct 13 11:12:05 2011
@@ -1,4 +1,4 @@
-.\ $NetBSD: bwi.4,v 1.7 2011/10/10 11:30:41 njoly Exp $
+.\ $NetBSD: bwi.4,v 1.8 2011/10/13 11:12:05 njoly Exp $
 .\
 .\ Copyright (c) 2007 The DragonFly Project.  All rights reserved.
 .\
@@ -102,9 +102,9 @@ node.
 .Xr arp 4 ,
 .Xr ifmedia 4 ,
 .Xr pci 4 ,
-.Xr wiconfig 4 ,
 .Xr ifconfig 8 ,
 .Xr sysctl 8 ,
+.Xr wiconfig 8 ,
 .Xr wpa_supplicant 8
 .Sh HISTORY
 The



CVS commit: src/external/bsd/mdocml

2011-10-12 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Oct 12 15:33:38 UTC 2011

Modified Files:
src/external/bsd/mdocml: Makefile.inc

Log Message:
define HAVE_STRPTIME needed for date parsing.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/mdocml/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/mdocml/Makefile.inc
diff -u src/external/bsd/mdocml/Makefile.inc:1.13 src/external/bsd/mdocml/Makefile.inc:1.14
--- src/external/bsd/mdocml/Makefile.inc:1.13	Fri Apr 15 14:36:30 2011
+++ src/external/bsd/mdocml/Makefile.inc	Wed Oct 12 15:33:38 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.13 2011/04/15 14:36:30 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.14 2011/10/12 15:33:38 njoly Exp $
 
 .include bsd.own.mk
 
@@ -7,7 +7,7 @@ VERSION!=	cd ${.PARSEDIR}/dist  ${MAKE
 CPPFLAGS+=	-DVERSION=\${VERSION}\ -DUGLY
 
 .if (${HOSTPROG:U} == )
-CPPFLAGS+=	-DHAVE_STRLCAT -DHAVE_STRLCPY
+CPPFLAGS+=	-DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRPTIME
 .endif
 
 DISTDIR:=	${.PARSEDIR}/dist



CVS commit: src/share/man/man4

2011-10-12 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Oct 12 16:59:20 UTC 2011

Modified Files:
src/share/man/man4: chipsfb.4

Log Message:
Fix ampersand special character.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/chipsfb.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/chipsfb.4
diff -u src/share/man/man4/chipsfb.4:1.2 src/share/man/man4/chipsfb.4:1.3
--- src/share/man/man4/chipsfb.4:1.2	Sun Dec  2 19:03:16 2007
+++ src/share/man/man4/chipsfb.4	Wed Oct 12 16:59:20 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: chipsfb.4,v 1.2 2007/12/02 19:03:16 wiz Exp $
+.\	$NetBSD: chipsfb.4,v 1.3 2011/10/12 16:59:20 njoly Exp $
 .\
 .\ Copyright (c) 2007 Michael Lorenz
 .\ All rights reserved.
@@ -31,14 +31,14 @@
 .Os
 .Sh NAME
 .Nm chipsfb
-.Nd Chips \*[Amp] Technologies 6555x based graphics chips
+.Nd Chips \*[Am] Technologies 6555x based graphics chips
 .Sh SYNOPSIS
 .Cd chipsfb* at pci?
 .Cd wsdisplay* at chipsfb?
 .Sh DESCRIPTION
 The
 .Nm
-driver provides support for the C\*[Amp]T 65550 and 65554 graphics controllers.
+driver provides support for the C\*[Am]T 65550 and 65554 graphics controllers.
 Currently it depends on the firmware (usually Open Firmware) to set up the
 framebuffer, but all graphics operations used by wsdisplay use the blitter.
 .Sh SEE ALSO



CVS commit: src/etc/etc.vax

2011-10-12 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Oct 12 17:03:49 UTC 2011

Modified Files:
src/etc/etc.vax: MAKEDEV.conf

Log Message:
PR/45452: Fix pasto (found by tsutsui@) which prevented ra* device
special files creation.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/etc/etc.vax/MAKEDEV.conf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/etc.vax/MAKEDEV.conf
diff -u src/etc/etc.vax/MAKEDEV.conf:1.12 src/etc/etc.vax/MAKEDEV.conf:1.13
--- src/etc/etc.vax/MAKEDEV.conf:1.12	Tue Sep  6 14:40:11 2011
+++ src/etc/etc.vax/MAKEDEV.conf	Wed Oct 12 17:03:49 2011
@@ -1,4 +1,4 @@
-# $NetBSD: MAKEDEV.conf,v 1.12 2011/09/06 14:40:11 apb Exp $
+# $NetBSD: MAKEDEV.conf,v 1.13 2011/10/12 17:03:49 njoly Exp $
 
 all_md)
 	makedev mt0 mt1 ts0 ts1 st0 st1 uk0 ss0 cd0 vt0
@@ -60,7 +60,7 @@ ht[0-9]*|tm[0-9]*|mt[0-9]*|ts[0-9]*|ut[0
 	esac
 	;;
 
-hp[0-9]*|hk[0-9]*|up[0-9]*|ra[0-9][0-9]*|rl[0-9]*|rb[0-9]*|rd[0-9]*|rx[0-9]*)
+hp[0-9]*|hk[0-9]*|up[0-9]*|ra[0-9]*|rl[0-9]*|rb[0-9]*|rd[0-9]*|rx[0-9]*)
 	case $i in
 	hp*) name=hp;	unit=${i#hp};	blk=0; chr=4;;
 	hk*) name=hk;	unit=${i#hk};	blk=3; chr=11;;



CVS commit: src/share/man/man4

2011-10-11 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Oct 11 17:53:28 UTC 2011

Modified Files:
src/share/man/man4: sdtemp.4

Log Message:
Do not use sdtemp0 for all addresses in SYNOPSIS, switch to sdtemp*
instead.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/sdtemp.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/sdtemp.4
diff -u src/share/man/man4/sdtemp.4:1.3 src/share/man/man4/sdtemp.4:1.4
--- src/share/man/man4/sdtemp.4:1.3	Sat Jan  8 20:13:01 2011
+++ src/share/man/man4/sdtemp.4	Tue Oct 11 17:53:27 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: sdtemp.4,v 1.3 2011/01/08 20:13:01 jruoho Exp $
+.\	$NetBSD: sdtemp.4,v 1.4 2011/10/11 17:53:27 njoly Exp $
 .\
 .\ Copyright (c) 2008 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -34,14 +34,14 @@
 .Nm sdtemp
 .Nd JEDEC JC-42.4 compatible memory module temperature sensors
 .Sh SYNOPSIS
-.Cd sdtemp0 at iic? addr 0x18
-.Cd sdtemp0 at iic? addr 0x19
-.Cd sdtemp0 at iic? addr 0x1a
-.Cd sdtemp0 at iic? addr 0x1b
-.Cd sdtemp0 at iic? addr 0x1c
-.Cd sdtemp0 at iic? addr 0x1d
-.Cd sdtemp0 at iic? addr 0x1e
-.Cd sdtemp0 at iic? addr 0x1f
+.Cd sdtemp* at iic? addr 0x18
+.Cd sdtemp* at iic? addr 0x19
+.Cd sdtemp* at iic? addr 0x1a
+.Cd sdtemp* at iic? addr 0x1b
+.Cd sdtemp* at iic? addr 0x1c
+.Cd sdtemp* at iic? addr 0x1d
+.Cd sdtemp* at iic? addr 0x1e
+.Cd sdtemp* at iic? addr 0x1f
 .Sh DESCRIPTION
 The
 .Nm



CVS commit: src/external/mit/xorg/bin/luit

2011-10-10 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Oct 10 09:41:47 UTC 2011

Modified Files:
src/external/mit/xorg/bin/luit: Makefile

Log Message:
Fix locale alias file substitution in man page.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/luit/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/luit/Makefile
diff -u src/external/mit/xorg/bin/luit/Makefile:1.3 src/external/mit/xorg/bin/luit/Makefile:1.4
--- src/external/mit/xorg/bin/luit/Makefile:1.3	Sun Nov 21 02:33:40 2010
+++ src/external/mit/xorg/bin/luit/Makefile	Mon Oct 10 09:41:47 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2010/11/21 02:33:40 mrg Exp $
+#	$NetBSD: Makefile,v 1.4 2011/10/10 09:41:47 njoly Exp $
 
 .include bsd.own.mk
 
@@ -8,7 +8,7 @@ SRCS=	luit.c iso2022.c charset.c parser.
 CPPFLAGS+=-DLOCALE_ALIAS_FILE=\${X11LIBDIR}/locale/locale.alias\
 CPPFLAGS+=-DHAVE_CONFIG_H -I${X11SRCDIR.${PROG}}/../include
 
-X11EXTRAMANDEFS+= -e 's,__localealiasfile__,${X11LIBDIR}/locale/locale.alias,g'
+X11EXTRAMANDEFS+= -e 's,__locale_alias__,${X11LIBDIR}/locale/locale.alias,g'
 
 LDADD+=	-lfontenc -lz
 DPADD+=	${LIBFONTENC} ${LIBZ}



CVS commit: src/sys/dev/ic

2011-10-10 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Oct 10 11:15:24 UTC 2011

Modified Files:
src/sys/dev/ic: bwi.c

Log Message:
Kill local definition of __unused attribute.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/ic/bwi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/bwi.c
diff -u src/sys/dev/ic/bwi.c:1.17 src/sys/dev/ic/bwi.c:1.18
--- src/sys/dev/ic/bwi.c:1.17	Fri Jan 28 20:36:06 2011
+++ src/sys/dev/ic/bwi.c	Mon Oct 10 11:15:24 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: bwi.c,v 1.17 2011/01/28 20:36:06 pooka Exp $	*/
+/*	$NetBSD: bwi.c,v 1.18 2011/10/10 11:15:24 njoly Exp $	*/
 /*	$OpenBSD: bwi.c,v 1.74 2008/02/25 21:13:30 mglocker Exp $	*/
 
 /*
@@ -48,7 +48,7 @@
 
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: bwi.c,v 1.17 2011/01/28 20:36:06 pooka Exp $);
+__KERNEL_RCSID(0, $NetBSD: bwi.c,v 1.18 2011/10/10 11:15:24 njoly Exp $);
 
 #include sys/param.h
 #include sys/callout.h
@@ -119,8 +119,6 @@ do {	\
 #define IEEE80211_DUR_SHSLOT9   /* ERP short slottime */
 #define IEEE80211_DUR_OFDM_SLOT 9   /* OFDM slottime */
 
-#define __unused __attribute__((__unused__))
-
 /* XXX end porting goop */
 
 /* MAC */



CVS commit: src/share/man/man4

2011-10-10 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Oct 10 11:30:41 UTC 2011

Modified Files:
src/share/man/man4: bwi.4

Log Message:
Add missing SYNOPSIS.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/bwi.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/bwi.4
diff -u src/share/man/man4/bwi.4:1.6 src/share/man/man4/bwi.4:1.7
--- src/share/man/man4/bwi.4:1.6	Sun Jan 30 23:29:24 2011
+++ src/share/man/man4/bwi.4	Mon Oct 10 11:30:41 2011
@@ -1,4 +1,4 @@
-.\ $NetBSD: bwi.4,v 1.6 2011/01/30 23:29:24 njoly Exp $
+.\ $NetBSD: bwi.4,v 1.7 2011/10/10 11:30:41 njoly Exp $
 .\
 .\ Copyright (c) 2007 The DragonFly Project.  All rights reserved.
 .\
@@ -37,6 +37,8 @@
 .Sh NAME
 .Nm bwi
 .Nd Broadcom BCM430x/4318 IEEE 802.11b/g wireless network driver
+.Sh SYNOPSIS
+.Cd bwi* at pci? dev ? function ?
 .Sh DESCRIPTION
 The
 .Nm



CVS commit: src/external/bsd/top/dist/machine

2011-10-08 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sat Oct  8 08:45:37 UTC 2011

Modified Files:
src/external/bsd/top/dist/machine: m_netbsd.c

Log Message:
Adjust UID header position, to be aligned with the datas.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/bsd/top/dist/machine/m_netbsd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/top/dist/machine/m_netbsd.c
diff -u src/external/bsd/top/dist/machine/m_netbsd.c:1.15 src/external/bsd/top/dist/machine/m_netbsd.c:1.16
--- src/external/bsd/top/dist/machine/m_netbsd.c:1.15	Fri Apr 15 02:05:53 2011
+++ src/external/bsd/top/dist/machine/m_netbsd.c	Sat Oct  8 08:45:37 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: m_netbsd.c,v 1.15 2011/04/15 02:05:53 christos Exp $	*/
+/*	$NetBSD: m_netbsd.c,v 1.16 2011/10/08 08:45:37 njoly Exp $	*/
 
 /*
  * top - a top users display for Unix
@@ -37,12 +37,12 @@
  *		Andrew Doran a...@netbsd.org
  *
  *
- * $Id: m_netbsd.c,v 1.15 2011/04/15 02:05:53 christos Exp $
+ * $Id: m_netbsd.c,v 1.16 2011/10/08 08:45:37 njoly Exp $
  */
 #include sys/cdefs.h
 
 #ifndef lint
-__RCSID($NetBSD: m_netbsd.c,v 1.15 2011/04/15 02:05:53 christos Exp $);
+__RCSID($NetBSD: m_netbsd.c,v 1.16 2011/10/08 08:45:37 njoly Exp $);
 #endif
 
 #include sys/param.h
@@ -413,7 +413,7 @@ format_process_header(struct process_sel
 {
 	char *header;
 	char *ptr;
-	const char *uname_field = sel-usernames ? USERNAME :UID  ;
+	const char *uname_field = sel-usernames ? USERNAME : UID ;
 
 	if (sel-threads) {
 		header = Thread_header;



CVS commit: src/tests/fs/vfs

2011-10-08 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sat Oct  8 13:00:55 UTC 2011

Modified Files:
src/tests/fs/vfs: t_unpriv.c

Log Message:
USE_OWNER - USES_OWNER for consistency with other macros.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/fs/vfs/t_unpriv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/fs/vfs/t_unpriv.c
diff -u src/tests/fs/vfs/t_unpriv.c:1.1 src/tests/fs/vfs/t_unpriv.c:1.2
--- src/tests/fs/vfs/t_unpriv.c:1.1	Thu Jan  6 15:19:10 2011
+++ src/tests/fs/vfs/t_unpriv.c	Sat Oct  8 13:00:55 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_unpriv.c,v 1.1 2011/01/06 15:19:10 njoly Exp $	*/
+/*	$NetBSD: t_unpriv.c,v 1.2 2011/10/08 13:00:55 njoly Exp $	*/
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 #include ../common/h_fsmacros.h
 #include ../../h_macros.h
 
-#define USE_OWNER			 \
+#define USES_OWNER			 \
 	if (FSTYPE_SYSVBFS(tc) || FSTYPE_MSDOS(tc) || FSTYPE_RUMPFS(tc)) \
 	atf_tc_skip(owner not supported by file system)
 
@@ -43,7 +43,7 @@ static void
 owner(const atf_tc_t *tc, const char *mp)
 {
 
-	USE_OWNER;
+	USES_OWNER;
 
 	FSTEST_ENTER();
 



CVS commit: src/tests/fs/vfs

2011-10-08 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sat Oct  8 13:08:54 UTC 2011

Modified Files:
src/tests/fs/vfs: t_renamerace.c t_rmdirrace.c t_vnops.c

Log Message:
Slightly adjust skipped messages, makes output more consistent.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/tests/fs/vfs/t_renamerace.c
cvs rdiff -u -r1.7 -r1.8 src/tests/fs/vfs/t_rmdirrace.c
cvs rdiff -u -r1.28 -r1.29 src/tests/fs/vfs/t_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/fs/vfs/t_renamerace.c
diff -u src/tests/fs/vfs/t_renamerace.c:1.23 src/tests/fs/vfs/t_renamerace.c:1.24
--- src/tests/fs/vfs/t_renamerace.c:1.23	Mon Jul 18 06:47:08 2011
+++ src/tests/fs/vfs/t_renamerace.c	Sat Oct  8 13:08:54 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_renamerace.c,v 1.23 2011/07/18 06:47:08 dholland Exp $	*/
+/*	$NetBSD: t_renamerace.c,v 1.24 2011/10/08 13:08:54 njoly Exp $	*/
 
 /*
  * Modified for rump and atf from a program supplied
@@ -85,7 +85,7 @@ renamerace(const atf_tc_t *tc, const cha
 		atf_tc_expect_signal(-1, PR kern/43582);
 
 	if (FSTYPE_RUMPFS(tc))
-		atf_tc_skip(rename not supported by fs);
+		atf_tc_skip(rename not supported by file system);
 
 	RZ(rump_pub_lwproc_rfork(RUMP_RFCFDG));
 	RL(wrkpid = rump_sys_getpid());
@@ -133,10 +133,10 @@ renamerace_dirs(const atf_tc_t *tc, cons
 	pthread_t pt1, pt2;
 
 	if (FSTYPE_SYSVBFS(tc))
-		atf_tc_skip(directories not supported);
+		atf_tc_skip(directories not supported by file system);
 
 	if (FSTYPE_RUMPFS(tc))
-		atf_tc_skip(rename not supported by fs);
+		atf_tc_skip(rename not supported by file system);
 
 	/* XXX: msdosfs also sometimes hangs */
 	if (FSTYPE_EXT2FS(tc) || FSTYPE_LFS(tc) || FSTYPE_MSDOS(tc))

Index: src/tests/fs/vfs/t_rmdirrace.c
diff -u src/tests/fs/vfs/t_rmdirrace.c:1.7 src/tests/fs/vfs/t_rmdirrace.c:1.8
--- src/tests/fs/vfs/t_rmdirrace.c:1.7	Mon Jul 19 16:00:45 2010
+++ src/tests/fs/vfs/t_rmdirrace.c	Sat Oct  8 13:08:54 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_rmdirrace.c,v 1.7 2010/07/19 16:00:45 pooka Exp $	*/
+/*	$NetBSD: t_rmdirrace.c,v 1.8 2011/10/08 13:08:54 njoly Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@ race(const atf_tc_t *tc, const char *pat
 	if (FSTYPE_LFS(tc))
 		atf_tc_expect_signal(-1, PR kern/43582);
 	if (FSTYPE_SYSVBFS(tc))
-		atf_tc_skip(rmdir(2) not supported by file system);
+		atf_tc_skip(directories not supported by file system);
 
 	fd = rump_sys_open(., O_RDONLY, 0666);
 	if (fd == -1)

Index: src/tests/fs/vfs/t_vnops.c
diff -u src/tests/fs/vfs/t_vnops.c:1.28 src/tests/fs/vfs/t_vnops.c:1.29
--- src/tests/fs/vfs/t_vnops.c:1.28	Fri Aug 19 01:25:27 2011
+++ src/tests/fs/vfs/t_vnops.c	Sat Oct  8 13:08:54 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_vnops.c,v 1.28 2011/08/19 01:25:27 riastradh Exp $	*/
+/*	$NetBSD: t_vnops.c,v 1.29 2011/10/08 13:08:54 njoly Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -45,8 +45,9 @@
 
 #define TESTFILE afile
 
-#define USES_DIRS \
-if (FSTYPE_SYSVBFS(tc)) atf_tc_skip(dirs not supported by file system)
+#define USES_DIRS	\
+if (FSTYPE_SYSVBFS(tc))\
+	atf_tc_skip(directories not supported by file system)
 
 #define USES_SYMLINKS	\
 if (FSTYPE_SYSVBFS(tc) || FSTYPE_MSDOS(tc))		\
@@ -205,7 +206,7 @@ rename_dir(const atf_tc_t *tc, const cha
 	struct stat ref, sb;
 
 	if (FSTYPE_RUMPFS(tc))
-		atf_tc_skip(rename not supported by fs);
+		atf_tc_skip(rename not supported by file system);
 
 	USES_DIRS;
 
@@ -307,7 +308,7 @@ rename_dotdot(const atf_tc_t *tc, const 
 {
 
 	if (FSTYPE_RUMPFS(tc))
-		atf_tc_skip(rename not supported by fs);
+		atf_tc_skip(rename not supported by file system);
 
 	USES_DIRS;
 
@@ -345,7 +346,7 @@ rename_reg_nodir(const atf_tc_t *tc, con
 	ino_t f1ino, f2ino;
 
 	if (FSTYPE_RUMPFS(tc))
-		atf_tc_skip(rename not supported by fs);
+		atf_tc_skip(rename not supported by file system);
 
 	if (rump_sys_chdir(mp) == -1)
 		atf_tc_fail_errno(chdir mountpoint);
@@ -482,7 +483,7 @@ rename_nametoolong(const atf_tc_t *tc, c
 	size_t len;
 
 	if (FSTYPE_RUMPFS(tc))
-		atf_tc_skip(rename not supported by fs);
+		atf_tc_skip(rename not supported by file system);
 
 	if (rump_sys_chdir(mp) == -1)
 		atf_tc_fail_errno(chdir mountpoint);



CVS commit: src/sys/kern

2011-10-05 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Oct  5 20:37:40 UTC 2011

Modified Files:
src/sys/kern: kern_synch.c

Log Message:
Include sys/syslog.h for log(9).


To generate a diff of this commit:
cvs rdiff -u -r1.294 -r1.295 src/sys/kern/kern_synch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/kern_synch.c
diff -u src/sys/kern/kern_synch.c:1.294 src/sys/kern/kern_synch.c:1.295
--- src/sys/kern/kern_synch.c:1.294	Wed Oct  5 14:28:08 2011
+++ src/sys/kern/kern_synch.c	Wed Oct  5 20:37:40 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_synch.c,v 1.294 2011/10/05 14:28:08 apb Exp $	*/
+/*	$NetBSD: kern_synch.c,v 1.295 2011/10/05 20:37:40 njoly Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2004, 2006, 2007, 2008, 2009
@@ -69,7 +69,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: kern_synch.c,v 1.294 2011/10/05 14:28:08 apb Exp $);
+__KERNEL_RCSID(0, $NetBSD: kern_synch.c,v 1.295 2011/10/05 20:37:40 njoly Exp $);
 
 #include opt_kstack.h
 #include opt_perfctrs.h
@@ -99,6 +99,7 @@ __KERNEL_RCSID(0, $NetBSD: kern_synch.c
 #include sys/lwpctl.h
 #include sys/atomic.h
 #include sys/simplelock.h
+#include sys/syslog.h
 
 #include uvm/uvm_extern.h
 



CVS commit: src/sys/arch/amd64/amd64

2011-10-05 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Oct  5 20:39:24 UTC 2011

Modified Files:
src/sys/arch/amd64/amd64: trap.c

Log Message:
Remove extra space.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/amd64/amd64/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/amd64/trap.c
diff -u src/sys/arch/amd64/amd64/trap.c:1.66 src/sys/arch/amd64/amd64/trap.c:1.67
--- src/sys/arch/amd64/amd64/trap.c:1.66	Sun Apr  3 22:29:25 2011
+++ src/sys/arch/amd64/amd64/trap.c	Wed Oct  5 20:39:24 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: trap.c,v 1.66 2011/04/03 22:29:25 dyoung Exp $	*/
+/*	$NetBSD: trap.c,v 1.67 2011/10/05 20:39:24 njoly Exp $	*/
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: trap.c,v 1.66 2011/04/03 22:29:25 dyoung Exp $);
+__KERNEL_RCSID(0, $NetBSD: trap.c,v 1.67 2011/10/05 20:39:24 njoly Exp $);
 
 #include opt_ddb.h
 #include opt_kgdb.h
@@ -275,7 +275,7 @@ trap(struct trapframe *frame)
 		else
 			printf(unknown trap %ld, (u_long)frame-tf_trapno);
 		printf( in %s mode\n, (type  T_USER) ? user : supervisor);
-		printf(trap type %d code %lx rip %lx cs %lx rflags %lx cr2 
+		printf(trap type %d code %lx rip %lx cs %lx rflags %lx cr2
 		%lx cpl %x rsp %lx\n,
 		type, frame-tf_err, (u_long)frame-tf_rip, frame-tf_cs,
 		frame-tf_rflags, rcr2(), curcpu()-ci_ilevel, frame-tf_rsp);



CVS commit: src/tests/util/xlint/lint1

2011-10-05 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Oct  5 21:30:50 UTC 2011

Modified Files:
src/tests/util/xlint/lint1: d_c99_decls_after_stmt.c

Log Message:
Fix lint unrelated set but not used warning, to unbreak test.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/util/xlint/lint1/d_c99_decls_after_stmt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/util/xlint/lint1/d_c99_decls_after_stmt.c
diff -u src/tests/util/xlint/lint1/d_c99_decls_after_stmt.c:1.1 src/tests/util/xlint/lint1/d_c99_decls_after_stmt.c:1.2
--- src/tests/util/xlint/lint1/d_c99_decls_after_stmt.c:1.1	Tue Oct  4 16:24:27 2011
+++ src/tests/util/xlint/lint1/d_c99_decls_after_stmt.c	Wed Oct  5 21:30:50 2011
@@ -1,5 +1,5 @@
 void sample(void)
 {
   int i = 0; i += 1;
-  int j = 0; i += 1;
+  int j = 0; j += 1;
 }



CVS commit: src/sys/dev/pci

2011-10-04 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Oct  4 09:16:24 UTC 2011

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
Add 3WARE 9750 Series RAID.


To generate a diff of this commit:
cvs rdiff -u -r1.1098 -r1.1099 src/sys/dev/pci/pcidevs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/pcidevs
diff -u src/sys/dev/pci/pcidevs:1.1098 src/sys/dev/pci/pcidevs:1.1099
--- src/sys/dev/pci/pcidevs:1.1098	Fri Sep 23 14:25:13 2011
+++ src/sys/dev/pci/pcidevs	Tue Oct  4 09:16:23 2011
@@ -1,4 +1,4 @@
-$NetBSD: pcidevs,v 1.1098 2011/09/23 14:25:13 njoly Exp $
+$NetBSD: pcidevs,v 1.1099 2011/10/04 09:16:23 njoly Exp $
 
 /*
  * Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -748,6 +748,7 @@ product 3WARE 9000		0x1002	9000 Series R
 product 3WARE 9550		0x1003	9550 Series RAID
 product 3WARE 9650		0x1004	9650 Series RAID
 product 3WARE 9690		0x1005	9690 Series RAID
+product 3WARE 9750		0x1010	9750 Series RAID
 
 /* AboCom products */
 product ABOCOM FE2500		0xab02	FE2500 10/100 Ethernet



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

2011-10-03 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Oct  3 09:52:24 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: mi

Log Message:
+i2cscan.debug


To generate a diff of this commit:
cvs rdiff -u -r1.1685 -r1.1686 src/distrib/sets/lists/comp/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1685 src/distrib/sets/lists/comp/mi:1.1686
--- src/distrib/sets/lists/comp/mi:1.1685	Sun Oct  2 21:19:35 2011
+++ src/distrib/sets/lists/comp/mi	Mon Oct  3 09:52:23 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.1685 2011/10/02 21:19:35 pgoyette Exp $
+#	$NetBSD: mi,v 1.1686 2011/10/03 09:52:23 njoly Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -4077,6 +4077,7 @@
 ./usr/libdata/debug/usr/sbin/hostapd.debug	comp-sysutil-debug	debug
 ./usr/libdata/debug/usr/sbin/hostapd_cli.debug	comp-sysutil-debug	debug
 ./usr/libdata/debug/usr/sbin/hprop.debug	comp-krb5-debug		kerberos,debug
+./usr/libdata/debug/usr/sbin/i2cscan.debug	comp-sysutil-debug	debug
 ./usr/libdata/debug/usr/sbin/ifmcstat.debug	comp-netutil-debug	inet6,debug
 ./usr/libdata/debug/usr/sbin/ifwatchd.debug	comp-netutil-debug	debug
 ./usr/libdata/debug/usr/sbin/inetd.debug	comp-netutil-debug	debug



CVS commit: src/external/bsd/file/dist/doc

2011-10-03 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Oct  3 15:43:55 UTC 2011

Modified Files:
src/external/bsd/file/dist/doc: libmagic.3

Log Message:
Fix magic_descriptor/magic_file quoting in SYNOPSIS.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/file/dist/doc/libmagic.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/file/dist/doc/libmagic.3
diff -u src/external/bsd/file/dist/doc/libmagic.3:1.7 src/external/bsd/file/dist/doc/libmagic.3:1.8
--- src/external/bsd/file/dist/doc/libmagic.3:1.7	Fri Sep 16 21:06:25 2011
+++ src/external/bsd/file/dist/doc/libmagic.3	Mon Oct  3 15:43:55 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: libmagic.3,v 1.7 2011/09/16 21:06:25 christos Exp $
+.\	$NetBSD: libmagic.3,v 1.8 2011/10/03 15:43:55 njoly Exp $
 .\
 .\ $File: libmagic.man,v 1.24 2011/05/13 22:11:44 christos Exp $
 .\
@@ -54,9 +54,9 @@
 .Ft int
 .Fn magic_errno magic_t cookie
 .Ft const char *
-.Fn magic_descriptor magic_t cookie, int fd
+.Fn magic_descriptor magic_t cookie int fd
 .Ft const char *
-.Fn magic_file magic_t cookie, const char *filename
+.Fn magic_file magic_t cookie const char *filename
 .Ft const char *
 .Fn magic_buffer magic_t cookie const void *buffer size_t length
 .Ft int



CVS commit: src/lib/libc/sys

2011-10-03 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Oct  3 15:49:02 UTC 2011

Modified Files:
src/lib/libc/sys: getitimer.2

Log Message:
Note functions failure for unknown timer type.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/libc/sys/getitimer.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/sys/getitimer.2
diff -u src/lib/libc/sys/getitimer.2:1.26 src/lib/libc/sys/getitimer.2:1.27
--- src/lib/libc/sys/getitimer.2:1.26	Mon May  2 17:14:20 2011
+++ src/lib/libc/sys/getitimer.2	Mon Oct  3 15:49:02 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: getitimer.2,v 1.26 2011/05/02 17:14:20 jruoho Exp $
+.\	$NetBSD: getitimer.2,v 1.27 2011/10/03 15:49:02 njoly Exp $
 .\
 .\ Copyright (c) 1983, 1991, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\
 .\ @(#)getitimer.2	8.3 (Berkeley) 5/16/95
 .\
-.Dd May 2, 2011
+.Dd October 3, 2011
 .Dt GETITIMER 2
 .Os
 .Sh NAME
@@ -150,7 +150,9 @@ The
 .Fa value
 parameter specified a bad address.
 .It Bq Er EINVAL
-A
+The
+.Fa which
+parameter was not a known timer type, or the
 .Fa value
 parameter specified a time that was too large
 to be handled.



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

2011-10-03 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Oct  3 17:31:35 UTC 2011

Modified Files:
src/sys/arch/x86/include: specialreg.h

Log Message:
Do not redefine CPUID_LAHF.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/x86/include/specialreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/include/specialreg.h
diff -u src/sys/arch/x86/include/specialreg.h:1.52 src/sys/arch/x86/include/specialreg.h:1.53
--- src/sys/arch/x86/include/specialreg.h:1.52	Tue Jul 26 12:59:41 2011
+++ src/sys/arch/x86/include/specialreg.h	Mon Oct  3 17:31:35 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: specialreg.h,v 1.52 2011/07/26 12:59:41 yamt Exp $	*/
+/*	$NetBSD: specialreg.h,v 1.53 2011/10/03 17:31:35 njoly Exp $	*/
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -178,7 +178,7 @@
 			\36LONG\0373DNOW2\0403DNOW \
 
 /* AMD Fn8001 extended features - %ecx */
-#define CPUID_LAHF	0x0001	/* LAHF/SAHF instruction */
+/* 	CPUID_LAHF			   LAHF/SAHF instruction */
 #define CPUID_CMPLEGACY	0x0002	/* Compare Legacy */
 #define CPUID_SVM	0x0004	/* Secure Virtual Machine */
 #define CPUID_EAPIC	0x0008	/* Extended APIC space */



CVS commit: src/share/man/man4

2011-10-01 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sat Oct  1 08:50:29 UTC 2011

Modified Files:
src/share/man/man4: termios.4

Log Message:
Fix sub-section reference.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/share/man/man4/termios.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/termios.4
diff -u src/share/man/man4/termios.4:1.35 src/share/man/man4/termios.4:1.36
--- src/share/man/man4/termios.4:1.35	Tue Jun 14 13:19:32 2011
+++ src/share/man/man4/termios.4	Sat Oct  1 08:50:28 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: termios.4,v 1.35 2011/06/14 13:19:32 njoly Exp $
+.\	$NetBSD: termios.4,v 1.36 2011/10/01 08:50:28 njoly Exp $
 .\
 .\ Copyright (c) 1991, 1992, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -349,8 +349,8 @@ the
 and
 .Dv KILL
 characters (see the
-.Sx Special Characters section ) ,
-is received.
+.Sx Special Characters
+section), is received.
 This processing affects data in the input queue that has not yet been
 delimited by a newline
 .Dv NL ,



CVS commit: src/share/man/man9

2011-09-30 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Sep 30 15:47:20 UTC 2011

Modified Files:
src/share/man/man9: Makefile

Log Message:
There's no stand alone vpanic.9 man page.


To generate a diff of this commit:
cvs rdiff -u -r1.352 -r1.353 src/share/man/man9/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/Makefile
diff -u src/share/man/man9/Makefile:1.352 src/share/man/man9/Makefile:1.353
--- src/share/man/man9/Makefile:1.352	Thu Sep 29 20:55:49 2011
+++ src/share/man/man9/Makefile	Fri Sep 30 15:47:20 2011
@@ -1,4 +1,4 @@
-#   $NetBSD: Makefile,v 1.352 2011/09/29 20:55:49 christos Exp $
+#   $NetBSD: Makefile,v 1.353 2011/09/30 15:47:20 njoly Exp $
 
 #	Makefile for section 9 (kernel function and variable) manual pages.
 
@@ -53,7 +53,7 @@ MAN=	accept_filter.9 accf_data.9 accf_ht
 	uiomove.9 ucom.9 userret.9 \
 	vattr.9 veriexec.9 vcons.9 vfs.9 vfs_hooks.9 vfsops.9 vfssubr.9 \
 	video.9 vme.9 \
-	vnfileops.9 vnode.9 vnodeops.9 vnsubr.9 vpanic.9 \
+	vnfileops.9 vnode.9 vnodeops.9 vnsubr.9 \
 	ubc.9 usbdi.9 uvm.9 uvm_km.9 uvm_map.9 vmem.9 \
 	wdc.9 workqueue.9 \
 	wscons.9 wsdisplay.9 wsfont.9 wskbd.9 wsmouse.9 \



CVS commit: src/tests/lib/libc/sys

2011-09-30 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Sep 30 21:08:19 UTC 2011

Modified Files:
src/tests/lib/libc/sys: t_dup.c

Log Message:
Do not try to open files up to the RLIMIT_NOFILE limit, which fails
when process limit is identical to the whole system limit. Just do it
for a small fixed value, and adjust the limit accordingly instead.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libc/sys/t_dup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/sys/t_dup.c
diff -u src/tests/lib/libc/sys/t_dup.c:1.5 src/tests/lib/libc/sys/t_dup.c:1.6
--- src/tests/lib/libc/sys/t_dup.c:1.5	Mon Jul 18 04:29:37 2011
+++ src/tests/lib/libc/sys/t_dup.c	Fri Sep 30 21:08:19 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_dup.c,v 1.5 2011/07/18 04:29:37 jruoho Exp $ */
+/* $NetBSD: t_dup.c,v 1.6 2011/09/30 21:08:19 njoly Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,13 +29,14 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include sys/cdefs.h
-__RCSID($NetBSD: t_dup.c,v 1.5 2011/07/18 04:29:37 jruoho Exp $);
+__RCSID($NetBSD: t_dup.c,v 1.6 2011/09/30 21:08:19 njoly Exp $);
 
 #include sys/resource.h
 #include sys/stat.h
 #include sys/wait.h
 
 #include atf-c.h
+#include err.h
 #include errno.h
 #include fcntl.h
 #include limits.h
@@ -300,13 +301,11 @@ ATF_TC_BODY(dup_max, tc)
 		(void)closefrom(0);
 		(void)memset(res, 0, sizeof(struct rlimit));
 
-		if (getrlimit(RLIMIT_NOFILE, res) != 0)
+		n = 10;
+		res.rlim_cur = res.rlim_max = n;
+		if (setrlimit(RLIMIT_NOFILE, res) != 0)
 			_exit(EX_OSERR);
 
-		if (res.rlim_cur == 0 || res.rlim_max == 0)
-			_exit(EX_OSERR);
-
-		n = res.rlim_cur;
 		buf = calloc(n, sizeof(int));
 
 		if (buf == NULL)



CVS commit: src/share/man/man8

2011-09-24 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sat Sep 24 08:39:39 UTC 2011

Modified Files:
src/share/man/man8: MAKEDEV.8

Log Message:
Regen after recent i386/ - x86/ fdc(4) and lpt(4) moves.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/share/man/man8/MAKEDEV.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man8/MAKEDEV.8
diff -u src/share/man/man8/MAKEDEV.8:1.40 src/share/man/man8/MAKEDEV.8:1.41
--- src/share/man/man8/MAKEDEV.8:1.40	Tue Sep  6 10:27:07 2011
+++ src/share/man/man8/MAKEDEV.8	Sat Sep 24 08:39:39 2011
@@ -6,7 +6,7 @@
 .\ *** DO NOT EDIT - any changes will be lost!!!
 .\ *** --
 .\
-.\ $NetBSD: MAKEDEV.8,v 1.40 2011/09/06 10:27:07 apb Exp $
+.\ $NetBSD: MAKEDEV.8,v 1.41 2011/09/24 08:39:39 njoly Exp $
 .\
 .\ Copyright (c) 2001, 2003, 2007, 2008 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -310,8 +310,8 @@
 . It Ar fd#
 ``floppy'' disk drives (3 1/2, 5 1/4), see
 .Xr \amiga/fdc 4 ,
-.Xr \i386/fdc 4 ,
-.Xr \sparc64/fdc 4
+.Xr \sparc64/fdc 4 ,
+.Xr \x86/fdc 4
 . It Ar fss#
 Files system snapshot devices, see
 .Xr \fss 4
@@ -547,8 +547,8 @@
 Stock lp, see
 .Xr \lpt 4 ,
 .Xr \acorn32/lpt 4 ,
-.Xr \i386/lpt 4 ,
-.Xr \mvme68k/lpt 4
+.Xr \mvme68k/lpt 4 ,
+.Xr \x86/lpt 4
 . It Ar lpa#
 Interruptless lp
 . It Ar par#



CVS commit: src/sys/dev/pci

2011-09-23 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Sep 23 14:25:13 UTC 2011

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
Add NVIDIA GeForce 210.


To generate a diff of this commit:
cvs rdiff -u -r1.1097 -r1.1098 src/sys/dev/pci/pcidevs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/pcidevs
diff -u src/sys/dev/pci/pcidevs:1.1097 src/sys/dev/pci/pcidevs:1.1098
--- src/sys/dev/pci/pcidevs:1.1097	Mon Sep  5 04:31:43 2011
+++ src/sys/dev/pci/pcidevs	Fri Sep 23 14:25:13 2011
@@ -1,4 +1,4 @@
-$NetBSD: pcidevs,v 1.1097 2011/09/05 04:31:43 msaitoh Exp $
+$NetBSD: pcidevs,v 1.1098 2011/09/23 14:25:13 njoly Exp $
 
 /*
  * Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -3784,6 +3784,7 @@
 product NVIDIA	MCP73_HDA_1	0x07fc	nForce MCP73 High Definition Audio Controller
 product NVIDIA	MCP73_HDA_2	0x07fd	nForce MCP73 High Definition Audio Controller
 product NVIDIA	MCP78S_SMB	0x0752	nForce MCP78S SMBus Controller
+product NVIDIA	GEFORCE_210	0x0a65	GeForce 210
 product NVIDIA	MCP79_SMB	0x0aa2	nForce MCP79 SMBus Controller
 product NVIDIA	MCP79_LAN1	0x0ab0	nForce MCP79 Gigabit Ethernet Controller
 product NVIDIA	MCP79_LAN2	0x0ab1	nForce MCP79 Gigabit Ethernet Controller



CVS commit: src/lib/libm/man

2011-09-22 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Sep 22 18:14:09 UTC 2011

Modified Files:
src/lib/libm/man: math.3

Log Message:
In functions list, switch from tab characters to Ta macro. Makes
nroff properly handle xrefs.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libm/man/math.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/man/math.3
diff -u src/lib/libm/man/math.3:1.24 src/lib/libm/man/math.3:1.25
--- src/lib/libm/man/math.3:1.24	Sun Sep 18 10:58:28 2011
+++ src/lib/libm/man/math.3	Thu Sep 22 18:14:09 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: math.3,v 1.24 2011/09/18 10:58:28 njoly Exp $
+.\	$NetBSD: math.3,v 1.25 2011/09/22 18:14:09 njoly Exp $
 .\
 .\ Copyright (c) 1985 Regents of the University of California.
 .\ All rights reserved.
@@ -48,52 +48,52 @@
 .Ss List of Functions
 .Bl -column copysignX gammaX3XX inverse trigonometric funcX
 .It Sy Name Ta Sy Man page Ta Sy Description Ta Sy Error Bound Dv ( ULP Ns No s)
-.It acos	Xr acos 3	inverse trigonometric function	3
-.It acosh	Xr acosh 3	inverse hyperbolic function	3
-.It asin	Xr asin 3	inverse trigonometric function	3
-.It asinh	Xr asinh 3	inverse hyperbolic function	3
-.It atan	Xr atan 3	inverse trigonometric function	1
-.It atanh	Xr atanh 3	inverse hyperbolic function	3
-.It atan2	Xr atan2 3	inverse trigonometric function	2
-.It cbrt	Xr sqrt 3	cube root	1
-.It ceil	Xr ceil 3	integer no less than	0
-.It copysign	Xr copysign 3	copy sign bit	0
-.It cos	Xr cos 3	trigonometric function	1
-.It cosh	Xr cosh 3	hyperbolic function	3
-.It erf	Xr erf 3	error function	???
-.It erfc	Xr erf 3	complementary error function	???
-.It exp	Xr exp 3	exponential	1
-.It expm1	Xr exp 3	exp(x)\-1	1
-.It fabs	Xr fabs 3	absolute value	0
-.It finite	Xr finite 3	test for finity	0
-.It floor	Xr floor 3	integer no greater than	0
-.It fmod	Xr fmod 3	remainder	???
-.It hypot	Xr hypot 3	Euclidean distance	1
-.It ilogb	Xr ilogb 3	exponent extraction	0
-.It isinf	Xr isinf 3	test for infinity	0
-.It isnan	Xr isnan 3	test for not-a-number	0
-.It j0	Xr j0 3	Bessel function	???
-.It j1	Xr j0 3	Bessel function	???
-.It jn	Xr j0 3	Bessel function	???
-.It lgamma	Xr lgamma 3	log gamma function	???
-.It log	Xr log 3	natural logarithm	1
-.It log10	Xr log 3	logarithm to base 10	3
-.It log1p	Xr log 3	log(1+x)	1
-.It nan	Xr nan 3	return quiet \*(Na	0
-.It nextafter	Xr nextafter 3	next representable number	0
-.It pow	Xr pow 3	exponential x**y	60\-500
-.It remainder	Xr remainder 3	remainder	0
-.It rint	Xr rint 3	round to nearest integer	0
-.It scalbn	Xr scalbn 3	exponent adjustment	0
-.It sin	Xr sin 3	trigonometric function	1
-.It sinh	Xr sinh 3	hyperbolic function	3
-.It sqrt	Xr sqrt 3	square root	1
-.It tan	Xr tan 3	trigonometric function	3
-.It tanh	Xr tanh 3	hyperbolic function	3
-.It trunc	Xr trunc 3	nearest integral value	3
-.It y0	Xr j0 3	Bessel function	???
-.It y1	Xr j0 3	Bessel function	???
-.It yn	Xr j0 3	Bessel function	???
+.It acos Ta Xr acos 3 Ta inverse trigonometric function Ta 3
+.It acosh Ta Xr acosh 3 Ta inverse hyperbolic function Ta 3
+.It asin Ta Xr asin 3 Ta inverse trigonometric function Ta 3
+.It asinh Ta Xr asinh 3 Ta inverse hyperbolic function Ta 3
+.It atan Ta Xr atan 3 Ta inverse trigonometric function Ta 1
+.It atanh Ta Xr atanh 3 Ta inverse hyperbolic function Ta 3
+.It atan2 Ta Xr atan2 3 Ta inverse trigonometric function Ta 2
+.It cbrt Ta Xr sqrt 3 Ta cube root Ta 1
+.It ceil Ta Xr ceil 3 Ta integer no less than Ta 0
+.It copysign Ta Xr copysign 3 Ta copy sign bit Ta 0
+.It cos Ta Xr cos 3 Ta trigonometric function Ta 1
+.It cosh Ta Xr cosh 3 Ta hyperbolic function Ta 3
+.It erf Ta Xr erf 3 Ta error function Ta ???
+.It erfc Ta Xr erf 3 Ta complementary error function Ta ???
+.It exp Ta Xr exp 3 Ta exponential Ta 1
+.It expm1 Ta Xr exp 3 Ta exp(x)\-1 Ta 1
+.It fabs Ta Xr fabs 3 Ta absolute value Ta 0
+.It finite Ta Xr finite 3 Ta test for finity Ta 0
+.It floor Ta Xr floor 3 Ta integer no greater than Ta 0
+.It fmod Ta Xr fmod 3 Ta remainder Ta ???
+.It hypot Ta Xr hypot 3 Ta Euclidean distance Ta 1
+.It ilogb Ta Xr ilogb 3 Ta exponent extraction Ta 0
+.It isinf Ta Xr isinf 3 Ta test for infinity Ta 0
+.It isnan Ta Xr isnan 3 Ta test for not-a-number Ta 0
+.It j0 Ta Xr j0 3 Ta Bessel function Ta ???
+.It j1 Ta Xr j0 3 Ta Bessel function Ta ???
+.It jn Ta Xr j0 3 Ta Bessel function Ta ???
+.It lgamma Ta Xr lgamma 3 Ta log gamma function Ta ???
+.It log Ta Xr log 3 Ta natural logarithm Ta 1
+.It log10 Ta Xr log 3 Ta logarithm to base 10 Ta 3
+.It log1p Ta Xr log 3 Ta log(1+x) Ta 1
+.It nan Ta Xr nan 3 Ta return quiet \*(Na Ta 0
+.It nextafter Ta Xr nextafter 3 Ta next representable number Ta 0
+.It pow Ta Xr pow 3 Ta exponential x**y Ta 60\-500
+.It remainder Ta Xr remainder 3 Ta remainder Ta 0
+.It rint Ta Xr rint 3 Ta round to nearest integer Ta 0
+.It scalbn Ta Xr scalbn 3 Ta exponent adjustment Ta 0
+.It sin Ta 

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

2011-09-19 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Sep 19 11:57:11 UTC 2011

Modified Files:
src/distrib/sets/lists/tests: mi

Log Message:
Small typo (t_fpsclassify - t_fpclassify).


To generate a diff of this commit:
cvs rdiff -u -r1.392 -r1.393 src/distrib/sets/lists/tests/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/tests/mi
diff -u src/distrib/sets/lists/tests/mi:1.392 src/distrib/sets/lists/tests/mi:1.393
--- src/distrib/sets/lists/tests/mi:1.392	Mon Sep 19 11:04:33 2011
+++ src/distrib/sets/lists/tests/mi	Mon Sep 19 11:57:11 2011
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.392 2011/09/19 11:04:33 jruoho Exp $
+# $NetBSD: mi,v 1.393 2011/09/19 11:57:11 njoly Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -1890,7 +1890,7 @@
 ./usr/tests/lib/libc/gen/t_closefrom		tests-lib-tests		atf
 ./usr/tests/lib/libc/gen/t_dir			tests-lib-tests		atf
 ./usr/tests/lib/libc/gen/t_fmtcheck		tests-lib-tests		atf
-./usr/tests/lib/libc/gen/t_fpsclassify		tests-lib-tests		atf
+./usr/tests/lib/libc/gen/t_fpclassify		tests-lib-tests		atf
 ./usr/tests/lib/libc/gen/t_fpsetmask		tests-lib-tests		atf
 ./usr/tests/lib/libc/gen/t_fpsetround		tests-lib-tests		atf
 ./usr/tests/lib/libc/gen/t_getcwd		tests-lib-tests		atf



CVS commit: src/usr.bin/xlint/xlint

2011-09-18 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sun Sep 18 09:07:35 UTC 2011

Modified Files:
src/usr.bin/xlint/xlint: xlint.c

Log Message:
Fix lseek(2) swapped arguments.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/xlint/xlint/xlint.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/xlint/xlint/xlint.c
diff -u src/usr.bin/xlint/xlint/xlint.c:1.43 src/usr.bin/xlint/xlint/xlint.c:1.44
--- src/usr.bin/xlint/xlint/xlint.c:1.43	Mon Mar 22 01:29:30 2010
+++ src/usr.bin/xlint/xlint/xlint.c	Sun Sep 18 09:07:35 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: xlint.c,v 1.43 2010/03/22 01:29:30 mrg Exp $ */
+/* $NetBSD: xlint.c,v 1.44 2011/09/18 09:07:35 njoly Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -38,7 +38,7 @@
 
 #include sys/cdefs.h
 #if defined(__RCSID)  !defined(lint)
-__RCSID($NetBSD: xlint.c,v 1.43 2010/03/22 01:29:30 mrg Exp $);
+__RCSID($NetBSD: xlint.c,v 1.44 2011/09/18 09:07:35 njoly Exp $);
 #endif
 
 #include sys/param.h
@@ -680,7 +680,7 @@
 	appcstrg(args, name);
 
 	/* we reuse the same tmp file for cpp output, so rewind and truncate */
-	if (lseek(cppoutfd, SEEK_SET, (off_t)0) != 0) {
+	if (lseek(cppoutfd, (off_t)0, SEEK_SET) != 0) {
 		warn(lseek);
 		terminate(-1);
 	}



CVS commit: src/lib/libm/man

2011-09-18 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sun Sep 18 10:58:29 UTC 2011

Modified Files:
src/lib/libm/man: math.3

Log Message:
Fix a few xrefs.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libm/man/math.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/man/math.3
diff -u src/lib/libm/man/math.3:1.23 src/lib/libm/man/math.3:1.24
--- src/lib/libm/man/math.3:1.23	Sat Sep 17 13:28:51 2011
+++ src/lib/libm/man/math.3	Sun Sep 18 10:58:28 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: math.3,v 1.23 2011/09/17 13:28:51 wiz Exp $
+.\	$NetBSD: math.3,v 1.24 2011/09/18 10:58:28 njoly Exp $
 .\
 .\ Copyright (c) 1985 Regents of the University of California.
 .\ All rights reserved.
@@ -54,10 +54,10 @@
 .It asinh	Xr asinh 3	inverse hyperbolic function	3
 .It atan	Xr atan 3	inverse trigonometric function	1
 .It atanh	Xr atanh 3	inverse hyperbolic function	3
-.It atan2	atan2.3	inverse trigonometric function	2
+.It atan2	Xr atan2 3	inverse trigonometric function	2
 .It cbrt	Xr sqrt 3	cube root	1
 .It ceil	Xr ceil 3	integer no less than	0
-.It copysign	Xr ieee 3	copy sign bit	0
+.It copysign	Xr copysign 3	copy sign bit	0
 .It cos	Xr cos 3	trigonometric function	1
 .It cosh	Xr cosh 3	hyperbolic function	3
 .It erf	Xr erf 3	error function	???
@@ -65,26 +65,26 @@
 .It exp	Xr exp 3	exponential	1
 .It expm1	Xr exp 3	exp(x)\-1	1
 .It fabs	Xr fabs 3	absolute value	0
-.It finite	Xr ieee 3	test for finity	0
+.It finite	Xr finite 3	test for finity	0
 .It floor	Xr floor 3	integer no greater than	0
 .It fmod	Xr fmod 3	remainder	???
 .It hypot	Xr hypot 3	Euclidean distance	1
-.It ilogb	Xr ieee 3	exponent extraction	0
+.It ilogb	Xr ilogb 3	exponent extraction	0
 .It isinf	Xr isinf 3	test for infinity	0
 .It isnan	Xr isnan 3	test for not-a-number	0
 .It j0	Xr j0 3	Bessel function	???
 .It j1	Xr j0 3	Bessel function	???
 .It jn	Xr j0 3	Bessel function	???
 .It lgamma	Xr lgamma 3	log gamma function	???
-.It log	Xr exp 3	natural logarithm	1
-.It log10	Xr exp 3	logarithm to base 10	3
-.It log1p	Xr exp 3	log(1+x)	1
+.It log	Xr log 3	natural logarithm	1
+.It log10	Xr log 3	logarithm to base 10	3
+.It log1p	Xr log 3	log(1+x)	1
 .It nan	Xr nan 3	return quiet \*(Na	0
-.It nextafter	Xr ieee 3	next representable number	0
-.It pow	Xr exp 3	exponential x**y	60\-500
-.It remainder	Xr ieee 3	remainder	0
+.It nextafter	Xr nextafter 3	next representable number	0
+.It pow	Xr pow 3	exponential x**y	60\-500
+.It remainder	Xr remainder 3	remainder	0
 .It rint	Xr rint 3	round to nearest integer	0
-.It scalbn	Xr ieee 3	exponent adjustment	0
+.It scalbn	Xr scalbn 3	exponent adjustment	0
 .It sin	Xr sin 3	trigonometric function	1
 .It sinh	Xr sinh 3	hyperbolic function	3
 .It sqrt	Xr sqrt 3	square root	1



CVS commit: src/lib/libutil

2011-09-14 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Sep 14 11:43:29 UTC 2011

Modified Files:
src/lib/libutil: getlabelsector.3

Log Message:
Kill empty Dv macro.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libutil/getlabelsector.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libutil/getlabelsector.3
diff -u src/lib/libutil/getlabelsector.3:1.7 src/lib/libutil/getlabelsector.3:1.8
--- src/lib/libutil/getlabelsector.3:1.7	Mon Sep  5 18:25:57 2011
+++ src/lib/libutil/getlabelsector.3	Wed Sep 14 11:43:29 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: getlabelsector.3,v 1.7 2011/09/05 18:25:57 wiz Exp $
+.\	$NetBSD: getlabelsector.3,v 1.8 2011/09/14 11:43:29 njoly Exp $
 .\
 .\
 .\ Copyright 2002 Wasabi Systems, Inc.
@@ -71,7 +71,6 @@
 .Fn getlabelusesmbr
 returns 1 if the disklabel is located inside a MBR partition, 0 if it's stored
 relative to the start of the disk, or \-1 on error.
-.Dv
 .Sh SEE ALSO
 .Xr sysctl 3 ,
 .Xr disklabel 5



CVS commit: src/lib/libm/man

2011-09-13 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Sep 13 07:11:43 UTC 2011

Modified Files:
src/lib/libm/man: fabs.3 ieee_test.3 nextafter.3 rint.3 round.3

Log Message:
Remove xrefs to ieee(3) man page which does not exists anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libm/man/fabs.3
cvs rdiff -u -r1.11 -r1.12 src/lib/libm/man/ieee_test.3
cvs rdiff -u -r1.2 -r1.3 src/lib/libm/man/nextafter.3
cvs rdiff -u -r1.12 -r1.13 src/lib/libm/man/rint.3
cvs rdiff -u -r1.5 -r1.6 src/lib/libm/man/round.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/man/fabs.3
diff -u src/lib/libm/man/fabs.3:1.14 src/lib/libm/man/fabs.3:1.15
--- src/lib/libm/man/fabs.3:1.14	Thu Aug  7 16:44:47 2003
+++ src/lib/libm/man/fabs.3	Tue Sep 13 07:11:43 2011
@@ -26,7 +26,7 @@
 .\ SUCH DAMAGE.
 .\
 .\ from: @(#)fabs.3	5.1 (Berkeley) 5/2/91
-.\	$NetBSD: fabs.3,v 1.14 2003/08/07 16:44:47 agc Exp $
+.\	$NetBSD: fabs.3,v 1.15 2011/09/13 07:11:43 njoly Exp $
 .\
 .Dd May 2, 1991
 .Dt FABS 3
@@ -59,7 +59,6 @@
 .Xr abs 3 ,
 .Xr ceil 3 ,
 .Xr floor 3 ,
-.Xr ieee 3 ,
 .Xr math 3 ,
 .Xr rint 3
 .Sh STANDARDS

Index: src/lib/libm/man/ieee_test.3
diff -u src/lib/libm/man/ieee_test.3:1.11 src/lib/libm/man/ieee_test.3:1.12
--- src/lib/libm/man/ieee_test.3:1.11	Wed Aug  3 14:13:07 2011
+++ src/lib/libm/man/ieee_test.3	Tue Sep 13 07:11:43 2011
@@ -26,7 +26,7 @@
 .\ SUCH DAMAGE.
 .\
 .\ from: @(#)ieee.3	6.4 (Berkeley) 5/6/91
-.\	$NetBSD: ieee_test.3,v 1.11 2011/08/03 14:13:07 joerg Exp $
+.\	$NetBSD: ieee_test.3,v 1.12 2011/09/13 07:11:43 njoly Exp $
 .\
 .Dd August 3, 2011
 .Dt IEEE_TEST 3
@@ -93,7 +93,6 @@
 .Fa x
 is 0, \*(Pm\*(If, or \*(Na.
 .Sh SEE ALSO
-.Xr ieee 3 ,
 .Xr math 3
 .Sh STANDARDS
 .St -ieee754

Index: src/lib/libm/man/nextafter.3
diff -u src/lib/libm/man/nextafter.3:1.2 src/lib/libm/man/nextafter.3:1.3
--- src/lib/libm/man/nextafter.3:1.2	Sat Apr 16 23:58:01 2011
+++ src/lib/libm/man/nextafter.3	Tue Sep 13 07:11:43 2011
@@ -1,4 +1,4 @@
-.\ $NetBSD: nextafter.3,v 1.2 2011/04/16 23:58:01 christos Exp $
+.\ $NetBSD: nextafter.3,v 1.3 2011/09/13 07:11:43 njoly Exp $
 .\
 .\ Copyright (c) 2011 Jukka Ruohonen jruoho...@iki.fi
 .\ All rights reserved.
@@ -120,7 +120,6 @@
 a range error occurs, and either 0.0 or the correct function
 value (if representable) is returned.
 .Sh SEE ALSO
-.Xr ieee 3 ,
 .Xr math 3
 .Sh STANDARDS
 The described functions conform to

Index: src/lib/libm/man/rint.3
diff -u src/lib/libm/man/rint.3:1.12 src/lib/libm/man/rint.3:1.13
--- src/lib/libm/man/rint.3:1.12	Thu Aug  7 16:44:48 2003
+++ src/lib/libm/man/rint.3	Tue Sep 13 07:11:43 2011
@@ -26,7 +26,7 @@
 .\ SUCH DAMAGE.
 .\
 .\ from: @(#)rint.3	5.1 (Berkeley) 5/2/91
-.\	$NetBSD: rint.3,v 1.12 2003/08/07 16:44:48 agc Exp $
+.\	$NetBSD: rint.3,v 1.13 2011/09/13 07:11:43 njoly Exp $
 .\
 .Dd March 10, 1994
 .Dt RINT 3
@@ -55,7 +55,6 @@
 .Xr ceil 3 ,
 .Xr fabs 3 ,
 .Xr floor 3 ,
-.Xr ieee 3 ,
 .Xr math 3
 .Sh HISTORY
 A

Index: src/lib/libm/man/round.3
diff -u src/lib/libm/man/round.3:1.5 src/lib/libm/man/round.3:1.6
--- src/lib/libm/man/round.3:1.5	Sat Mar 25 20:01:36 2006
+++ src/lib/libm/man/round.3	Tue Sep 13 07:11:43 2011
@@ -1,4 +1,4 @@
-.\ $NetBSD: round.3,v 1.5 2006/03/25 20:01:36 uwe Exp $
+.\ $NetBSD: round.3,v 1.6 2011/09/13 07:11:43 njoly Exp $
 .\
 .\ Copyright (c) 2003, Steven G. Kargl
 .\ All rights reserved.
@@ -56,7 +56,6 @@
 .Sh SEE ALSO
 .Xr ceil 3 ,
 .Xr floor 3 ,
-.Xr ieee 3 ,
 .Xr math 3 ,
 .Xr rint 3 ,
 .Xr trunc 3



CVS commit: src/lib/libm/man

2011-09-13 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Sep 13 07:28:30 UTC 2011

Modified Files:
src/lib/libm/man: log.3

Log Message:
Add missing El macro.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libm/man/log.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/man/log.3
diff -u src/lib/libm/man/log.3:1.1 src/lib/libm/man/log.3:1.2
--- src/lib/libm/man/log.3:1.1	Tue Sep 13 05:26:47 2011
+++ src/lib/libm/man/log.3	Tue Sep 13 07:28:30 2011
@@ -1,4 +1,4 @@
-.\ $NetBSD: log.3,v 1.1 2011/09/13 05:26:47 jruoho Exp $
+.\ $NetBSD: log.3,v 1.2 2011/09/13 07:28:30 njoly Exp $
 .\
 .\ Copyright (c) 2011 Jukka Ruohonen jruoho...@iki.fi
 .\ All rights reserved.
@@ -87,6 +87,7 @@
 and
 .Fn log2f
 functions return the base 2 logarithm.
+.El
 .Sh RETURN VALUES
 Upon successful completion, the functions return the logarithm of
 .Fa x



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

2011-09-12 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Sep 12 09:13:30 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: mi

Log Message:
Fix bad substitution, comp-debugd-bin - comp-bind-bin.


To generate a diff of this commit:
cvs rdiff -u -r1.1670 -r1.1671 src/distrib/sets/lists/comp/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1670 src/distrib/sets/lists/comp/mi:1.1671
--- src/distrib/sets/lists/comp/mi:1.1670	Wed Sep  7 20:26:14 2011
+++ src/distrib/sets/lists/comp/mi	Mon Sep 12 09:13:28 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.1670 2011/09/07 20:26:14 riz Exp $
+#	$NetBSD: mi,v 1.1671 2011/09/12 09:13:28 njoly Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -4136,9 +4136,9 @@
 ./usr/libdata/debug/usr/sbin/mscdlabel.debug	comp-sysutil-debug	debug
 ./usr/libdata/debug/usr/sbin/mtrace.debug	comp-netutil-debug	debug
 ./usr/libdata/debug/usr/sbin/mtree.debug	comp-sysutil-debug	debug
-./usr/libdata/debug/usr/sbin/named-checkconf.debug	comp-debugd-bin		debug
-./usr/libdata/debug/usr/sbin/named-checkzone.debug	comp-debugd-bin		debug
-./usr/libdata/debug/usr/sbin/named.debug	comp-debugd-bin		debug
+./usr/libdata/debug/usr/sbin/named-checkconf.debug	comp-bind-bin		debug
+./usr/libdata/debug/usr/sbin/named-checkzone.debug	comp-bind-bin		debug
+./usr/libdata/debug/usr/sbin/named.debug	comp-bind-bin		debug
 ./usr/libdata/debug/usr/sbin/ncdcs.debug	comp-sysutil-root	binutils,debug
 ./usr/libdata/debug/usr/sbin/ndbootd.debug	comp-bootserver-debug	debug
 ./usr/libdata/debug/usr/sbin/ndp.debug		comp-netutil-debug	inet6,debug
@@ -4196,7 +4196,7 @@
 ./usr/libdata/debug/usr/sbin/rip6query.debug	comp-netutil-debug	inet6,debug
 ./usr/libdata/debug/usr/sbin/rmt.debug		comp-sysutil-debug	debug
 ./usr/libdata/debug/usr/sbin/rndc-confgen.debug	comp-obsolete		obsolete
-./usr/libdata/debug/usr/sbin/rndc.debug		comp-debugd-bin		debug
+./usr/libdata/debug/usr/sbin/rndc.debug		comp-bind-bin		debug
 ./usr/libdata/debug/usr/sbin/route6d.debug	comp-router-debug	use_inet6,debug
 ./usr/libdata/debug/usr/sbin/rpc.bootparamd.debug	comp-bootserver-debug	debug
 ./usr/libdata/debug/usr/sbin/rpc.lockd.debug	comp-nfsserver-debug	debug



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

2011-09-12 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Sep 12 09:57:43 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: mi

Log Message:
+ arpaname.debug, named-journalprint.debug, nsec3hash.debug


To generate a diff of this commit:
cvs rdiff -u -r1.1671 -r1.1672 src/distrib/sets/lists/comp/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1671 src/distrib/sets/lists/comp/mi:1.1672
--- src/distrib/sets/lists/comp/mi:1.1671	Mon Sep 12 09:13:28 2011
+++ src/distrib/sets/lists/comp/mi	Mon Sep 12 09:57:42 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.1671 2011/09/12 09:13:28 njoly Exp $
+#	$NetBSD: mi,v 1.1672 2011/09/12 09:57:42 njoly Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -3476,6 +3476,7 @@
 ./usr/libdata/debug/usr/bin/addr2line.debug	comp-debug-debug	binutils,debug
 ./usr/libdata/debug/usr/bin/apply.debug		comp-util-debug		debug
 ./usr/libdata/debug/usr/bin/apropos.debug	comp-man-debug		debug
+./usr/libdata/debug/usr/bin/arpaname.debug	comp-bind-debug		debug
 ./usr/libdata/debug/usr/bin/ar.debug		comp-util-debug		binutils,debug
 ./usr/libdata/debug/usr/bin/as.debug		comp-util-debug		binutils,debug
 ./usr/libdata/debug/usr/bin/asa.debug		comp-fortran-debug	debug
@@ -4138,6 +4139,7 @@
 ./usr/libdata/debug/usr/sbin/mtree.debug	comp-sysutil-debug	debug
 ./usr/libdata/debug/usr/sbin/named-checkconf.debug	comp-bind-bin		debug
 ./usr/libdata/debug/usr/sbin/named-checkzone.debug	comp-bind-bin		debug
+./usr/libdata/debug/usr/sbin/named-journalprint.debug	comp-bind-bin		debug
 ./usr/libdata/debug/usr/sbin/named.debug	comp-bind-bin		debug
 ./usr/libdata/debug/usr/sbin/ncdcs.debug	comp-sysutil-root	binutils,debug
 ./usr/libdata/debug/usr/sbin/ndbootd.debug	comp-bootserver-debug	debug
@@ -4145,6 +4147,7 @@
 ./usr/libdata/debug/usr/sbin/netgroup_mkdb.debug	comp-nis-debug		debug
 ./usr/libdata/debug/usr/sbin/nfsd.debug		comp-nfsserver-debug	debug
 ./usr/libdata/debug/usr/sbin/npfctl.debug	comp-npf-debug		npf,debug
+./usr/libdata/debug/usr/sbin/nsec3hash.debug	comp-bind-debug		debug
 ./usr/libdata/debug/usr/sbin/ntp-keygen.debug	comp-ntp-debug		crypto,debug
 ./usr/libdata/debug/usr/sbin/ntpd.debug		comp-ntp-debug		debug
 ./usr/libdata/debug/usr/sbin/ntpdate.debug	comp-ntp-debug		debug



CVS commit: src/sys/compat/linux/common

2011-09-01 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Sep  1 12:44:10 UTC 2011

Modified Files:
src/sys/compat/linux/common: linux_file64.c

Log Message:
Make linux_sys_getdents64 fails with ENOTDIR instead of EINVAL, when fd
does not refer to a directory.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/compat/linux/common/linux_file64.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/common/linux_file64.c
diff -u src/sys/compat/linux/common/linux_file64.c:1.51 src/sys/compat/linux/common/linux_file64.c:1.52
--- src/sys/compat/linux/common/linux_file64.c:1.51	Thu Jun 24 13:03:07 2010
+++ src/sys/compat/linux/common/linux_file64.c	Thu Sep  1 12:44:10 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_file64.c,v 1.51 2010/06/24 13:03:07 hannken Exp $	*/
+/*	$NetBSD: linux_file64.c,v 1.52 2011/09/01 12:44:10 njoly Exp $	*/
 
 /*-
  * Copyright (c) 1995, 1998, 2000, 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: linux_file64.c,v 1.51 2010/06/24 13:03:07 hannken Exp $);
+__KERNEL_RCSID(0, $NetBSD: linux_file64.c,v 1.52 2011/09/01 12:44:10 njoly Exp $);
 
 #include sys/param.h
 #include sys/systm.h
@@ -254,7 +254,7 @@
 
 	vp = (struct vnode *)fp-f_data;
 	if (vp-v_type != VDIR) {
-		error = EINVAL;
+		error = ENOTDIR;
 		goto out1;
 	}
 



CVS commit: src/sys/compat/netbsd32

2011-08-31 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Aug 31 16:50:32 UTC 2011

Modified Files:
src/sys/compat/netbsd32: netbsd32_netbsd.c syscalls.master

Log Message:
Add dup3 syscall support.


To generate a diff of this commit:
cvs rdiff -u -r1.172 -r1.173 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -u -r1.86 -r1.87 src/sys/compat/netbsd32/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/netbsd32/netbsd32_netbsd.c
diff -u src/sys/compat/netbsd32/netbsd32_netbsd.c:1.172 src/sys/compat/netbsd32/netbsd32_netbsd.c:1.173
--- src/sys/compat/netbsd32/netbsd32_netbsd.c:1.172	Tue Jul  5 14:21:46 2011
+++ src/sys/compat/netbsd32/netbsd32_netbsd.c	Wed Aug 31 16:50:32 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_netbsd.c,v 1.172 2011/07/05 14:21:46 njoly Exp $	*/
+/*	$NetBSD: netbsd32_netbsd.c,v 1.173 2011/08/31 16:50:32 njoly Exp $	*/
 
 /*
  * Copyright (c) 1998, 2001, 2008 Matthew R. Green
@@ -27,7 +27,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: netbsd32_netbsd.c,v 1.172 2011/07/05 14:21:46 njoly Exp $);
+__KERNEL_RCSID(0, $NetBSD: netbsd32_netbsd.c,v 1.173 2011/08/31 16:50:32 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #include opt_ddb.h
@@ -2587,6 +2587,24 @@
 	return copyout(fd, SCARG_P32(uap, fildes), sizeof(fd));
 }
 
+int
+netbsd32_dup3(struct lwp *l, const struct netbsd32_dup3_args *uap,
+	  register_t *retval)
+{
+	/* {
+		syscallarg(int) from;
+		syscallarg(int) to;
+		syscallarg(int) flags;
+	} */
+	struct sys_dup3_args ua;
+
+	NETBSD32TO64_UAP(from);
+	NETBSD32TO64_UAP(to);
+	NETBSD32TO64_UAP(flags);
+
+	return sys_dup3(l, ua, retval);
+}
+
 /*
  * MI indirect system call support.
  * Only used if the MD netbsd32_syscall.c doesn't intercept the calls.

Index: src/sys/compat/netbsd32/syscalls.master
diff -u src/sys/compat/netbsd32/syscalls.master:1.86 src/sys/compat/netbsd32/syscalls.master:1.87
--- src/sys/compat/netbsd32/syscalls.master:1.86	Tue Jul  5 14:21:47 2011
+++ src/sys/compat/netbsd32/syscalls.master	Wed Aug 31 16:50:32 2011
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp $
+	$NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp $
 
 ;	from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp
 ;	@(#)syscalls.master	8.2 (Berkeley) 1/13/94
@@ -972,3 +972,4 @@
 452	STD		{ int|netbsd32|50|quotactl(const netbsd32_charp path, \
 			netbsd32_voidp pref); }
 453	STD		{ int|netbsd32||pipe2(netbsd32_intp fildes, int flags); }
+454	STD		{ int|netbsd32||dup3(int from, int to, int flags); }



CVS commit: src/sys/compat/netbsd32

2011-08-31 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Aug 31 16:51:05 UTC 2011

Modified Files:
src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h
netbsd32_syscalls.c netbsd32_sysent.c

Log Message:
Regen for dup3.


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/compat/netbsd32/netbsd32_syscall.h \
src/sys/compat/netbsd32/netbsd32_syscallargs.h
cvs rdiff -u -r1.93 -r1.94 src/sys/compat/netbsd32/netbsd32_syscalls.c \
src/sys/compat/netbsd32/netbsd32_sysent.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/netbsd32/netbsd32_syscall.h
diff -u src/sys/compat/netbsd32/netbsd32_syscall.h:1.94 src/sys/compat/netbsd32/netbsd32_syscall.h:1.95
--- src/sys/compat/netbsd32/netbsd32_syscall.h:1.94	Tue Jul  5 14:23:26 2011
+++ src/sys/compat/netbsd32/netbsd32_syscall.h	Wed Aug 31 16:51:05 2011
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.94 2011/07/05 14:23:26 njoly Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.95 2011/08/31 16:51:05 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -1202,6 +1202,9 @@
 /* syscall: netbsd32_pipe2 ret: int args: netbsd32_intp int */
 #define	NETBSD32_SYS_netbsd32_pipe2	453
 
-#define	NETBSD32_SYS_MAXSYSCALL	454
+/* syscall: netbsd32_dup3 ret: int args: int int int */
+#define	NETBSD32_SYS_netbsd32_dup3	454
+
+#define	NETBSD32_SYS_MAXSYSCALL	455
 #define	NETBSD32_SYS_NSYSENT	512
 #endif /* _NETBSD32_SYS_SYSCALL_H_ */
Index: src/sys/compat/netbsd32/netbsd32_syscallargs.h
diff -u src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.94 src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.95
--- src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.94	Tue Jul  5 14:23:27 2011
+++ src/sys/compat/netbsd32/netbsd32_syscallargs.h	Wed Aug 31 16:51:05 2011
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.94 2011/07/05 14:23:27 njoly Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.95 2011/08/31 16:51:05 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@@ -2315,6 +2315,13 @@
 };
 check_syscall_args(netbsd32_pipe2)
 
+struct netbsd32_dup3_args {
+	syscallarg(int) from;
+	syscallarg(int) to;
+	syscallarg(int) flags;
+};
+check_syscall_args(netbsd32_dup3)
+
 /*
  * System call prototypes.
  */
@@ -3095,4 +3102,6 @@
 
 int	netbsd32_pipe2(struct lwp *, const struct netbsd32_pipe2_args *, register_t *);
 
+int	netbsd32_dup3(struct lwp *, const struct netbsd32_dup3_args *, register_t *);
+
 #endif /* _NETBSD32_SYS_SYSCALLARGS_H_ */

Index: src/sys/compat/netbsd32/netbsd32_syscalls.c
diff -u src/sys/compat/netbsd32/netbsd32_syscalls.c:1.93 src/sys/compat/netbsd32/netbsd32_syscalls.c:1.94
--- src/sys/compat/netbsd32/netbsd32_syscalls.c:1.93	Tue Jul  5 14:23:27 2011
+++ src/sys/compat/netbsd32/netbsd32_syscalls.c	Wed Aug 31 16:51:05 2011
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls.c,v 1.93 2011/07/05 14:23:27 njoly Exp $ */
+/* $NetBSD: netbsd32_syscalls.c,v 1.94 2011/08/31 16:51:05 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: netbsd32_syscalls.c,v 1.93 2011/07/05 14:23:27 njoly Exp $);
+__KERNEL_RCSID(0, $NetBSD: netbsd32_syscalls.c,v 1.94 2011/08/31 16:51:05 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -565,7 +565,7 @@
 	/* 451 */	netbsd32___fhstat50,
 	/* 452 */	netbsd32___quotactl50,
 	/* 453 */	netbsd32_pipe2,
-	/* 454 */	# filler,
+	/* 454 */	netbsd32_dup3,
 	/* 455 */	# filler,
 	/* 456 */	# filler,
 	/* 457 */	# filler,
Index: src/sys/compat/netbsd32/netbsd32_sysent.c
diff -u src/sys/compat/netbsd32/netbsd32_sysent.c:1.93 src/sys/compat/netbsd32/netbsd32_sysent.c:1.94
--- src/sys/compat/netbsd32/netbsd32_sysent.c:1.93	Tue Jul  5 14:23:27 2011
+++ src/sys/compat/netbsd32/netbsd32_sysent.c	Wed Aug 31 16:51:05 2011
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_sysent.c,v 1.93 2011/07/05 14:23:27 njoly Exp $ */
+/* $NetBSD: netbsd32_sysent.c,v 1.94 2011/08/31 16:51:05 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 

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

2011-08-29 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Aug 29 16:45:55 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: mi

Log Message:
+devpubd.debug


To generate a diff of this commit:
cvs rdiff -u -r1.1666 -r1.1667 src/distrib/sets/lists/comp/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1666 src/distrib/sets/lists/comp/mi:1.1667
--- src/distrib/sets/lists/comp/mi:1.1666	Mon Aug 29 12:37:52 2011
+++ src/distrib/sets/lists/comp/mi	Mon Aug 29 16:45:54 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.1666 2011/08/29 12:37:52 jruoho Exp $
+#	$NetBSD: mi,v 1.1667 2011/08/29 16:45:54 njoly Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -3362,6 +3362,7 @@
 ./usr/libdata/debug/sbin/cgdconfig.debug	comp-sysutil-debug	crypto,debug
 ./usr/libdata/debug/sbin/chown.debug		comp-sysutil-debug	debug
 ./usr/libdata/debug/sbin/clri.debug		comp-sysutil-debug	debug
+./usr/libdata/debug/sbin/devpubd.debug		comp-sysutil-debug	debug
 ./usr/libdata/debug/sbin/dhclient.debug		comp-dhclient-debug	debug
 ./usr/libdata/debug/sbin/dhcpcd.debug		comp-dhcpcd-debug	debug
 ./usr/libdata/debug/sbin/disklabel.debug	comp-sysutil-debug	debug



CVS commit: src/sys/arch/alpha/alpha

2011-07-27 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Jul 27 15:08:43 UTC 2011

Modified Files:
src/sys/arch/alpha/alpha: autoconf.c

Log Message:
Make atoi() use strtoll from libkern.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/alpha/alpha/autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/alpha/alpha/autoconf.c
diff -u src/sys/arch/alpha/alpha/autoconf.c:1.49 src/sys/arch/alpha/alpha/autoconf.c:1.50
--- src/sys/arch/alpha/alpha/autoconf.c:1.49	Tue Jul 26 14:59:03 2011
+++ src/sys/arch/alpha/alpha/autoconf.c	Wed Jul 27 15:08:42 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.49 2011/07/26 14:59:03 njoly Exp $ */
+/* $NetBSD: autoconf.c,v 1.50 2011/07/27 15:08:42 njoly Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -42,7 +42,7 @@
 
 #include sys/cdefs.h			/* RCS ID  Copyright macro defns */
 
-__KERNEL_RCSID(0, $NetBSD: autoconf.c,v 1.49 2011/07/26 14:59:03 njoly Exp $);
+__KERNEL_RCSID(0, $NetBSD: autoconf.c,v 1.50 2011/07/27 15:08:42 njoly Exp $);
 
 #include sys/param.h
 #include sys/systm.h
@@ -63,7 +63,7 @@
 struct bootdev_data	*bootdev_data;
 
 void	parse_prom_bootdev(void);
-static int atoi(const char *);
+static inline int atoi(const char *);
 
 /*
  * cpu_configure:
@@ -163,28 +163,10 @@
 	bootdev_data = bd;
 }
 
-static int
+static inline int
 atoi(const char *s)
 {
-	int n, neg;
-
-	n = 0;
-	neg = 0;
-
-	while (*s == '-') {
-		s++;
-		neg = !neg;
-	}
-
-	while (*s != '\0') {
-		if (*s  '0'  *s  '9')
-			break;
-
-		n = (10 * n) + (*s - '0');
-		s++;
-	}
-
-	return (neg ? -n : n);
+	return (int)strtoll(s, NULL, 10);
 }
 
 void



CVS commit: src/sys/arch/alpha/alpha

2011-07-26 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Jul 26 14:59:03 UTC 2011

Modified Files:
src/sys/arch/alpha/alpha: autoconf.c

Log Message:
Make atoi func static, and constify


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/alpha/alpha/autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/alpha/alpha/autoconf.c
diff -u src/sys/arch/alpha/alpha/autoconf.c:1.48 src/sys/arch/alpha/alpha/autoconf.c:1.49
--- src/sys/arch/alpha/alpha/autoconf.c:1.48	Tue Jun 14 15:34:21 2011
+++ src/sys/arch/alpha/alpha/autoconf.c	Tue Jul 26 14:59:03 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.48 2011/06/14 15:34:21 matt Exp $ */
+/* $NetBSD: autoconf.c,v 1.49 2011/07/26 14:59:03 njoly Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -42,7 +42,7 @@
 
 #include sys/cdefs.h			/* RCS ID  Copyright macro defns */
 
-__KERNEL_RCSID(0, $NetBSD: autoconf.c,v 1.48 2011/06/14 15:34:21 matt Exp $);
+__KERNEL_RCSID(0, $NetBSD: autoconf.c,v 1.49 2011/07/26 14:59:03 njoly Exp $);
 
 #include sys/param.h
 #include sys/systm.h
@@ -63,7 +63,7 @@
 struct bootdev_data	*bootdev_data;
 
 void	parse_prom_bootdev(void);
-int	atoi(char *);
+static int atoi(const char *);
 
 /*
  * cpu_configure:
@@ -163,8 +163,8 @@
 	bootdev_data = bd;
 }
 
-int
-atoi(char *s)
+static int
+atoi(const char *s)
 {
 	int n, neg;
 



CVS commit: src/external/mit/xorg/lib/xkeyboard-config

2011-07-25 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Jul 25 15:41:59 UTC 2011

Modified Files:
src/external/mit/xorg/lib/xkeyboard-config: Makefile

Log Message:
Include bsd.own.mk for obj directory.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/xkeyboard-config/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/xkeyboard-config/Makefile
diff -u src/external/mit/xorg/lib/xkeyboard-config/Makefile:1.6 src/external/mit/xorg/lib/xkeyboard-config/Makefile:1.7
--- src/external/mit/xorg/lib/xkeyboard-config/Makefile:1.6	Fri Jun  4 10:22:25 2010
+++ src/external/mit/xorg/lib/xkeyboard-config/Makefile	Mon Jul 25 15:41:58 2011
@@ -1,4 +1,6 @@
-#	$NetBSD: Makefile,v 1.6 2010/06/04 10:22:25 ghen Exp $
+#	$NetBSD: Makefile,v 1.7 2011/07/25 15:41:58 njoly Exp $
+
+.include bsd.own.mk
 
 SUBDIR=		compat geometry keycodes keymap rules semantics symbols types
 



CVS commit: src/sys/dev/rasops

2011-07-25 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Jul 25 18:02:47 UTC 2011

Modified Files:
src/sys/dev/rasops: rasops24.c

Log Message:
Fix RASOPS_SMALL build


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/rasops/rasops24.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/rasops/rasops24.c
diff -u src/sys/dev/rasops/rasops24.c:1.28 src/sys/dev/rasops/rasops24.c:1.29
--- src/sys/dev/rasops/rasops24.c:1.28	Tue May  4 04:57:34 2010
+++ src/sys/dev/rasops/rasops24.c	Mon Jul 25 18:02:47 2011
@@ -1,4 +1,4 @@
-/* 	$NetBSD: rasops24.c,v 1.28 2010/05/04 04:57:34 macallan Exp $	*/
+/* 	$NetBSD: rasops24.c,v 1.29 2011/07/25 18:02:47 njoly Exp $	*/
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: rasops24.c,v 1.28 2010/05/04 04:57:34 macallan Exp $);
+__KERNEL_RCSID(0, $NetBSD: rasops24.c,v 1.29 2011/07/25 18:02:47 njoly Exp $);
 
 #include opt_rasops.h
 
@@ -53,7 +53,6 @@
 static void 	rasops24_putchar12(void *, int, int, u_int, long attr);
 static void 	rasops24_putchar16(void *, int, int, u_int, long attr);
 static void	rasops24_makestamp(struct rasops_info *, long);
-#endif
 
 /*
  * 4x1 stamp for optimized character blitting
@@ -61,6 +60,7 @@
 static int32_t	stamp[64];
 static long	stamp_attr;
 static int	stamp_mutex;	/* XXX see note in readme */
+#endif
 
 /*
  * XXX this confuses the hell out of gcc2 (not egcs) which always insists



CVS commit: src/lib/libc/gen

2011-07-25 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Jul 25 19:42:50 UTC 2011

Modified Files:
src/lib/libc/gen: syslog.3

Log Message:
Adjust xref varargs(3) - stdarg(3)


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libc/gen/syslog.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/gen/syslog.3
diff -u src/lib/libc/gen/syslog.3:1.28 src/lib/libc/gen/syslog.3:1.29
--- src/lib/libc/gen/syslog.3:1.28	Thu May 13 18:04:58 2010
+++ src/lib/libc/gen/syslog.3	Mon Jul 25 19:42:50 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: syslog.3,v 1.28 2010/05/13 18:04:58 jruoho Exp $
+.\	$NetBSD: syslog.3,v 1.29 2011/07/25 19:42:50 njoly Exp $
 .\	$OpenBSD: syslog.3,v 1.25 2005/07/22 03:16:58 jaredy Exp $
 .\
 .\ Copyright (c) 1985, 1991, 1993
@@ -199,7 +199,7 @@
 function
 is an alternative form in which the arguments have already been captured
 using the variable-length argument facilities of
-.Xr varargs 3 .
+.Xr stdarg 3 .
 .Pp
 The
 .Fn syslogp



CVS commit: src/sys/compat/osf1

2011-07-22 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Jul 22 10:02:08 UTC 2011

Modified Files:
src/sys/compat/osf1: osf1_file.c osf1_ioctl.c osf1_misc.c

Log Message:
Fix SYSCALL_DEBUG build.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/compat/osf1/osf1_file.c
cvs rdiff -u -r1.22 -r1.23 src/sys/compat/osf1/osf1_ioctl.c
cvs rdiff -u -r1.85 -r1.86 src/sys/compat/osf1/osf1_misc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/osf1/osf1_file.c
diff -u src/sys/compat/osf1/osf1_file.c:1.40 src/sys/compat/osf1/osf1_file.c:1.41
--- src/sys/compat/osf1/osf1_file.c:1.40	Thu Jun 24 13:03:07 2010
+++ src/sys/compat/osf1/osf1_file.c	Fri Jul 22 10:02:08 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_file.c,v 1.40 2010/06/24 13:03:07 hannken Exp $ */
+/* $NetBSD: osf1_file.c,v 1.41 2011/07/22 10:02:08 njoly Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -58,7 +58,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: osf1_file.c,v 1.40 2010/06/24 13:03:07 hannken Exp $);
+__KERNEL_RCSID(0, $NetBSD: osf1_file.c,v 1.41 2011/07/22 10:02:08 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #include opt_syscall_debug.h
@@ -94,6 +94,10 @@
 #include compat/osf1/osf1_cvt.h
 #include compat/osf1/osf1_dirent.h
 
+#ifdef SYSCALL_DEBUG
+extern int scdebug;
+#endif
+
 int
 osf1_sys_access(struct lwp *l, const struct osf1_sys_access_args *uap, register_t *retval)
 {

Index: src/sys/compat/osf1/osf1_ioctl.c
diff -u src/sys/compat/osf1/osf1_ioctl.c:1.22 src/sys/compat/osf1/osf1_ioctl.c:1.23
--- src/sys/compat/osf1/osf1_ioctl.c:1.22	Thu Dec 20 23:03:03 2007
+++ src/sys/compat/osf1/osf1_ioctl.c	Fri Jul 22 10:02:08 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: osf1_ioctl.c,v 1.22 2007/12/20 23:03:03 dsl Exp $	*/
+/*	$NetBSD: osf1_ioctl.c,v 1.23 2011/07/22 10:02:08 njoly Exp $	*/
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -58,7 +58,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: osf1_ioctl.c,v 1.22 2007/12/20 23:03:03 dsl Exp $);
+__KERNEL_RCSID(0, $NetBSD: osf1_ioctl.c,v 1.23 2011/07/22 10:02:08 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #include opt_compat_43.h
@@ -92,7 +92,7 @@
 	struct sys_ioctl_args a;
 	int op, dir, group, cmd, len;
 #ifdef SYSCALL_DEBUG
-	char *dirstr;
+	const char *dirstr;
 #endif
 
 	op = SCARG(uap, com);

Index: src/sys/compat/osf1/osf1_misc.c
diff -u src/sys/compat/osf1/osf1_misc.c:1.85 src/sys/compat/osf1/osf1_misc.c:1.86
--- src/sys/compat/osf1/osf1_misc.c:1.85	Fri Apr 23 15:19:20 2010
+++ src/sys/compat/osf1/osf1_misc.c	Fri Jul 22 10:02:08 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_misc.c,v 1.85 2010/04/23 15:19:20 rmind Exp $ */
+/* $NetBSD: osf1_misc.c,v 1.86 2011/07/22 10:02:08 njoly Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -58,7 +58,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: osf1_misc.c,v 1.85 2010/04/23 15:19:20 rmind Exp $);
+__KERNEL_RCSID(0, $NetBSD: osf1_misc.c,v 1.86 2011/07/22 10:02:08 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #include opt_syscall_debug.h
@@ -95,10 +95,6 @@
 #include compat/common/compat_util.h
 #include compat/osf1/osf1_cvt.h
 
-#ifdef SYSCALL_DEBUG
-extern int scdebug;
-#endif
-
 int
 osf1_sys_classcntl(struct lwp *l, const struct osf1_sys_classcntl_args *uap, register_t *retval)
 {



CVS commit: src/sys/dev/pci

2011-07-22 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Jul 22 14:34:39 UTC 2011

Modified Files:
src/sys/dev/pci: chipsfb.c

Log Message:
Fix CHIPSFB_DEBUG build


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/pci/chipsfb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/chipsfb.c
diff -u src/sys/dev/pci/chipsfb.c:1.29 src/sys/dev/pci/chipsfb.c:1.30
--- src/sys/dev/pci/chipsfb.c:1.29	Wed May 11 00:12:41 2011
+++ src/sys/dev/pci/chipsfb.c	Fri Jul 22 14:34:38 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: chipsfb.c,v 1.29 2011/05/11 00:12:41 dyoung Exp $	*/
+/*	$NetBSD: chipsfb.c,v 1.30 2011/07/22 14:34:38 njoly Exp $	*/
 
 /*
  * Copyright (c) 2006 Michael Lorenz
@@ -31,7 +31,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: chipsfb.c,v 1.29 2011/05/11 00:12:41 dyoung Exp $);
+__KERNEL_RCSID(0, $NetBSD: chipsfb.c,v 1.30 2011/07/22 14:34:38 njoly Exp $);
 
 #include sys/param.h
 #include sys/systm.h
@@ -105,9 +105,6 @@
 	pci_devinfo(pa-pa_id, pa-pa_class, 0, devinfo, sizeof(devinfo));
 	aprint_normal(: %s (rev. 0x%02x)\n, devinfo,
 	PCI_REVISION(pa-pa_class));
-#ifdef CHIPSFB_DEBUG
-	printf(prop_dictionary_externalize(dict));
-#endif
 
 	sc-sc_memt = pa-pa_memt;
 	sc-sc_iot = pa-pa_iot;



CVS commit: src/sys/dev/i2c

2011-07-22 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Jul 22 18:21:10 UTC 2011

Modified Files:
src/sys/dev/i2c: xc3028.c

Log Message:
Fix printf format


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/i2c/xc3028.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/i2c/xc3028.c
diff -u src/sys/dev/i2c/xc3028.c:1.1 src/sys/dev/i2c/xc3028.c:1.2
--- src/sys/dev/i2c/xc3028.c:1.1	Mon Jul 11 18:00:06 2011
+++ src/sys/dev/i2c/xc3028.c	Fri Jul 22 18:21:10 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: xc3028.c,v 1.1 2011/07/11 18:00:06 jmcneill Exp $ */
+/* $NetBSD: xc3028.c,v 1.2 2011/07/22 18:21:10 njoly Exp $ */
 
 /*-
  * Copyright (c) 2011 Jared D. McNeill jmcne...@invisible.ca
@@ -31,7 +31,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: xc3028.c,v 1.1 2011/07/11 18:00:06 jmcneill Exp $);
+__KERNEL_RCSID(0, $NetBSD: xc3028.c,v 1.2 2011/07/22 18:21:10 njoly Exp $);
 
 #include sys/param.h
 #include sys/systm.h
@@ -282,7 +282,7 @@
 	if (xcfw-type  (1  30))
 		printf(_%d, xcfw-int_freq);
 	if (xcfw-id)
-		printf( id=%llx, xcfw-id);
+		printf( id=% PRIx64, xcfw-id);
 	printf( size=%u\n, xcfw-data_size);
 }
 



CVS commit: src/lib/libc/sys

2011-07-20 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Jul 20 17:51:25 UTC 2011

Modified Files:
src/lib/libc/sys: getdents.2

Log Message:
Remove unneeded `Either' word in EFAULT error description.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/sys/getdents.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/sys/getdents.2
diff -u src/lib/libc/sys/getdents.2:1.22 src/lib/libc/sys/getdents.2:1.23
--- src/lib/libc/sys/getdents.2:1.22	Fri Jun  4 05:42:24 2010
+++ src/lib/libc/sys/getdents.2	Wed Jul 20 17:51:25 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: getdents.2,v 1.22 2010/06/04 05:42:24 jruoho Exp $
+.\	$NetBSD: getdents.2,v 1.23 2011/07/20 17:51:25 njoly Exp $
 .\
 .\ Copyright (c) 1989, 1991, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -111,7 +111,6 @@
 .Fa fd
 is not a valid file descriptor open for reading.
 .It Bq Er EFAULT
-Either
 .Fa buf
 points outside the allocated address space.
 .It Bq Er EINVAL



CVS commit: src/usr.bin/netstat

2011-07-17 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sun Jul 17 10:22:08 UTC 2011

Modified Files:
src/usr.bin/netstat: main.c

Log Message:
Use errx() to display kvm_openfiles error message, the provided buffer
already has it.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/usr.bin/netstat/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/netstat/main.c
diff -u src/usr.bin/netstat/main.c:1.79 src/usr.bin/netstat/main.c:1.80
--- src/usr.bin/netstat/main.c:1.79	Wed May  4 01:13:35 2011
+++ src/usr.bin/netstat/main.c	Sun Jul 17 10:22:07 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: main.c,v 1.79 2011/05/04 01:13:35 dyoung Exp $	*/
+/*	$NetBSD: main.c,v 1.80 2011/07/17 10:22:07 njoly Exp $	*/
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = from: @(#)main.c	8.4 (Berkeley) 3/1/94;
 #else
-__RCSID($NetBSD: main.c,v 1.79 2011/05/04 01:13:35 dyoung Exp $);
+__RCSID($NetBSD: main.c,v 1.80 2011/07/17 10:22:07 njoly Exp $);
 #endif
 #endif /* not lint */
 
@@ -363,7 +363,7 @@
 	if (kvmd != NULL)
 		return kvmd;
 	if ((kvmd = prepare_kvmd(nlistf, memf, buf)) == NULL)
-		err(1, kvm error: %s, buf);
+		errx(1, kvm error: %s, buf);
 	return kvmd;
 }
 
@@ -423,7 +423,7 @@
 	if (!use_sysctl) {
 
 		if (kvmd == NULL)
-			err(1, kvm error: %s, buf);
+			errx(1, kvm error: %s, buf);
 		if (kvm_nlist(kvmd, nl)  0 || nl[0].n_type == 0) {
 			if (nf)
 errx(1, %s: no namelist, nf);



CVS commit: src/sys/fs/sysvbfs

2011-07-13 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Jul 13 19:51:29 UTC 2011

Modified Files:
src/sys/fs/sysvbfs: sysvbfs_vfsops.c

Log Message:
Add function name to a few debug messages.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/fs/sysvbfs/sysvbfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/fs/sysvbfs/sysvbfs_vfsops.c
diff -u src/sys/fs/sysvbfs/sysvbfs_vfsops.c:1.36 src/sys/fs/sysvbfs/sysvbfs_vfsops.c:1.37
--- src/sys/fs/sysvbfs/sysvbfs_vfsops.c:1.36	Sun Jun 12 03:35:54 2011
+++ src/sys/fs/sysvbfs/sysvbfs_vfsops.c	Wed Jul 13 19:51:29 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: sysvbfs_vfsops.c,v 1.36 2011/06/12 03:35:54 rmind Exp $	*/
+/*	$NetBSD: sysvbfs_vfsops.c,v 1.37 2011/07/13 19:51:29 njoly Exp $	*/
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: sysvbfs_vfsops.c,v 1.36 2011/06/12 03:35:54 rmind Exp $);
+__KERNEL_RCSID(0, $NetBSD: sysvbfs_vfsops.c,v 1.37 2011/07/13 19:51:29 njoly Exp $);
 
 #include sys/types.h
 #include sys/param.h
@@ -207,8 +207,9 @@
 	mp-mnt_dev_bshift = BFS_BSHIFT;
 	mp-mnt_fs_bshift = BFS_BSHIFT;
 
-	DPRINTF(fstype=%d dtype=%d bsize=%d\n, dpart.part-p_fstype,
-	dpart.disklab-d_type, dpart.disklab-d_secsize);
+	DPRINTF(%s: fstype=%d dtype=%d bsize=%d\n, __func__,
+	dpart.part-p_fstype, dpart.disklab-d_type,
+	dpart.disklab-d_secsize);
 
  out:
 	if (devopen  error)
@@ -341,7 +342,7 @@
 	DPRINTF(%s: i-node=%lld\n, __func__, (long long)ino);
 	/* Lookup requested i-node */
 	if (!bfs_inode_lookup(bfs, ino, inode)) {
-		DPRINTF(bfs_inode_lookup failed.\n);
+		DPRINTF(%s: bfs_inode_lookup failed.\n, __func__);
 		return ENOENT;
 	}
 



CVS commit: src/tests/lib/libc/string

2011-07-12 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Jul 12 12:08:07 UTC 2011

Modified Files:
src/tests/lib/libc/string: t_strlen.c

Log Message:
Fix off-by-one in strlen_huge testcase.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/string/t_strlen.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/string/t_strlen.c
diff -u src/tests/lib/libc/string/t_strlen.c:1.3 src/tests/lib/libc/string/t_strlen.c:1.4
--- src/tests/lib/libc/string/t_strlen.c:1.3	Thu Jul  7 09:31:27 2011
+++ src/tests/lib/libc/string/t_strlen.c	Tue Jul 12 12:08:07 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_strlen.c,v 1.3 2011/07/07 09:31:27 jruoho Exp $ */
+/* $NetBSD: t_strlen.c,v 1.4 2011/07/12 12:08:07 njoly Exp $ */
 
 /*
  * Written by J.T. Conklin j...@acorntoolworks.com
@@ -159,7 +159,7 @@
 			continue;
 
 		(void)memset(str, 'x', i * page);
-		str[i * page + 1] = '\0';
+		str[i * page] = '\0';
 
 		ATF_REQUIRE(strlen(str) == i * page);
 		free(str);



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

2011-07-11 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Jul 11 13:42:50 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: md.amd64 md.sparc64

Log Message:
bump libdns.so minor forgotten for amd64/sparc64 compat debug libraries.


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.108 -r1.109 src/distrib/sets/lists/comp/md.sparc64

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/md.amd64
diff -u src/distrib/sets/lists/comp/md.amd64:1.122 src/distrib/sets/lists/comp/md.amd64:1.123
--- src/distrib/sets/lists/comp/md.amd64:1.122	Thu Jul  7 08:46:21 2011
+++ src/distrib/sets/lists/comp/md.amd64	Mon Jul 11 13:42:49 2011
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.122 2011/07/07 08:46:21 mrg Exp $
+# $NetBSD: md.amd64,v 1.123 2011/07/11 13:42:49 njoly Exp $
 ./usr/include/amd64comp-c-include
 ./usr/include/amd64/ansi.h			comp-c-include
 ./usr/include/amd64/aout_machdep.h		comp-c-include
@@ -1021,7 +1021,7 @@
 ./usr/libdata/debug/usr/lib/i386/libdes.so.8.1.debug	comp-compat-shlib	compat,pic,debug
 ./usr/libdata/debug/usr/lib/i386/libdevmapper.so.1.0.debug	comp-compat-shlib	compat,pic,lvm,debug
 ./usr/libdata/debug/usr/lib/i386/libdm.so.0.0.debug	comp-compat-shlib	compat,pic,debug
-./usr/libdata/debug/usr/lib/i386/libdns.so.5.4.debug	comp-compat-shlib	compat,pic,debug
+./usr/libdata/debug/usr/lib/i386/libdns.so.5.5.debug	comp-compat-shlib	compat,pic,debug
 ./usr/libdata/debug/usr/lib/i386/libdns_sd.so.0.0.debug	comp-compat-shlib	compat,pic,debug
 ./usr/libdata/debug/usr/lib/i386/libdwarf.so.0.0.debug	comp-compat-shlib	compat,pic,debug
 ./usr/libdata/debug/usr/lib/i386/libedit.so.3.0.debug	comp-compat-shlib	compat,pic,debug

Index: src/distrib/sets/lists/comp/md.sparc64
diff -u src/distrib/sets/lists/comp/md.sparc64:1.108 src/distrib/sets/lists/comp/md.sparc64:1.109
--- src/distrib/sets/lists/comp/md.sparc64:1.108	Sat Jul  9 17:15:47 2011
+++ src/distrib/sets/lists/comp/md.sparc64	Mon Jul 11 13:42:49 2011
@@ -1,4 +1,4 @@
-# $NetBSD: md.sparc64,v 1.108 2011/07/09 17:15:47 dyoung Exp $
+# $NetBSD: md.sparc64,v 1.109 2011/07/11 13:42:49 njoly Exp $
 ./usr/include/gcc-4.5/tgmath.h			comp-c-include		gcccmds,gcc=45
 ./usr/include/ieeefp.hcomp-c-include
 ./usr/include/sparccomp-c-include
@@ -886,7 +886,7 @@
 ./usr/libdata/debug/usr/lib/sparc/libdes.so.8.1.debug			comp-compat-shlib	compat,pic,debug,crypto
 ./usr/libdata/debug/usr/lib/sparc/libdevmapper.so.1.0.debug			comp-compat-shlib	compat,pic,debug,lvm
 ./usr/libdata/debug/usr/lib/sparc/libdm.so.0.0.debug			comp-compat-shlib	compat,pic,debug
-./usr/libdata/debug/usr/lib/sparc/libdns.so.5.4.debug			comp-compat-shlib	compat,pic,debug
+./usr/libdata/debug/usr/lib/sparc/libdns.so.5.5.debug			comp-compat-shlib	compat,pic,debug
 ./usr/libdata/debug/usr/lib/sparc/libdns_sd.so.0.0.debug		comp-compat-shlib	compat,pic,debug,mdns
 ./usr/libdata/debug/usr/lib/sparc/libdwarf.so.0.0.debug			comp-compat-shlib	compat,pic,debug
 ./usr/libdata/debug/usr/lib/sparc/libedit.so.3.0.debug			comp-compat-shlib	compat,pic,debug



CVS commit: src/sys/compat/netbsd32

2011-07-05 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Jul  5 14:21:47 UTC 2011

Modified Files:
src/sys/compat/netbsd32: netbsd32_netbsd.c syscalls.master

Log Message:
Add pipe2 syscall now needed for popen(3).


To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -u -r1.85 -r1.86 src/sys/compat/netbsd32/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/netbsd32/netbsd32_netbsd.c
diff -u src/sys/compat/netbsd32/netbsd32_netbsd.c:1.171 src/sys/compat/netbsd32/netbsd32_netbsd.c:1.172
--- src/sys/compat/netbsd32/netbsd32_netbsd.c:1.171	Sun Jun  5 08:42:59 2011
+++ src/sys/compat/netbsd32/netbsd32_netbsd.c	Tue Jul  5 14:21:46 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_netbsd.c,v 1.171 2011/06/05 08:42:59 dsl Exp $	*/
+/*	$NetBSD: netbsd32_netbsd.c,v 1.172 2011/07/05 14:21:46 njoly Exp $	*/
 
 /*
  * Copyright (c) 1998, 2001, 2008 Matthew R. Green
@@ -27,7 +27,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: netbsd32_netbsd.c,v 1.171 2011/06/05 08:42:59 dsl Exp $);
+__KERNEL_RCSID(0, $NetBSD: netbsd32_netbsd.c,v 1.172 2011/07/05 14:21:46 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #include opt_ddb.h
@@ -2568,6 +2568,25 @@
 	return sys__sched_getaffinity(l, ua, retval);
 }
 
+int
+netbsd32_pipe2(struct lwp *l, const struct netbsd32_pipe2_args *uap,
+	   register_t *retval)
+{
+	/* {
+		syscallarg(netbsd32_intp) fildes;
+		syscallarg(int) flags;
+	} */
+	int fd[2], error;
+
+	error = pipe1(l, retval, SCARG(uap, flags));
+	if (error)
+		return error;
+
+	fd[0] = retval[0];
+	fd[1] = retval[1];
+	return copyout(fd, SCARG_P32(uap, fildes), sizeof(fd));
+}
+
 /*
  * MI indirect system call support.
  * Only used if the MD netbsd32_syscall.c doesn't intercept the calls.

Index: src/sys/compat/netbsd32/syscalls.master
diff -u src/sys/compat/netbsd32/syscalls.master:1.85 src/sys/compat/netbsd32/syscalls.master:1.86
--- src/sys/compat/netbsd32/syscalls.master:1.85	Sun Mar  6 17:08:35 2011
+++ src/sys/compat/netbsd32/syscalls.master	Tue Jul  5 14:21:47 2011
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.85 2011/03/06 17:08:35 bouyer Exp $
+	$NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp $
 
 ;	from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp
 ;	@(#)syscalls.master	8.2 (Berkeley) 1/13/94
@@ -971,3 +971,4 @@
 			netbsd32_size_t fh_size, netbsd32_statp_t sb); }
 452	STD		{ int|netbsd32|50|quotactl(const netbsd32_charp path, \
 			netbsd32_voidp pref); }
+453	STD		{ int|netbsd32||pipe2(netbsd32_intp fildes, int flags); }



CVS commit: src/sys/compat/netbsd32

2011-07-05 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Jul  5 14:23:27 UTC 2011

Modified Files:
src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h
netbsd32_syscalls.c netbsd32_sysent.c

Log Message:
Regen for pipe2.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/compat/netbsd32/netbsd32_syscall.h \
src/sys/compat/netbsd32/netbsd32_syscallargs.h
cvs rdiff -u -r1.92 -r1.93 src/sys/compat/netbsd32/netbsd32_syscalls.c \
src/sys/compat/netbsd32/netbsd32_sysent.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/netbsd32/netbsd32_syscall.h
diff -u src/sys/compat/netbsd32/netbsd32_syscall.h:1.93 src/sys/compat/netbsd32/netbsd32_syscall.h:1.94
--- src/sys/compat/netbsd32/netbsd32_syscall.h:1.93	Sun Mar  6 17:08:34 2011
+++ src/sys/compat/netbsd32/netbsd32_syscall.h	Tue Jul  5 14:23:26 2011
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.93 2011/03/06 17:08:34 bouyer Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.94 2011/07/05 14:23:26 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.84.6.2 2011/02/09 16:09:55 bouyer Exp
+ * created from	NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -1199,6 +1199,9 @@
 /* syscall: netbsd32___quotactl50 ret: int args: const netbsd32_charp netbsd32_voidp */
 #define	NETBSD32_SYS_netbsd32___quotactl50	452
 
-#define	NETBSD32_SYS_MAXSYSCALL	453
+/* syscall: netbsd32_pipe2 ret: int args: netbsd32_intp int */
+#define	NETBSD32_SYS_netbsd32_pipe2	453
+
+#define	NETBSD32_SYS_MAXSYSCALL	454
 #define	NETBSD32_SYS_NSYSENT	512
 #endif /* _NETBSD32_SYS_SYSCALL_H_ */
Index: src/sys/compat/netbsd32/netbsd32_syscallargs.h
diff -u src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.93 src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.94
--- src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.93	Sun Mar  6 17:08:34 2011
+++ src/sys/compat/netbsd32/netbsd32_syscallargs.h	Tue Jul  5 14:23:27 2011
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.93 2011/03/06 17:08:34 bouyer Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.94 2011/07/05 14:23:27 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.84.6.2 2011/02/09 16:09:55 bouyer Exp
+ * created from	NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@@ -2309,6 +2309,12 @@
 };
 check_syscall_args(netbsd32___quotactl50)
 
+struct netbsd32_pipe2_args {
+	syscallarg(netbsd32_intp) fildes;
+	syscallarg(int) flags;
+};
+check_syscall_args(netbsd32_pipe2)
+
 /*
  * System call prototypes.
  */
@@ -3087,4 +3093,6 @@
 
 int	netbsd32___quotactl50(struct lwp *, const struct netbsd32___quotactl50_args *, register_t *);
 
+int	netbsd32_pipe2(struct lwp *, const struct netbsd32_pipe2_args *, register_t *);
+
 #endif /* _NETBSD32_SYS_SYSCALLARGS_H_ */

Index: src/sys/compat/netbsd32/netbsd32_syscalls.c
diff -u src/sys/compat/netbsd32/netbsd32_syscalls.c:1.92 src/sys/compat/netbsd32/netbsd32_syscalls.c:1.93
--- src/sys/compat/netbsd32/netbsd32_syscalls.c:1.92	Sun Mar  6 17:08:34 2011
+++ src/sys/compat/netbsd32/netbsd32_syscalls.c	Tue Jul  5 14:23:27 2011
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls.c,v 1.92 2011/03/06 17:08:34 bouyer Exp $ */
+/* $NetBSD: netbsd32_syscalls.c,v 1.93 2011/07/05 14:23:27 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.84.6.2 2011/02/09 16:09:55 bouyer Exp
+ * created from	NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: netbsd32_syscalls.c,v 1.92 2011/03/06 17:08:34 bouyer Exp $);
+__KERNEL_RCSID(0, $NetBSD: netbsd32_syscalls.c,v 1.93 2011/07/05 14:23:27 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -564,7 +564,7 @@
 	/* 450 */	netbsd32___mknod50,
 	/* 451 */	netbsd32___fhstat50,
 	/* 452 */	netbsd32___quotactl50,
-	/* 453 */	# filler,
+	/* 453 */	netbsd32_pipe2,
 	/* 454 */	# filler,
 	/* 455 */	# filler,
 	/* 456 */	# filler,
Index: src/sys/compat/netbsd32/netbsd32_sysent.c
diff -u src/sys/compat/netbsd32/netbsd32_sysent.c:1.92 src/sys/compat/netbsd32/netbsd32_sysent.c:1.93
--- src/sys/compat/netbsd32/netbsd32_sysent.c:1.92	Sun Mar  6 17:08:35 2011
+++ src/sys/compat/netbsd32/netbsd32_sysent.c	Tue Jul  5 14:23:27 2011
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_sysent.c,v 1.92 2011/03/06 17:08:35 bouyer Exp $ */
+/* $NetBSD: netbsd32_sysent.c,v 1.93 2011/07/05 14:23:27 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.84.6.2 2011/02/09 

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

2011-07-01 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Jul  1 12:09:35 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: mi

Log Message:
Small typo (g++debug - g++.debug).


To generate a diff of this commit:
cvs rdiff -u -r1.1636 -r1.1637 src/distrib/sets/lists/comp/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1636 src/distrib/sets/lists/comp/mi:1.1637
--- src/distrib/sets/lists/comp/mi:1.1636	Fri Jul  1 02:10:10 2011
+++ src/distrib/sets/lists/comp/mi	Fri Jul  1 12:09:34 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.1636 2011/07/01 02:10:10 mrg Exp $
+#	$NetBSD: mi,v 1.1637 2011/07/01 12:09:34 njoly Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -3521,7 +3521,7 @@
 ./usr/libdata/debug/usr/bin/fsplit.debug	comp-util-debug		debug
 ./usr/libdata/debug/usr/bin/fstat.debug		comp-util-debug		debug
 ./usr/libdata/debug/usr/bin/ftp.debug		comp-netutil-debug	debug
-./usr/libdata/debug/usr/bin/g++debug		comp-cxx-debug		gcccmds,debug
+./usr/libdata/debug/usr/bin/g++.debug		comp-cxx-debug		gcccmds,debug
 ./usr/libdata/debug/usr/bin/g77.debug		comp-fortran-debug	gcc=3,gcccmds,debug
 ./usr/libdata/debug/usr/bin/gcc.debug		comp-c-debug		gcccmds,debug
 ./usr/libdata/debug/usr/bin/gcore.debug		comp-debug-debug	debug



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

2011-06-26 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sun Jun 26 10:14:14 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: ad.mips64eb ad.mips64el md.amd64
md.sparc64 shl.mi

Log Message:
Bump major for libmj.so debug libraries, forgotten in previous.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/distrib/sets/lists/comp/ad.mips64eb \
src/distrib/sets/lists/comp/ad.mips64el
cvs rdiff -u -r1.117 -r1.118 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.102 -r1.103 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.175 -r1.176 src/distrib/sets/lists/comp/shl.mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/ad.mips64eb
diff -u src/distrib/sets/lists/comp/ad.mips64eb:1.35 src/distrib/sets/lists/comp/ad.mips64eb:1.36
--- src/distrib/sets/lists/comp/ad.mips64eb:1.35	Sun Jun 12 20:23:29 2011
+++ src/distrib/sets/lists/comp/ad.mips64eb	Sun Jun 26 10:14:13 2011
@@ -1,4 +1,4 @@
-# $NetBSD: ad.mips64eb,v 1.35 2011/06/12 20:23:29 matt Exp $
+# $NetBSD: ad.mips64eb,v 1.36 2011/06/26 10:14:13 njoly Exp $
 ./usr/bin/elf2aoutcomp-obsolete		obsolete
 ./usr/bin/elf2ecoffcomp-sysutil-bin
 ./usr/include/mipscomp-c-include
@@ -1259,7 +1259,7 @@
 ./usr/libdata/debug/usr/lib/64/libm.so.0.9.debug		comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/64/libmagic.so.3.1.debug	comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/64/libmenu.so.6.0.debug	comp-sys-debug	debug,compat
-./usr/libdata/debug/usr/lib/64/libmj.so.0.0.debug		comp-crypto-debug	debug,compat
+./usr/libdata/debug/usr/lib/64/libmj.so.1.0.debug		comp-crypto-debug	debug,compat
 ./usr/libdata/debug/usr/lib/64/libnetpgp.so.3.0.debug	comp-crypto-debug	crypto,debug,compat
 ./usr/libdata/debug/usr/lib/64/libnpf.so.0.0.debug		comp-npf-debug	npf,debug,compat
 ./usr/libdata/debug/usr/lib/64/libnvpair.so.0.0.debug	comp-zfs-debug	zfs,dynamicroot,debug,compat
@@ -1466,7 +1466,7 @@
 ./usr/libdata/debug/usr/lib/o32/libm.so.0.9.debug		comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/o32/libmagic.so.3.1.debug	comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/o32/libmenu.so.6.0.debug	comp-sys-debug	debug,compat
-./usr/libdata/debug/usr/lib/o32/libmj.so.0.0.debug		comp-crypto-debug	debug,compat
+./usr/libdata/debug/usr/lib/o32/libmj.so.1.0.debug		comp-crypto-debug	debug,compat
 ./usr/libdata/debug/usr/lib/o32/libnetpgp.so.3.0.debug	comp-crypto-debug	crypto,debug,compat
 ./usr/libdata/debug/usr/lib/o32/libnpf.so.0.0.debug		comp-npf-debug	npf,debug,compat
 ./usr/libdata/debug/usr/lib/o32/libnvpair.so.0.0.debug	comp-zfs-debug	zfs,dynamicroot,debug,compat
Index: src/distrib/sets/lists/comp/ad.mips64el
diff -u src/distrib/sets/lists/comp/ad.mips64el:1.35 src/distrib/sets/lists/comp/ad.mips64el:1.36
--- src/distrib/sets/lists/comp/ad.mips64el:1.35	Sun Jun 12 20:23:29 2011
+++ src/distrib/sets/lists/comp/ad.mips64el	Sun Jun 26 10:14:13 2011
@@ -1,4 +1,4 @@
-# $NetBSD: ad.mips64el,v 1.35 2011/06/12 20:23:29 matt Exp $
+# $NetBSD: ad.mips64el,v 1.36 2011/06/26 10:14:13 njoly Exp $
 ./usr/bin/elf2aoutcomp-obsolete		obsolete
 ./usr/bin/elf2ecoffcomp-sysutil-bin
 ./usr/include/mipscomp-c-include
@@ -1259,7 +1259,7 @@
 ./usr/libdata/debug/usr/lib/64/libm.so.0.9.debug		comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/64/libmagic.so.3.1.debug	comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/64/libmenu.so.6.0.debug	comp-sys-debug	debug,compat
-./usr/libdata/debug/usr/lib/64/libmj.so.0.0.debug		comp-crypto-debug	debug,compat
+./usr/libdata/debug/usr/lib/64/libmj.so.1.0.debug		comp-crypto-debug	debug,compat
 ./usr/libdata/debug/usr/lib/64/libnetpgp.so.3.0.debug	comp-crypto-debug	crypto,debug,compat
 ./usr/libdata/debug/usr/lib/64/libnpf.so.0.0.debug		comp-npf-debug	npf,debug,compat
 ./usr/libdata/debug/usr/lib/64/libnvpair.so.0.0.debug	comp-zfs-debug	zfs,dynamicroot,debug,compat
@@ -1466,7 +1466,7 @@
 ./usr/libdata/debug/usr/lib/o32/libm.so.0.9.debug		comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/o32/libmagic.so.3.1.debug	comp-sys-debug	debug,compat
 ./usr/libdata/debug/usr/lib/o32/libmenu.so.6.0.debug	comp-sys-debug	debug,compat
-./usr/libdata/debug/usr/lib/o32/libmj.so.0.0.debug		comp-crypto-debug	debug,compat
+./usr/libdata/debug/usr/lib/o32/libmj.so.1.0.debug		comp-crypto-debug	debug,compat
 ./usr/libdata/debug/usr/lib/o32/libnetpgp.so.3.0.debug	comp-crypto-debug	crypto,debug,compat
 ./usr/libdata/debug/usr/lib/o32/libnpf.so.0.0.debug		comp-npf-debug	npf,debug,compat
 ./usr/libdata/debug/usr/lib/o32/libnvpair.so.0.0.debug	comp-zfs-debug	zfs,dynamicroot,debug,compat

Index: src/distrib/sets/lists/comp/md.amd64
diff -u src/distrib/sets/lists/comp/md.amd64:1.117 src/distrib/sets/lists/comp/md.amd64:1.118
--- src/distrib/sets/lists/comp/md.amd64:1.117	Mon Jun  6 16:16:00 2011
+++ src/distrib/sets/lists/comp/md.amd64	Sun Jun 26 10:14:13 2011
@@ -1,4 

CVS commit: src/share/man/man4

2011-06-26 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sun Jun 26 10:20:41 UTC 2011

Modified Files:
src/share/man/man4: sysmon.4

Log Message:
Add missing El macro.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/sysmon.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/sysmon.4
diff -u src/share/man/man4/sysmon.4:1.2 src/share/man/man4/sysmon.4:1.3
--- src/share/man/man4/sysmon.4:1.2	Thu Jun 23 07:47:40 2011
+++ src/share/man/man4/sysmon.4	Sun Jun 26 10:20:41 2011
@@ -1,4 +1,4 @@
-.\ $NetBSD: sysmon.4,v 1.2 2011/06/23 07:47:40 wiz Exp $
+.\ $NetBSD: sysmon.4,v 1.3 2011/06/26 10:20:41 njoly Exp $
 .\
 .\ Copyright (c) 2011 Jukka Ruohonen jruoho...@iki.fi
 .\
@@ -60,6 +60,7 @@
 .Xr sysmon_taskq 9 .
 .It
 An interface for watchdog timers.
+.El
 .Sh FILES
 .Bd -literal
 /dev/sysmon



CVS commit: src/share/man/man7

2011-06-16 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Jun 16 21:42:38 UTC 2011

Modified Files:
src/share/man/man7: tests.7

Log Message:
Add fstype and unprivileged-user tests configuration variables
description. Fix PR/45038.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man7/tests.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/tests.7
diff -u src/share/man/man7/tests.7:1.4 src/share/man/man7/tests.7:1.5
--- src/share/man/man7/tests.7:1.4	Sun Nov  7 17:49:33 2010
+++ src/share/man/man7/tests.7	Thu Jun 16 21:42:38 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: tests.7,v 1.4 2010/11/07 17:49:33 jmmv Exp $
+.\	$NetBSD: tests.7,v 1.5 2011/06/16 21:42:38 njoly Exp $
 .\
 .\ Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -25,7 +25,7 @@
 .\ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
 .\ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\
-.Dd November 7, 2010
+.Dd June 16, 2011
 .Dt TESTS 7
 .Os
 .Sh NAME
@@ -163,6 +163,20 @@
 which contains properties shared among all test suites.
 These files conform to the configuration file format described in
 .Xr atf-formats 5 .
+.Pp
+The following configuration variables are available in the
+.Nx
+test suite:
+.Bl -tag -width unprivileged-user
+.It fstype
+When set to a filesystem type, restrict tests programs from the
+.Pa /usr/tests/fs/vfs/
+tree to only run test cases for the given type.
+.It unprivileged-user
+This variable allows setting an unprivileged user login name to be used by
+tests. Defaults to
+.Sq _atf .
+.El
 .Ss What to do if something fails?
 If there is
 .Em any failure



CVS commit: src/share/man/man7

2011-06-16 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Jun 16 21:46:28 UTC 2011

Modified Files:
src/share/man/man7: tests.7

Log Message:
typo (hieararchy - hierarchy).


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man7/tests.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/tests.7
diff -u src/share/man/man7/tests.7:1.5 src/share/man/man7/tests.7:1.6
--- src/share/man/man7/tests.7:1.5	Thu Jun 16 21:42:38 2011
+++ src/share/man/man7/tests.7	Thu Jun 16 21:46:28 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: tests.7,v 1.5 2011/06/16 21:42:38 njoly Exp $
+.\	$NetBSD: tests.7,v 1.6 2011/06/16 21:46:28 njoly Exp $
 .\
 .\ Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -63,7 +63,7 @@
 .Pa tests.tgz ,
 and the test programs are all installed under the
 .Pa /usr/tests
-hieararchy.
+hierarchy.
 .Pp
 This manual page describes how to execute the test suite and how to configure
 some of its optional features.



CVS commit: src/tests/usr.bin/mkdep

2011-06-14 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Jun 14 11:44:25 UTC 2011

Modified Files:
src/tests/usr.bin/mkdep: t_mkdep.sh

Log Message:
mkdep(1) needs cc(1). Make testcase check for them.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/mkdep/t_mkdep.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/usr.bin/mkdep/t_mkdep.sh
diff -u src/tests/usr.bin/mkdep/t_mkdep.sh:1.2 src/tests/usr.bin/mkdep/t_mkdep.sh:1.3
--- src/tests/usr.bin/mkdep/t_mkdep.sh:1.2	Tue May 31 13:22:56 2011
+++ src/tests/usr.bin/mkdep/t_mkdep.sh	Tue Jun 14 11:44:25 2011
@@ -1,4 +1,4 @@
-# $NetBSD: t_mkdep.sh,v 1.2 2011/05/31 13:22:56 njoly Exp $
+# $NetBSD: t_mkdep.sh,v 1.3 2011/06/14 11:44:25 njoly Exp $
 #
 # Copyright (c) 2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -31,6 +31,7 @@
 atf_test_case suffixes
 suffixes_head() {
 	atf_set descr Test suffixes list
+	atf_set require.progs mkdep cc
 }
 
 suffixes_body() {



CVS commit: src/tests/lib/libc

2011-06-14 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Jun 14 11:58:22 UTC 2011

Modified Files:
src/tests/lib/libc: t_convfp.c

Log Message:
Move unsigned int/long conversion test to their own testcases, to
avoid having the whole marked as skipped. While here update testcases
names.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/t_convfp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/t_convfp.c
diff -u src/tests/lib/libc/t_convfp.c:1.6 src/tests/lib/libc/t_convfp.c:1.7
--- src/tests/lib/libc/t_convfp.c:1.6	Sat Jun 11 18:03:18 2011
+++ src/tests/lib/libc/t_convfp.c	Tue Jun 14 11:58:22 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_convfp.c,v 1.6 2011/06/11 18:03:18 christos Exp $	*/
+/*	$NetBSD: t_convfp.c,v 1.7 2011/06/14 11:58:22 njoly Exp $	*/
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -43,19 +43,16 @@
 #define ULONG_TESTVALUE	(LONG_MAX+42UL)
 
 
-ATF_TC(test1);
-
-ATF_TC_HEAD(test1, tc)
+ATF_TC(conv_uint);
+ATF_TC_HEAD(conv_uint, tc)
 {
 
-	atf_tc_set_md_var(tc, descr, test conversions to unsigned int/long);
+	atf_tc_set_md_var(tc, descr, test conversions to unsigned int);
 }
 
-ATF_TC_BODY(test1, tc)
+ATF_TC_BODY(conv_uint, tc)
 {
 	unsigned int ui;
-	unsigned long ul;
-	long double dt;
 	double d;
 
 	/* unsigned int test */
@@ -65,6 +62,21 @@
 	if (ui != UINT_TESTVALUE)
 		atf_tc_fail(FAILED: unsigned int %u (0x%x) != %u (0x%x),
 		ui, ui, UINT_TESTVALUE, UINT_TESTVALUE);
+}
+
+ATF_TC(conv_ulong);
+
+ATF_TC_HEAD(conv_ulong, tc)
+{
+
+	atf_tc_set_md_var(tc, descr, test conversions to unsigned long);
+}
+
+ATF_TC_BODY(conv_ulong, tc)
+{
+	unsigned long ul;
+	long double dt;
+	double d;
 
 	/* unsigned long vs. {long} double test */
 	if (sizeof(d)  sizeof(ul)) {
@@ -79,8 +91,7 @@
 		printf(sizeof(long) = %zu, sizeof(double) = %zu, 
 		sizeof(long double) = %zu\n, 
 		sizeof(ul), sizeof(d), sizeof(dt));
-		atf_tc_skip(no suitable {long} double type found, skipping 
-		\unsigned long\ test);
+		atf_tc_skip(no suitable {long} double type found);
 	}
 
 	if (ul != ULONG_TESTVALUE)
@@ -88,15 +99,15 @@
 		ul, ul, ULONG_TESTVALUE, ULONG_TESTVALUE);
 }
 
-ATF_TC(test2);
+ATF_TC(cast_ulong);
 
-ATF_TC_HEAD(test2, tc)
+ATF_TC_HEAD(cast_ulong, tc)
 {
 
 	atf_tc_set_md_var(tc, descr, test double to unsigned long cast);
 }
 
-ATF_TC_BODY(test2, tc)
+ATF_TC_BODY(cast_ulong, tc)
 {
 	double nv;
 	unsigned long uv;
@@ -104,30 +115,30 @@
 	nv = 5.6;
 	uv = (unsigned long)nv;
 
-	ATF_REQUIRE_EQ_MSG(uv, 5,
+	ATF_CHECK_EQ_MSG(uv, 5,
 	%.3f casted to unsigned long is %lu, nv, uv);
 }
 
-ATF_TC(test3);
+ATF_TC(cast_ulong2);
 
-ATF_TC_HEAD(test3, tc)
+ATF_TC_HEAD(cast_ulong2, tc)
 {
 
 	atf_tc_set_md_var(tc, descr,
 	test double/long double casts to unsigned long);
 }
 
-ATF_TC_BODY(test3, tc)
+ATF_TC_BODY(cast_ulong2, tc)
 {
 	double dv = 1.9;
 	long double ldv = dv;
 	unsigned long l1 = dv;
 	unsigned long l2 = ldv;
 
-	ATF_REQUIRE_EQ_MSG(l1, 1,
+	ATF_CHECK_EQ_MSG(l1, 1,
 	double 1.9 casted to unsigned long should be 1, but is %lu, l1);
 
-	ATF_REQUIRE_EQ_MSG(l2, 1,
+	ATF_CHECK_EQ_MSG(l2, 1,
 	long double 1.9 casted to unsigned long should be 1, but is %lu,
 	l2);
 }
@@ -135,9 +146,10 @@
 ATF_TP_ADD_TCS(tp)
 {
 
-	ATF_TP_ADD_TC(tp, test1);
-	ATF_TP_ADD_TC(tp, test2);
-	ATF_TP_ADD_TC(tp, test3);
+	ATF_TP_ADD_TC(tp, conv_uint);
+	ATF_TP_ADD_TC(tp, conv_ulong);
+	ATF_TP_ADD_TC(tp, cast_ulong);
+	ATF_TP_ADD_TC(tp, cast_ulong2);
 
 	return atf_no_error();
 }



CVS commit: src/tests/lib/libc

2011-06-14 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Jun 14 12:17:58 UTC 2011

Modified Files:
src/tests/lib/libc: t_gdtoa.c

Log Message:
Avoid printf(3) directive interpretation in long_format testcase
description.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/t_gdtoa.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/t_gdtoa.c
diff -u src/tests/lib/libc/t_gdtoa.c:1.1 src/tests/lib/libc/t_gdtoa.c:1.2
--- src/tests/lib/libc/t_gdtoa.c:1.1	Fri Dec 31 04:08:33 2010
+++ src/tests/lib/libc/t_gdtoa.c	Tue Jun 14 12:17:57 2011
@@ -34,7 +34,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include sys/cdefs.h
-__RCSID($NetBSD: t_gdtoa.c,v 1.1 2010/12/31 04:08:33 pgoyette Exp $);
+__RCSID($NetBSD: t_gdtoa.c,v 1.2 2011/06/14 12:17:57 njoly Exp $);
 
 #include atf-c.h
 
@@ -47,7 +47,7 @@
 ATF_TC_HEAD(long_format, tc)
 {
 
-	atf_tc_set_md_var(tc, descr, Test printf with %1.262159f format);
+	atf_tc_set_md_var(tc, descr, Test printf with %%1.262159f format);
 }
 
 ATF_TC_BODY(long_format, tc)



CVS commit: src/share/man/man4

2011-06-14 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Jun 14 13:19:32 UTC 2011

Modified Files:
src/share/man/man4: termios.4

Log Message:
Consistently use Brq Dv macros for pathconf(2) variables.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/share/man/man4/termios.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/termios.4
diff -u src/share/man/man4/termios.4:1.34 src/share/man/man4/termios.4:1.35
--- src/share/man/man4/termios.4:1.34	Mon Mar 22 18:58:31 2010
+++ src/share/man/man4/termios.4	Tue Jun 14 13:19:32 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: termios.4,v 1.34 2010/03/22 18:58:31 joerg Exp $
+.\	$NetBSD: termios.4,v 1.35 2011/06/14 13:19:32 njoly Exp $
 .\
 .\ Copyright (c) 1991, 1992, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -243,7 +243,7 @@
 which incoming data is stored by the system before being read by a
 process.
 The system imposes a limit,
-.Pf \{ Dv MAX_INPUT Ns \} ,
+.Brq Dv MAX_INPUT ,
 on the number of
 bytes that may be stored in the input queue.
 The behavior of the system
@@ -335,12 +335,12 @@
 read a whole line at once; any number of bytes, even one, may be
 requested in a read without losing information.
 .Pp
-.Pf \{ Dv MAX_CANON Ns \}
+.Brq Dv MAX_CANON
 is a limit on the
 number of bytes in a line.
 The behavior of the system when this limit is
 exceeded is the same as when the input queue limit
-.Pf \{ Dv MAX_INPUT Ns \} ,
+.Brq Dv MAX_INPUT ,
 is exceeded.
 .Pp
 Erase and kill processing occur when either of two special characters,
@@ -400,7 +400,7 @@
 If
 .Dv VMIN
 is greater than
-.Dv \{ Dv MAX_INPUT Ns \} ,
+.Brq Dv MAX_INPUT ,
 the response to the
 request is undefined.
 The four possible values for
@@ -774,7 +774,7 @@
 Special
 character functions associated with changeable special control characters
 can be disabled individually by setting their value to
-.Dv {_POSIX_VDISABLE};
+.Brq Dv _POSIX_VDISABLE ;
 see
 .Sx Special Control Characters .
 .Pp
@@ -1548,14 +1548,14 @@
 value of one of the changeable special control characters (see
 .Sx Special Characters )
 is
-.Dv {_POSIX_VDISABLE} ,
+.Brq Dv _POSIX_VDISABLE ,
 that function is disabled; that is, no input
 data is recognized as the disabled special character.
 If
 .Dv ICANON
 is
 not set, the value of
-.Dv {_POSIX_VDISABLE}
+.Brq Dv _POSIX_VDISABLE
 has no special meaning for the
 .Dv VMIN
 and



CVS commit: src/lib/libm/gen

2011-06-10 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Jun 10 14:10:18 UTC 2011

Modified Files:
src/lib/libm/gen: nan.3

Log Message:
nanl() do use strtold(), not strtod().


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libm/gen/nan.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/gen/nan.3
diff -u src/lib/libm/gen/nan.3:1.3 src/lib/libm/gen/nan.3:1.4
--- src/lib/libm/gen/nan.3:1.3	Fri Dec 17 23:57:07 2010
+++ src/lib/libm/gen/nan.3	Fri Jun 10 14:10:18 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: nan.3,v 1.3 2010/12/17 23:57:07 njoly Exp $
+.\	$NetBSD: nan.3,v 1.4 2011/06/10 14:10:18 njoly Exp $
 .\
 .\ Copyright (c) 2006 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -64,7 +64,7 @@
 but substituting
 .Fn strtof
 and
-.Fn strtod ,
+.Fn strtold ,
 respectively.
 .Sh RETURN VALUES
 .Ss IEEE 754



CVS commit: src/tests/lib/libc

2011-06-10 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Jun 10 15:21:25 UTC 2011

Modified Files:
src/tests/lib/libc: t_convfp.c

Log Message:
Do not call exit() after atf_tc_fail().


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/t_convfp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/t_convfp.c
diff -u src/tests/lib/libc/t_convfp.c:1.1 src/tests/lib/libc/t_convfp.c:1.2
--- src/tests/lib/libc/t_convfp.c:1.1	Fri Dec 31 04:08:33 2010
+++ src/tests/lib/libc/t_convfp.c	Fri Jun 10 15:21:25 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_convfp.c,v 1.1 2010/12/31 04:08:33 pgoyette Exp $	*/
+/*	$NetBSD: t_convfp.c,v 1.2 2011/06/10 15:21:25 njoly Exp $	*/
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -85,11 +85,9 @@
 		sizeof(long double) = %d\n, 
 		sizeof(ul), sizeof(d), sizeof(dt));
 
-	if (ul != ULONG_TESTVALUE) {
+	if (ul != ULONG_TESTVALUE)
 		atf_tc_fail(unsigned long %lu (0x%lx) != %lu (0x%lx)\n,
 		ul, ul, ULONG_TESTVALUE, ULONG_TESTVALUE);
-		exit(1);
-	}
 }
 
 ATF_TC(test2);



CVS commit: src/tests/lib/libc

2011-06-10 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Jun 10 15:43:59 UTC 2011

Modified Files:
src/tests/lib/libc: t_convfp.c

Log Message:
Remove newlines from various messages.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/t_convfp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/t_convfp.c
diff -u src/tests/lib/libc/t_convfp.c:1.2 src/tests/lib/libc/t_convfp.c:1.3
--- src/tests/lib/libc/t_convfp.c:1.2	Fri Jun 10 15:21:25 2011
+++ src/tests/lib/libc/t_convfp.c	Fri Jun 10 15:43:59 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_convfp.c,v 1.2 2011/06/10 15:21:25 njoly Exp $	*/
+/*	$NetBSD: t_convfp.c,v 1.3 2011/06/10 15:43:59 njoly Exp $	*/
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
 	ui = (unsigned int)d;
 
 	if (ui != UINT_TESTVALUE)
-		atf_tc_fail(FAILED: unsigned int %u (0x%x) != %u (0x%x)\n,
+		atf_tc_fail(FAILED: unsigned int %u (0x%x) != %u (0x%x),
 		ui, ui, UINT_TESTVALUE, UINT_TESTVALUE);
 
 	/* unsigned long vs. {long} double test */
@@ -80,13 +80,13 @@
 		printf(testing long double vs. long\n);
 	} else
 		atf_tc_skip(no suitable {long} double type found, skipping 
-		\unsigned long\ test\n
+		\unsigned long\ test: 
 		sizeof(long) = %d, sizeof(double) = %d, 
-		sizeof(long double) = %d\n, 
+		sizeof(long double) = %d, 
 		sizeof(ul), sizeof(d), sizeof(dt));
 
 	if (ul != ULONG_TESTVALUE)
-		atf_tc_fail(unsigned long %lu (0x%lx) != %lu (0x%lx)\n,
+		atf_tc_fail(unsigned long %lu (0x%lx) != %lu (0x%lx),
 		ul, ul, ULONG_TESTVALUE, ULONG_TESTVALUE);
 }
 
@@ -107,7 +107,7 @@
 	uv = (unsigned long)nv;
 
 	ATF_REQUIRE_EQ_MSG(uv, 5,
-	%.3f casted to unsigned long is %lu\n, nv, uv);
+	%.3f casted to unsigned long is %lu, nv, uv);
 }
 
 ATF_TC(test3);
@@ -127,10 +127,10 @@
 	unsigned long l2 = ldv;
 
 	ATF_REQUIRE_EQ_MSG(l1, 1,
-	double 1.9 casted to unsigned long should be 1, but is %lu\n, l1);
+	double 1.9 casted to unsigned long should be 1, but is %lu, l1);
 
 	ATF_REQUIRE_EQ_MSG(l2, 1,
-	long double 1.9 casted to unsigned long should be 1, but is %lu\n,
+	long double 1.9 casted to unsigned long should be 1, but is %lu,
 	l2);
 }
 



CVS commit: src/tests/lib/libc

2011-06-10 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Jun 10 15:52:44 UTC 2011

Modified Files:
src/tests/lib/libc: t_convfp.c

Log Message:
Remove unneeded prototypes.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/t_convfp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/t_convfp.c
diff -u src/tests/lib/libc/t_convfp.c:1.3 src/tests/lib/libc/t_convfp.c:1.4
--- src/tests/lib/libc/t_convfp.c:1.3	Fri Jun 10 15:43:59 2011
+++ src/tests/lib/libc/t_convfp.c	Fri Jun 10 15:52:44 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_convfp.c,v 1.3 2011/06/10 15:43:59 njoly Exp $	*/
+/*	$NetBSD: t_convfp.c,v 1.4 2011/06/10 15:52:44 njoly Exp $	*/
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -42,9 +42,6 @@
 /* The same for unsigned long */
 #define ULONG_TESTVALUE	(LONG_MAX+42UL)
 
-static void test1();
-static void test2();
-static void test3();
 
 ATF_TC(test1);
 



CVS commit: src/tests/lib/libc

2011-06-10 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Jun 10 17:10:43 UTC 2011

Modified Files:
src/tests/lib/libc: t_convfp.c

Log Message:
Do not print sizeof values in skip message.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/t_convfp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/t_convfp.c
diff -u src/tests/lib/libc/t_convfp.c:1.4 src/tests/lib/libc/t_convfp.c:1.5
--- src/tests/lib/libc/t_convfp.c:1.4	Fri Jun 10 15:52:44 2011
+++ src/tests/lib/libc/t_convfp.c	Fri Jun 10 17:10:43 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_convfp.c,v 1.4 2011/06/10 15:52:44 njoly Exp $	*/
+/*	$NetBSD: t_convfp.c,v 1.5 2011/06/10 17:10:43 njoly Exp $	*/
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -75,12 +75,13 @@
 		dt = ULONG_TESTVALUE;
 		ul = (unsigned long)dt;
 		printf(testing long double vs. long\n);
-	} else
-		atf_tc_skip(no suitable {long} double type found, skipping 
-		\unsigned long\ test: 
-		sizeof(long) = %d, sizeof(double) = %d, 
-		sizeof(long double) = %d, 
+	} else {
+		printf(sizeof(long) = %d, sizeof(double) = %d, 
+		sizeof(long double) = %d\n, 
 		sizeof(ul), sizeof(d), sizeof(dt));
+		atf_tc_skip(no suitable {long} double type found, skipping 
+		\unsigned long\ test);
+	}
 
 	if (ul != ULONG_TESTVALUE)
 		atf_tc_fail(unsigned long %lu (0x%lx) != %lu (0x%lx),



CVS commit: src/lib/libc/time

2011-06-09 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Jun  9 12:13:00 UTC 2011

Modified Files:
src/lib/libc/time: ctime.3

Log Message:
Do not indent RETURN VALUES section (which was ignored because of
missing dash).


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/lib/libc/time/ctime.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/time/ctime.3
diff -u src/lib/libc/time/ctime.3:1.40 src/lib/libc/time/ctime.3:1.41
--- src/lib/libc/time/ctime.3:1.40	Tue Apr 12 13:46:38 2011
+++ src/lib/libc/time/ctime.3	Thu Jun  9 12:13:00 2011
@@ -1,4 +1,4 @@
-.\ $NetBSD: ctime.3,v 1.40 2011/04/12 13:46:38 jruoho Exp $
+.\ $NetBSD: ctime.3,v 1.41 2011/06/09 12:13:00 njoly Exp $
 .\
 .\ XXX: Lincense missing?
 .\
@@ -302,7 +302,7 @@
 .Va tzname[1] .
 .El
 .Sh RETURN VALUES
-.Bl -bullet offset indent
+.Bl -bullet
 .It
 On success the
 .Fn asctime



CVS commit: src/lib/libc/stdlib

2011-06-08 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Jun  8 18:09:58 UTC 2011

Modified Files:
src/lib/libc/stdlib: jemalloc.3

Log Message:
Fix prologue macros order.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/stdlib/jemalloc.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/stdlib/jemalloc.3
diff -u src/lib/libc/stdlib/jemalloc.3:1.5 src/lib/libc/stdlib/jemalloc.3:1.6
--- src/lib/libc/stdlib/jemalloc.3:1.5	Fri May 14 16:05:49 2010
+++ src/lib/libc/stdlib/jemalloc.3	Wed Jun  8 18:09:57 2011
@@ -35,8 +35,8 @@
 .\ $FreeBSD: src/lib/libc/stdlib/malloc.3,v 1.73 2007/06/15 22:32:33 jasone Exp $
 .\
 .Dd May 14, 2010
-.Os
 .Dt JEMALLOC 3
+.Os
 .Sh NAME
 .Nm jemalloc
 .Nd the default system allocator



CVS commit: src/share/man/man5

2011-06-06 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Jun  6 12:54:48 UTC 2011

Modified Files:
src/share/man/man5: floppytab.5

Log Message:
Fix typo (.Ed - .El).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man5/floppytab.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man5/floppytab.5
diff -u src/share/man/man5/floppytab.5:1.1 src/share/man/man5/floppytab.5:1.2
--- src/share/man/man5/floppytab.5:1.1	Sat Jun  4 18:27:40 2011
+++ src/share/man/man5/floppytab.5	Mon Jun  6 12:54:48 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: floppytab.5,v 1.1 2011/06/04 18:27:40 jruoho Exp $
+.\	$NetBSD: floppytab.5,v 1.2 2011/06/06 12:54:48 njoly Exp $
 .\
 .\ Copyright (c) 2011 Jukka Ruohonen
 .\ All rights reserved.
@@ -52,4 +52,4 @@
 .Sh FILES
 .Bl -tag -width /etc/floppytab -compact
 .It Pa /etc/floppytab
-.Ed
+.El



CVS commit: src/distrib/sets/lists

2011-06-06 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Jun  6 16:16:00 UTC 2011

Modified Files:
src/distrib/sets/lists/base: ad.mips64eb ad.mips64el shl.mi
src/distrib/sets/lists/comp: ad.mips64eb ad.mips64el md.amd64
md.sparc64 shl.mi

Log Message:
Update libcrypto.so and libssl.so minor forgotten in previous update,
for compat and debug libraries.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/distrib/sets/lists/base/ad.mips64eb
cvs rdiff -u -r1.49 -r1.50 src/distrib/sets/lists/base/ad.mips64el
cvs rdiff -u -r1.586 -r1.587 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.33 -r1.34 src/distrib/sets/lists/comp/ad.mips64eb \
src/distrib/sets/lists/comp/ad.mips64el
cvs rdiff -u -r1.116 -r1.117 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.101 -r1.102 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.174 -r1.175 src/distrib/sets/lists/comp/shl.mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/base/ad.mips64eb
diff -u src/distrib/sets/lists/base/ad.mips64eb:1.52 src/distrib/sets/lists/base/ad.mips64eb:1.53
--- src/distrib/sets/lists/base/ad.mips64eb:1.52	Sun Jun  5 23:09:50 2011
+++ src/distrib/sets/lists/base/ad.mips64eb	Mon Jun  6 16:16:00 2011
@@ -1,4 +1,4 @@
-# $NetBSD: ad.mips64eb,v 1.52 2011/06/05 23:09:50 spz Exp $
+# $NetBSD: ad.mips64eb,v 1.53 2011/06/06 16:16:00 njoly Exp $
 ./libexec/ld.elf_so-64base-compat-shlib	compat,pic
 ./libexec/ld.elf_so-o32base-sysutil-bin	compat,pic
 ./usr/lib/64	base-compat-lib
@@ -349,7 +349,7 @@
 ./usr/lib/o32/libcrypt.so.1			base-compat-shlib	compat,pic
 ./usr/lib/o32/libcrypt.so.1.0			base-compat-shlib	compat,pic
 ./usr/lib/o32/libcrypto.so.6			base-compat-shlib	compat,pic,crypto
-./usr/lib/o32/libcrypto.so.6.1			base-compat-shlib	compat,pic,crypto
+./usr/lib/o32/libcrypto.so.6.2			base-compat-shlib	compat,pic,crypto
 ./usr/lib/o32/libcurses.so.7			base-compat-shlib	compat,pic
 ./usr/lib/o32/libcurses.so.7.0			base-compat-shlib	compat,pic
 ./usr/lib/o32/libdes.so.8			base-compat-shlib	compat,pic,crypto
@@ -509,7 +509,7 @@
 ./usr/lib/o32/libssh.so.16			base-compat-shlib	compat,pic,crypto
 ./usr/lib/o32/libssh.so.16.0			base-compat-shlib	compat,pic,crypto
 ./usr/lib/o32/libssl.so.8			base-compat-shlib	compat,pic,crypto
-./usr/lib/o32/libssl.so.8.1			base-compat-shlib	compat,pic,crypto
+./usr/lib/o32/libssl.so.8.2			base-compat-shlib	compat,pic,crypto
 ./usr/lib/o32/libstdc++.so.7			base-compat-shlib	compat,pic,cxx
 ./usr/lib/o32/libstdc++.so.7.0			base-compat-shlib	compat,pic,cxx
 ./usr/lib/o32/libsupc++.so.0			base-compat-shlib	obsolete

Index: src/distrib/sets/lists/base/ad.mips64el
diff -u src/distrib/sets/lists/base/ad.mips64el:1.49 src/distrib/sets/lists/base/ad.mips64el:1.50
--- src/distrib/sets/lists/base/ad.mips64el:1.49	Sun Jun  5 23:09:51 2011
+++ src/distrib/sets/lists/base/ad.mips64el	Mon Jun  6 16:16:00 2011
@@ -1,4 +1,4 @@
-# $NetBSD: ad.mips64el,v 1.49 2011/06/05 23:09:51 spz Exp $
+# $NetBSD: ad.mips64el,v 1.50 2011/06/06 16:16:00 njoly Exp $
 ./libexec/ld.elf_so-64base-compat-shlib	compat,pic
 ./libexec/ld.elf_so-o32base-sysutil-bin	compat,pic
 ./usr/lib/64	base-compat-lib
@@ -349,7 +349,7 @@
 ./usr/lib/o32/libcrypt.so.1			base-compat-shlib	compat,pic
 ./usr/lib/o32/libcrypt.so.1.0			base-compat-shlib	compat,pic
 ./usr/lib/o32/libcrypto.so.6			base-compat-shlib	compat,pic,crypto
-./usr/lib/o32/libcrypto.so.6.1			base-compat-shlib	compat,pic,crypto
+./usr/lib/o32/libcrypto.so.6.2			base-compat-shlib	compat,pic,crypto
 ./usr/lib/o32/libcurses.so.7			base-compat-shlib	compat,pic
 ./usr/lib/o32/libcurses.so.7.0			base-compat-shlib	compat,pic
 ./usr/lib/o32/libdes.so.8			base-compat-shlib	compat,pic,crypto
@@ -509,7 +509,7 @@
 ./usr/lib/o32/libssh.so.16			base-compat-shlib	compat,pic,crypto
 ./usr/lib/o32/libssh.so.16.0			base-compat-shlib	compat,pic,crypto
 ./usr/lib/o32/libssl.so.8			base-compat-shlib	compat,pic,crypto
-./usr/lib/o32/libssl.so.8.1			base-compat-shlib	compat,pic,crypto
+./usr/lib/o32/libssl.so.8.2			base-compat-shlib	compat,pic,crypto
 ./usr/lib/o32/libstdc++.so.7			base-compat-shlib	compat,pic,cxx
 ./usr/lib/o32/libstdc++.so.7.0			base-compat-shlib	compat,pic,cxx
 ./usr/lib/o32/libsupc++.so.0			base-compat-shlib	obsolete

Index: src/distrib/sets/lists/base/shl.mi
diff -u src/distrib/sets/lists/base/shl.mi:1.586 src/distrib/sets/lists/base/shl.mi:1.587
--- src/distrib/sets/lists/base/shl.mi:1.586	Sun Jun  5 23:09:51 2011
+++ src/distrib/sets/lists/base/shl.mi	Mon Jun  6 16:16:00 2011
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.586 2011/06/05 23:09:51 spz Exp $
+# $NetBSD: shl.mi,v 1.587 2011/06/06 16:16:00 njoly Exp $
 #
 # Note:	Don't delete entries from here - mark them as obsolete instead,
 #	unless otherwise stated below.
@@ -180,7 +180,7 @@
 ./usr/lib/libcrypt.so.1.0			base-sys-shlib
 ./usr/lib/libcrypto.sobase-crypto-shlib	

CVS commit: src/sys/kern

2011-06-05 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sun Jun  5 14:13:53 UTC 2011

Modified Files:
src/sys/kern: makesyscalls.sh

Log Message:
Create empty temporary rumphdr.types file if missing; to avoid error
messages for compat syscalls files regen.


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/sys/kern/makesyscalls.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/makesyscalls.sh
diff -u src/sys/kern/makesyscalls.sh:1.117 src/sys/kern/makesyscalls.sh:1.118
--- src/sys/kern/makesyscalls.sh:1.117	Tue Mar  8 18:29:49 2011
+++ src/sys/kern/makesyscalls.sh	Sun Jun  5 14:13:53 2011
@@ -1,5 +1,5 @@
 #! /bin/sh -
-#	$NetBSD: makesyscalls.sh,v 1.117 2011/03/08 18:29:49 pooka Exp $
+#	$NetBSD: makesyscalls.sh,v 1.118 2011/06/05 14:13:53 njoly Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -951,6 +951,7 @@
 cat $sysnamesbottom  $sysnames
 cat $rumpsysent  $rumpcalls
 
+touch $rumptypes
 cat $rumptypes  $rumpcallshdr
 echo  $rumpcallshdr
 cat $rumpprotos  $rumpcallshdr



CVS commit: src/sys/dev/usb

2011-06-01 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Jun  1 13:57:55 UTC 2011

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
Add Chipsbank vendor id.


To generate a diff of this commit:
cvs rdiff -u -r1.579 -r1.580 src/sys/dev/usb/usbdevs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/usbdevs
diff -u src/sys/dev/usb/usbdevs:1.579 src/sys/dev/usb/usbdevs:1.580
--- src/sys/dev/usb/usbdevs:1.579	Thu Mar 10 00:11:59 2011
+++ src/sys/dev/usb/usbdevs	Wed Jun  1 13:57:55 2011
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.579 2011/03/10 00:11:59 scw Exp $
+$NetBSD: usbdevs,v 1.580 2011/06/01 13:57:55 njoly Exp $
 
 /*
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -59,6 +59,7 @@
  */
 
 vendor EGALAX2		0x0123	eGalax, Inc.
+vendor CHIPSBANK	0x0204	Chipsbank
 vendor AOX		0x03e8	AOX
 vendor ATMEL		0x03eb	Atmel
 vendor MITSUMI		0x03ee	Mitsumi



<    1   2   3   4   5   6   7   8   9   >