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

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Nov  2 01:55:16 UTC 2013

Modified Files:
src/distrib/sets/lists/debug: md.amd64

Log Message:
put attributes in the right spot


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/distrib/sets/lists/debug/md.amd64

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/debug/md.amd64
diff -u src/distrib/sets/lists/debug/md.amd64:1.33 src/distrib/sets/lists/debug/md.amd64:1.34
--- src/distrib/sets/lists/debug/md.amd64:1.33	Fri Nov  1 21:15:44 2013
+++ src/distrib/sets/lists/debug/md.amd64	Fri Nov  1 21:55:16 2013
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.33 2013/11/02 01:15:44 christos Exp $
+# $NetBSD: md.amd64,v 1.34 2013/11/02 01:55:16 christos Exp $
 ./usr/lib/i386/i18n/libBIG5_g.a			comp-c-proflib		compat,debuglib
 ./usr/lib/i386/i18n/libDECHanyu_g.a		comp-c-proflib		compat,debuglib
 ./usr/lib/i386/i18n/libEUCTW_g.a		comp-c-proflib		compat,debuglib
@@ -271,9 +271,9 @@
 ./usr/libdata/debug/usr/lib/i386/libnetpgp.so.3.0.debug	comp-compat-shlib	compat,pic,debug
 ./usr/libdata/debug/usr/lib/i386/libnetpgpverify.so.4.0.debug	comp-compat-shlib	compat,pic,debug
 ./usr/libdata/debug/usr/lib/i386/libnpf.so.0.0.debug	comp-compat-shlib	compat,pic,npf,debug
-./usr/libdata/debug/usr/lib/i386/libobjc.so.3.0.debug	gcc=4,comp-compat-shlib	compat,pic,debug
-./usr/libdata/debug/usr/lib/i386/libobjc.so.3.0.debug	gcc=45,comp-compat-shlib	compat,pic,debug
-./usr/libdata/debug/usr/lib/i386/libobjc.so.4.0.debug	gcc=48,comp-compat-shlib	compat,pic,debug
+./usr/libdata/debug/usr/lib/i386/libobjc.so.3.0.debug	comp-compat-shlib	gcc=4,compat,pic,debug
+./usr/libdata/debug/usr/lib/i386/libobjc.so.3.0.debug	comp-compat-shlib	gcc=45,compat,pic,debug
+./usr/libdata/debug/usr/lib/i386/libobjc.so.4.0.debug	comp-compat-shlib	gcc=48,compat,pic,debug
 ./usr/libdata/debug/usr/lib/i386/libopcodes.so.6.0.debug	comp-compat-shlib	compat,pic,binutils,debug
 ./usr/libdata/debug/usr/lib/i386/libossaudio.so.1.0.debug	comp-compat-shlib	compat,pic,debug
 ./usr/libdata/debug/usr/lib/i386/libp2k.so.2.0.debug	comp-compat-shlib	compat,pic,debug,rump



CVS commit: src/distrib/sets/lists

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Nov  2 01:37:33 UTC 2013

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

Log Message:
more sets fixes


To generate a diff of this commit:
cvs rdiff -u -r1.1852 -r1.1853 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.36 -r1.37 src/distrib/sets/lists/debug/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.1852 src/distrib/sets/lists/comp/mi:1.1853
--- src/distrib/sets/lists/comp/mi:1.1852	Fri Nov  1 03:48:31 2013
+++ src/distrib/sets/lists/comp/mi	Fri Nov  1 21:37:33 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.1852 2013/11/01 07:48:31 mrg Exp $
+#	$NetBSD: mi,v 1.1853 2013/11/02 01:37:33 christos Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -1204,8 +1204,8 @@
 ./usr/include/g++/cmathcomp-cxx-include	gcc,cxx,libstdcxx
 ./usr/include/g++/compare.h			comp-obsolete		obsolete
 ./usr/include/g++/complex			comp-cxx-include	gcc,cxx,libstdcxx
-./usr/include/g++/complex.h			comp-obsolete		gcc=45,cxx,libstdcxx
-./usr/include/g++/complex.h			comp-obsolete		gcc=48,cxx,libstdcxx
+./usr/include/g++/complex.h			comp-obsolete		gcc=45,obsolete
+./usr/include/g++/complex.h			comp-obsolete		gcc=48,obsolete
 ./usr/include/g++/condition_variable		comp-cxx-include	gcc=45,cxx,libstdcxx
 ./usr/include/g++/condition_variable		comp-cxx-include	gcc=48,cxx,libstdcxx
 ./usr/include/g++/csetjmp			comp-cxx-include	gcc,cxx,libstdcxx
@@ -2329,7 +2329,6 @@
 ./usr/include/gcc-4.5/omp.h			comp-gcc-include	gcc=45
 ./usr/include/gcc-4.8/mf-runtime.h		comp-gcc-include	gcc=48
 ./usr/include/gcc-4.8/omp.h			comp-gcc-include	gcc=48
-./usr/include/gcc-4.8/visintrin.h			comp-cxx-include	gcc=48,cxx,libstdcxx
 ./usr/include/gelf.hcomp-c-include
 ./usr/include/getopt.hcomp-c-include
 ./usr/include/glob.hcomp-c-include

Index: src/distrib/sets/lists/debug/shl.mi
diff -u src/distrib/sets/lists/debug/shl.mi:1.36 src/distrib/sets/lists/debug/shl.mi:1.37
--- src/distrib/sets/lists/debug/shl.mi:1.36	Fri Nov  1 03:48:31 2013
+++ src/distrib/sets/lists/debug/shl.mi	Fri Nov  1 21:37:33 2013
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.36 2013/11/01 07:48:31 mrg Exp $
+# $NetBSD: shl.mi,v 1.37 2013/11/02 01:37:33 christos Exp $
 ./usr/libdata/debug/lib/libc.so.12.187.debug		comp-sys-debug	debug
 ./usr/libdata/debug/lib/libcrypt.so.1.0.debug		comp-sys-debug	debug
 ./usr/libdata/debug/lib/libcrypto.so.8.1.debug		comp-sys-debug	debug
@@ -24,6 +24,7 @@
 ./usr/libdata/debug/lib/npf/ext_normalize.so.0.0.debug	comp-sys-debug	debug,npf
 ./usr/libdata/debug/lib/npf/ext_rndblock.so.0.0.debug	comp-sys-debug	debug,npf
 ./usr/libdata/debug/libexec/ld.elf_so.debug		comp-sys-debug	debug
+./usr/libdata/debug/usr/libexec/liblto_plugin.so.0.0.debug	comp-sys-debug debug
 ./usr/libdata/debug/usr/lib/i18n/libBIG5.so.5.0.debug	comp-i18n-debug	debug
 ./usr/libdata/debug/usr/lib/i18n/libDECHanyu.so.5.0.debug	comp-i18n-debug	debug
 ./usr/libdata/debug/usr/lib/i18n/libEUC.so.5.0.debug	comp-i18n-debug	debug



CVS commit: src/distrib/sets/lists

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Nov  2 01:15:44 UTC 2013

Modified Files:
src/distrib/sets/lists/base: ad.arm ad.mips md.amd64 md.sparc64
src/distrib/sets/lists/debug: ad.arm ad.mips md.amd64 md.sparc64

Log Message:
more sets fixes (libgomp, libobjc)


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/distrib/sets/lists/base/ad.arm
cvs rdiff -u -r1.20 -r1.21 src/distrib/sets/lists/base/ad.mips
cvs rdiff -u -r1.215 -r1.216 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.202 -r1.203 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.16 -r1.17 src/distrib/sets/lists/debug/ad.arm
cvs rdiff -u -r1.11 -r1.12 src/distrib/sets/lists/debug/ad.mips
cvs rdiff -u -r1.32 -r1.33 src/distrib/sets/lists/debug/md.amd64
cvs rdiff -u -r1.33 -r1.34 src/distrib/sets/lists/debug/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/base/ad.arm
diff -u src/distrib/sets/lists/base/ad.arm:1.25 src/distrib/sets/lists/base/ad.arm:1.26
--- src/distrib/sets/lists/base/ad.arm:1.25	Fri Nov  1 03:48:31 2013
+++ src/distrib/sets/lists/base/ad.arm	Fri Nov  1 21:15:44 2013
@@ -1,4 +1,4 @@
-# $NetBSD: ad.arm,v 1.25 2013/11/01 07:48:31 mrg Exp $
+# $NetBSD: ad.arm,v 1.26 2013/11/02 01:15:44 christos Exp $
 ./lib/oabi	base-compat-shlib	compat
 ./lib/oabi/npf	base-npf-shlib		compat
 ./lib/oabi/npf/ext_log.so			base-npf-shlib		compat,pic
@@ -148,7 +148,7 @@
 ./usr/lib/oabi/libgomp.so.1			base-compat-shlib	compat,pic,gcc=45
 ./usr/lib/oabi/libgomp.so.1.0			base-compat-shlib	compat,pic,gcc=45
 ./usr/lib/oabi/libgomp.so.1			base-compat-shlib	compat,pic,gcc=48
-./usr/lib/oabi/libgomp.so.1.0			base-compat-shlib	compat,pic,gcc=48
+./usr/lib/oabi/libgomp.so.1.1			base-compat-shlib	compat,pic,gcc=48
 ./usr/lib/oabi/libgssapi.so.10			base-compat-shlib	compat,pic,kerberos
 ./usr/lib/oabi/libgssapi.so.10.0		base-compat-shlib	compat,pic,kerberos
 ./usr/lib/oabi/libhdb.so.14			base-compat-shlib	compat,pic,kerberos
@@ -221,8 +221,12 @@
 ./usr/lib/oabi/libnetpgpverify.so.4.0		base-compat-shlib	compat,pic,crypto
 ./usr/lib/oabi/libnpf.so.0			base-compat-shlib	compat,pic,npf
 ./usr/lib/oabi/libnpf.so.0.0			base-compat-shlib	compat,pic,npf
-./usr/lib/oabi/libobjc.so.3			base-compat-shlib	compat,pic,gcccmds
-./usr/lib/oabi/libobjc.so.3.0			base-compat-shlib	compat,pic,gcccmds
+./usr/lib/oabi/libobjc.so.3			base-compat-shlib	compat,pic,gcccmds,gcc=4
+./usr/lib/oabi/libobjc.so.3			base-compat-shlib	compat,pic,gcccmds,gcc=45
+./usr/lib/oabi/libobjc.so.4			base-compat-shlib	compat,pic,gcccmds,gcc=48
+./usr/lib/oabi/libobjc.so.3.0			base-compat-shlib	compat,pic,gcccmds,gcc=4
+./usr/lib/oabi/libobjc.so.3.0			base-compat-shlib	compat,pic,gcccmds,gcc=45
+./usr/lib/oabi/libobjc.so.4.0			base-compat-shlib	compat,pic,gcccmds,gcc=48
 ./usr/lib/oabi/libopcodes.so.6			base-compat-shlib	compat,pic,binutils
 ./usr/lib/oabi/libopcodes.so.6.0		base-compat-shlib	compat,pic,binutils
 ./usr/lib/oabi/libossaudio.so.1			base-compat-shlib	compat,pic

Index: src/distrib/sets/lists/base/ad.mips
diff -u src/distrib/sets/lists/base/ad.mips:1.20 src/distrib/sets/lists/base/ad.mips:1.21
--- src/distrib/sets/lists/base/ad.mips:1.20	Fri Nov  1 03:48:31 2013
+++ src/distrib/sets/lists/base/ad.mips	Fri Nov  1 21:15:44 2013
@@ -1,4 +1,4 @@
-# $NetBSD: ad.mips,v 1.20 2013/11/01 07:48:31 mrg Exp $
+# $NetBSD: ad.mips,v 1.21 2013/11/02 01:15:44 christos Exp $
 ./lib/64	base-compat-shlib	compat,arch64
 ./lib/64/npf	base-npf-shlib		compat,arch64
 ./lib/64/npf/ext_log.sobase-npf-shlib		compat,pic,arch64
@@ -148,7 +148,7 @@
 ./usr/lib/64/libgomp.so.1			base-compat-shlib	compat,pic,gcc=45,notyet,arch64
 ./usr/lib/64/libgomp.so.1.0			base-compat-shlib	compat,pic,gcc=45,notyet,arch64
 ./usr/lib/64/libgomp.so.1			base-compat-shlib	compat,pic,gcc=48,notyet,arch64
-./usr/lib/64/libgomp.so.1.0			base-compat-shlib	compat,pic,gcc=48,notyet,arch64
+./usr/lib/64/libgomp.so.1.1			base-compat-shlib	compat,pic,gcc=48,notyet,arch64
 ./usr/lib/64/libgssapi.so.10			base-compat-shlib	compat,pic,kerberos,arch64
 ./usr/lib/64/libgssapi.so.10.0			base-compat-shlib	compat,pic,kerberos,arch64
 ./usr/lib/64/libhdb.so.14			base-compat-shlib	compat,pic,kerberos,arch64
@@ -221,8 +221,12 @@
 ./usr/lib/64/libnetpgpverify.so.4.0		base-compat-shlib	compat,pic,crypto,arch64
 ./usr/lib/64/libnpf.so.0			base-compat-shlib	compat,pic,npf,arch64
 ./usr/lib/64/libnpf.so.0.0			base-compat-shlib	compat,pic,npf,arch64
-./usr/lib/64/libobjc.so.3			base-compat-shlib	compat,pic,gcccmds,arch64
-./usr/lib/64/libobjc.so.3.0			base-compat-shlib	compat,pic,gcccmds,arch64
+./usr/lib/64/libobjc.so.3			base-compat-shlib	compat,pic,gcccmds,arch64,gcc=4
+./usr/lib/64/libobjc.so.3			base-compat-shlib	compat,pic,gcccmds,arch64,gcc=45
+./usr/lib/64/libobjc.so.4			base-compat-shlib	compat,pic,gcccmds,arch64,gcc=48
+./usr/lib/64/libobjc.so.3.0			base-co

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

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Nov  2 00:57:23 UTC 2013

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

Log Message:
more gcc-4.8 files


To generate a diff of this commit:
cvs rdiff -u -r1.203 -r1.204 src/distrib/sets/lists/comp/md.amd64

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.203 src/distrib/sets/lists/comp/md.amd64:1.204
--- src/distrib/sets/lists/comp/md.amd64:1.203	Fri Nov  1 03:48:31 2013
+++ src/distrib/sets/lists/comp/md.amd64	Fri Nov  1 20:57:23 2013
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.203 2013/11/01 07:48:31 mrg Exp $
+# $NetBSD: md.amd64,v 1.204 2013/11/02 00:57:23 christos Exp $
 
 ./usr/include/amd64comp-c-include
 ./usr/include/amd64/ansi.h			comp-c-include
@@ -212,30 +212,45 @@
 ./usr/include/gcc-4.5/x86intrin.h		comp-c-include		gcccmds,gcc=45
 ./usr/include/gcc-4.5/xmmintrin.h		comp-c-include		gcccmds,gcc=45
 ./usr/include/gcc-4.5/xopintrin.h		comp-c-include		gcccmds,gcc=45
-./usr/include/gcc-4.8/abmintrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/adxintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/ammintrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/avx2intrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/avxintrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/bmi2intrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/bmiintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/bmmintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/cpuid.h			comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/cross-stdarg.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/emmintrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/f16cintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/fma4intrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/fmaintrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/fxsrintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/ia32intrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/immintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/lwpintrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/lzcntintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/mm3dnow.h			comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/mm_malloc.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/mmintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/nmmintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/pmmintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/popcntintrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/prfchwintrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/rdseedintrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/rtmintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/smmintrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/tbmintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/tgmath.h			comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/tmmintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/wmmintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/x86intrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/xmmintrin.h		comp-c-include		gcccmds,gcc=48
 ./usr/include/gcc-4.8/xopintrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/xsaveintrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/xsaveoptintrin.h		comp-c-include		gcccmds,gcc=48
+./usr/include/gcc-4.8/xtestintrin.h		comp-c-include		gcccmds,gcc=48
+
 ./usr/include/i386comp-c-include
 ./usr/include/i386/ansi.h			comp-c-include
 ./usr/include/i386/aout_machdep.h		comp-c-include



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

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Nov  2 00:41:58 UTC 2013

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

Log Message:
sprinkle __diagused


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/amd64/amd64/netbsd32_machdep.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/netbsd32_machdep.c
diff -u src/sys/arch/amd64/amd64/netbsd32_machdep.c:1.82 src/sys/arch/amd64/amd64/netbsd32_machdep.c:1.83
--- src/sys/arch/amd64/amd64/netbsd32_machdep.c:1.82	Wed Oct 23 16:18:50 2013
+++ src/sys/arch/amd64/amd64/netbsd32_machdep.c	Fri Nov  1 20:41:58 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_machdep.c,v 1.82 2013/10/23 20:18:50 drochner Exp $	*/
+/*	$NetBSD: netbsd32_machdep.c,v 1.83 2013/11/02 00:41:58 christos Exp $	*/
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.82 2013/10/23 20:18:50 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.83 2013/11/02 00:41:58 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -956,7 +956,7 @@ startlwp32(void *arg)
 {
 	ucontext32_t *uc = arg;
 	lwp_t *l = curlwp;
-	int error;
+	int error __diagused;
 
 	error = cpu_setmcontext32(l, &uc->uc_mcontext, uc->uc_flags);
 	KASSERT(error == 0);



CVS commit: src/sys/dev/pad

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Nov  2 00:37:12 UTC 2013

Modified Files:
src/sys/dev/pad: pad.c

Log Message:
sprinke __diagused


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/pad/pad.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/pad/pad.c
diff -u src/sys/dev/pad/pad.c:1.19 src/sys/dev/pad/pad.c:1.20
--- src/sys/dev/pad/pad.c:1.19	Wed Nov 23 20:54:08 2011
+++ src/sys/dev/pad/pad.c	Fri Nov  1 20:37:12 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: pad.c,v 1.19 2011/11/24 01:54:08 agc Exp $ */
+/* $NetBSD: pad.c,v 1.20 2013/11/02 00:37:12 christos Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill 
@@ -27,7 +27,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.19 2011/11/24 01:54:08 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.20 2013/11/02 00:37:12 christos Exp $");
 
 #include 
 #include 
@@ -401,7 +401,7 @@ pad_set_params(void *opaque, int setmode
 audio_params_t *play, audio_params_t *rec,
 stream_filter_list_t *pfil, stream_filter_list_t *rfil)
 {
-	pad_softc_t *sc;
+	pad_softc_t *sc __diagused;
 
 	sc = (pad_softc_t *)opaque;
 
@@ -458,7 +458,7 @@ static int
 pad_start_input(void *opaque, void *block, int blksize,
 void (*intr)(void *), void *intrarg)
 {
-	pad_softc_t *sc;
+	pad_softc_t *sc __diagused;
 
 	sc = (pad_softc_t *)opaque;
 
@@ -487,7 +487,7 @@ pad_halt_output(void *opaque)
 static int
 pad_halt_input(void *opaque)
 {
-	pad_softc_t *sc;
+	pad_softc_t *sc __diagused;
 
 	sc = (pad_softc_t *)opaque;
 
@@ -547,7 +547,7 @@ pad_get_port(void *opaque, mixer_ctrl_t 
 static int
 pad_query_devinfo(void *opaque, mixer_devinfo_t *di)
 {
-	pad_softc_t *sc;
+	pad_softc_t *sc __diagused;
 
 	sc = (pad_softc_t *)opaque;
 
@@ -590,7 +590,7 @@ pad_query_devinfo(void *opaque, mixer_de
 static int
 pad_get_props(void *opaque)
 {
-	pad_softc_t *sc;
+	pad_softc_t *sc __diagused;
 
 	sc = (pad_softc_t *)opaque;
 
@@ -603,7 +603,7 @@ static int
 pad_round_blocksize(void *opaque, int blksize, int mode,
 const audio_params_t *p)
 {
-	pad_softc_t *sc;
+	pad_softc_t *sc __diagused;
 
 	sc = (pad_softc_t *)opaque;
 	KASSERT(mutex_owned(&sc->sc_lock));



CVS commit: src/lib/librumpuser

2013-11-01 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Nov  1 23:22:13 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
Workaround a gcc -Wuninitilized whine

github/buildrump.sh issue #44


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/lib/librumpuser/rumpuser_sp.c

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

Modified files:

Index: src/lib/librumpuser/rumpuser_sp.c
diff -u src/lib/librumpuser/rumpuser_sp.c:1.60 src/lib/librumpuser/rumpuser_sp.c:1.61
--- src/lib/librumpuser/rumpuser_sp.c:1.60	Sun Oct 27 16:39:46 2013
+++ src/lib/librumpuser/rumpuser_sp.c	Fri Nov  1 23:22:13 2013
@@ -1,4 +1,4 @@
-/*  $NetBSD: rumpuser_sp.c,v 1.60 2013/10/27 16:39:46 rmind Exp $	*/
+/*  $NetBSD: rumpuser_sp.c,v 1.61 2013/11/01 23:22:13 pooka Exp $	*/
 
 /*
  * Copyright (c) 2010, 2011 Antti Kantee.  All Rights Reserved.
@@ -37,7 +37,7 @@
 #include "rumpuser_port.h"
 
 #if !defined(lint)
-__RCSID("$NetBSD: rumpuser_sp.c,v 1.60 2013/10/27 16:39:46 rmind Exp $");
+__RCSID("$NetBSD: rumpuser_sp.c,v 1.61 2013/11/01 23:22:13 pooka Exp $");
 #endif /* !lint */
 
 #include 
@@ -1318,7 +1318,7 @@ rumpuser_sp_init(const char *url,
 	struct spservarg *sarg;
 	struct sockaddr *sap;
 	char *p;
-	unsigned idx;
+	unsigned idx = 0; /* XXXgcc */
 	int error, s;
 
 	p = strdup(url);



CVS commit: src/usr.bin/config

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov  1 21:39:13 UTC 2013

Modified Files:
src/usr.bin/config: main.c util.c

Log Message:
go back to using file:line: from uwe.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/usr.bin/config/main.c
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/config/util.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/config/main.c
diff -u src/usr.bin/config/main.c:1.50 src/usr.bin/config/main.c:1.51
--- src/usr.bin/config/main.c:1.50	Fri Nov  1 13:09:59 2013
+++ src/usr.bin/config/main.c	Fri Nov  1 17:39:13 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: main.c,v 1.50 2013/11/01 17:09:59 christos Exp $	*/
+/*	$NetBSD: main.c,v 1.51 2013/11/01 21:39:13 christos Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -1172,7 +1172,7 @@ cfcrosscheck(struct config *cf, const ch
 goto loop;
 		}
 		(void)fprintf(stderr,
-		"%s,%d: %s says %s on %s, but there's no %s\n",
+		"%s:%d: %s says %s on %s, but there's no %s\n",
 		conffile, cf->cf_lineno,
 		cf->cf_name, what, nv->nv_str, nv->nv_str);
 		errs++;

Index: src/usr.bin/config/util.c
diff -u src/usr.bin/config/util.c:1.15 src/usr.bin/config/util.c:1.16
--- src/usr.bin/config/util.c:1.15	Fri Nov  1 13:09:59 2013
+++ src/usr.bin/config/util.c	Fri Nov  1 17:39:13 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: util.c,v 1.15 2013/11/01 17:09:59 christos Exp $	*/
+/*	$NetBSD: util.c,v 1.16 2013/11/01 21:39:13 christos Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -504,7 +504,7 @@ cfgvxmsg(const char *file, int line, con
   va_list ap)
 {
 
-	(void)fprintf(stderr, "%s,%d: %s", file, line, msgclass);
+	(void)fprintf(stderr, "%s:%d: %s", file, line, msgclass);
 	(void)vfprintf(stderr, fmt, ap);
 	(void)putc('\n', stderr);
 }



CVS commit: src/sys/arch/evbarm/conf

2013-11-01 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Nov  1 18:41:06 UTC 2013

Modified Files:
src/sys/arch/evbarm/conf: std.bcm53xx std.beagle std.cubie std.gemini
std.goldengate std.igepv2 std.imx31 std.n900 std.netwalker
std.overo std.rpi std.tisdp24xx

Log Message:
Remove the bogus CPPFLAGS+="-I$S/../../../include"

Prompted by the build problem reported by John Klos


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/evbarm/conf/std.bcm53xx
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbarm/conf/std.beagle \
src/sys/arch/evbarm/conf/std.rpi
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/conf/std.cubie \
src/sys/arch/evbarm/conf/std.goldengate
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbarm/conf/std.gemini \
src/sys/arch/evbarm/conf/std.imx31
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbarm/conf/std.igepv2 \
src/sys/arch/evbarm/conf/std.overo
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/conf/std.n900
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/conf/std.netwalker
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/evbarm/conf/std.tisdp24xx

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/evbarm/conf/std.bcm53xx
diff -u src/sys/arch/evbarm/conf/std.bcm53xx:1.12 src/sys/arch/evbarm/conf/std.bcm53xx:1.13
--- src/sys/arch/evbarm/conf/std.bcm53xx:1.12	Mon Oct 28 22:35:07 2013
+++ src/sys/arch/evbarm/conf/std.bcm53xx	Fri Nov  1 18:41:06 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: std.bcm53xx,v 1.12 2013/10/28 22:35:07 matt Exp $
+#	$NetBSD: std.bcm53xx,v 1.13 2013/11/01 18:41:06 skrll Exp $
 #
 # standard NetBSD/evbarm for BCM5301X options
 
@@ -30,7 +30,6 @@ makeoptions	KERNEL_BASE_PHYS="0x6010
 makeoptions	KERNEL_BASE_VIRT="0x8010"
 makeoptions	LOADADDRESS="0x0010"
 makeoptions	BOARDMKFRAG="${THISARM}/conf/mk.bcm53xx"
-makeoptions	CPPFLAGS+="-I$S/../../../include"
 
 options 	ARM_INTR_IMPL=""
 options		ARM_GENERIC_TODR

Index: src/sys/arch/evbarm/conf/std.beagle
diff -u src/sys/arch/evbarm/conf/std.beagle:1.11 src/sys/arch/evbarm/conf/std.beagle:1.12
--- src/sys/arch/evbarm/conf/std.beagle:1.11	Sun Aug 18 05:20:47 2013
+++ src/sys/arch/evbarm/conf/std.beagle	Fri Nov  1 18:41:06 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: std.beagle,v 1.11 2013/08/18 05:20:47 matt Exp $
+#	$NetBSD: std.beagle,v 1.12 2013/11/01 18:41:06 skrll Exp $
 #
 # standard NetBSD/evbarm for BEAGLEBOARD options
 
@@ -22,7 +22,6 @@ options 	FPU_VFP
 makeoptions	LOADADDRESS="0x8030"
 makeoptions	BOARDTYPE="beagle"
 makeoptions	BOARDMKFRAG="${THISARM}/conf/mk.beagle"
-makeoptions	CPPFLAGS+="-I$S/../../../include"
 
 options 	ARM_INTR_IMPL=""
 options		ARM_GENERIC_TODR
Index: src/sys/arch/evbarm/conf/std.rpi
diff -u src/sys/arch/evbarm/conf/std.rpi:1.11 src/sys/arch/evbarm/conf/std.rpi:1.12
--- src/sys/arch/evbarm/conf/std.rpi:1.11	Tue Oct 15 09:07:48 2013
+++ src/sys/arch/evbarm/conf/std.rpi	Fri Nov  1 18:41:06 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: std.rpi,v 1.11 2013/10/15 09:07:48 skrll Exp $
+#	$NetBSD: std.rpi,v 1.12 2013/11/01 18:41:06 skrll Exp $
 #
 # standard NetBSD/evbarm for Raspberry Pi options
 
@@ -18,7 +18,6 @@ options 	KERNEL_BASE_EXT=0xc000
 
 options 	EVBARM_BOARDTYPE="rpi"
 makeoptions	BOARDMKFRAG="${THISARM}/conf/mk.rpi"
-makeoptions	CPPFLAGS+="-I$S/../../../include"
 makeoptions	LOADADDRESS="0xc0008000"
 
 options 	ARM_INTR_IMPL=""

Index: src/sys/arch/evbarm/conf/std.cubie
diff -u src/sys/arch/evbarm/conf/std.cubie:1.1 src/sys/arch/evbarm/conf/std.cubie:1.2
--- src/sys/arch/evbarm/conf/std.cubie:1.1	Tue Sep  3 06:12:00 2013
+++ src/sys/arch/evbarm/conf/std.cubie	Fri Nov  1 18:41:06 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: std.cubie,v 1.1 2013/09/03 06:12:00 matt Exp $
+#	$NetBSD: std.cubie,v 1.2 2013/11/01 18:41:06 skrll Exp $
 #
 # standard NetBSD/evbarm for CUBIEBOARD options
 
@@ -23,7 +23,6 @@ makeoptions	KERNEL_BASE_PHYS="0x40007800
 makeoptions	KERNEL_BASE_VIRT="0x80007800"
 makeoptions	BOARDTYPE="cubie"
 makeoptions	BOARDMKFRAG="${THISARM}/conf/mk.cubie"
-makeoptions	CPPFLAGS+="-I$S/../../../include"
 
 options 	ARM_INTR_IMPL=""
 options		ARM_GENERIC_TODR
Index: src/sys/arch/evbarm/conf/std.goldengate
diff -u src/sys/arch/evbarm/conf/std.goldengate:1.1 src/sys/arch/evbarm/conf/std.goldengate:1.2
--- src/sys/arch/evbarm/conf/std.goldengate:1.1	Tue Feb 19 16:12:36 2013
+++ src/sys/arch/evbarm/conf/std.goldengate	Fri Nov  1 18:41:06 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: std.goldengate,v 1.1 2013/02/19 16:12:36 matt Exp $
+#	$NetBSD: std.goldengate,v 1.2 2013/11/01 18:41:06 skrll Exp $
 #
 # standard NetBSD/evbarm for Cortina GoldenGate (CS75xx) options
 
@@ -25,7 +25,6 @@ options 	EVBARM_BOARDTYPE="goldengate"
 makeoptions	LOADADDRESS_VIRT="0x80008000"
 makeoptions	LOADADDRESS="0x8000"
 makeoptions	BOARDMKFRAG="${THISARM}/conf/mk.goldengate"
-makeoptions	CPPFLAGS+="-I$S/../../../include"
 
 options 	ARM_INTR_IMPL=""
 options		ARM_GENERIC_TODR

Index: src/sys/arch/evbarm/conf/std.g

CVS commit: src/external/gpl3/gcc/dist/gcc

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov  1 18:12:49 UTC 2013

Modified Files:
src/external/gpl3/gcc/dist/gcc: unwind-dw2.c

Log Message:
make the code compilable with gcc-4.8.1; this loop has an array overflow,
but it is only used for sparc register windows; ifdef it sparc for now,
it's the easiest fix.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gcc/dist/gcc/unwind-dw2.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/gpl3/gcc/dist/gcc/unwind-dw2.c
diff -u src/external/gpl3/gcc/dist/gcc/unwind-dw2.c:1.1.1.1 src/external/gpl3/gcc/dist/gcc/unwind-dw2.c:1.2
--- src/external/gpl3/gcc/dist/gcc/unwind-dw2.c:1.1.1.1	Mon Jun 20 21:19:54 2011
+++ src/external/gpl3/gcc/dist/gcc/unwind-dw2.c	Fri Nov  1 14:12:49 2013
@@ -1076,12 +1076,14 @@ execute_cfa_program (const unsigned char
 	  break;
 
 	case DW_CFA_GNU_window_save:
+#ifdef __sparc__
 	  /* ??? Hardcoded for SPARC register window configuration.  */
 	  for (reg = 16; reg < 32; ++reg)
 	{
 	  fs->regs.reg[reg].how = REG_SAVED_OFFSET;
 	  fs->regs.reg[reg].loc.offset = (reg - 16) * sizeof (void *);
 	}
+#endif
 	  break;
 
 	case DW_CFA_GNU_args_size:



CVS commit: src/external/gpl3/gcc/dist/libstdc++-v3/src

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov  1 18:13:29 UTC 2013

Modified Files:
src/external/gpl3/gcc/dist/libstdc++-v3/src: atomic.cc

Log Message:
fix broken volatile assignment that gcc-4.8.1 does not like


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/gpl3/gcc/dist/libstdc++-v3/src/atomic.cc

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/dist/libstdc++-v3/src/atomic.cc
diff -u src/external/gpl3/gcc/dist/libstdc++-v3/src/atomic.cc:1.1.1.1 src/external/gpl3/gcc/dist/libstdc++-v3/src/atomic.cc:1.2
--- src/external/gpl3/gcc/dist/libstdc++-v3/src/atomic.cc:1.1.1.1	Mon Jun 20 21:24:05 2011
+++ src/external/gpl3/gcc/dist/libstdc++-v3/src/atomic.cc	Fri Nov  1 14:13:29 2013
@@ -80,7 +80,7 @@ namespace std
 atomic_flag_test_and_set_explicit(__atomic_flag_base* __a,
   memory_order __m) throw()
 {
-  atomic_flag* d = static_cast(__a);
+  atomic_flag* d = static_cast(__a);
   return d->test_and_set(__m);
 }
 
@@ -88,7 +88,7 @@ namespace std
 atomic_flag_clear_explicit(__atomic_flag_base* __a, 
 			   memory_order __m) throw()
 {
-  atomic_flag* d = static_cast(__a);
+  atomic_flag* d = static_cast(__a);
   return d->clear(__m);
 }
 



CVS commit: src/external/gpl3/gcc/lib/libstdc++-v3

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov  1 18:11:49 UTC 2013

Modified Files:
src/external/gpl3/gcc/lib/libstdc++-v3: Makefile

Log Message:
pick up omp.h from the libgomp directory not from /usr/include/gcc-4.5. Makes
the code compilable with gcc-4.8.1


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/lib/libstdc++-v3/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/lib/libstdc++-v3/Makefile
diff -u src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.6 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.7
--- src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.6	Thu Aug 22 12:03:30 2013
+++ src/external/gpl3/gcc/lib/libstdc++-v3/Makefile	Fri Nov  1 14:11:49 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2013/08/22 16:03:30 matt Exp $
+#	$NetBSD: Makefile,v 1.7 2013/11/01 18:11:49 christos Exp $
 
 REQUIRETOOLS=	yes
 NOLINT=		# defined
@@ -33,6 +33,7 @@ SRCS=		${LIBSUPCXXSRCS} ${LIBSTDCXXSRCS}
 CXXFLAGS+=	-fno-implicit-templates -fdiagnostics-show-location=once
 CPPFLAGS+=	-I${DIST}/libstdc++-v3/include
 CPPFLAGS+=	-I${.CURDIR}/arch/${GCC_MACHINE_ARCH}
+CPPFLAGS+=	-I${.CURDIR}/../libgomp/arch/${GCC_MACHINE_ARCH}
 
 CONF=		${DIST}/libstdc++-v3/config
 



CVS commit: src/usr.bin/config

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov  1 17:09:59 UTC 2013

Modified Files:
src/usr.bin/config: main.c util.c

Log Message:
make config errors look more like other programs: ,:
instead of ::


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.bin/config/main.c
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/config/util.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/config/main.c
diff -u src/usr.bin/config/main.c:1.49 src/usr.bin/config/main.c:1.50
--- src/usr.bin/config/main.c:1.49	Thu Aug 30 21:23:49 2012
+++ src/usr.bin/config/main.c	Fri Nov  1 13:09:59 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: main.c,v 1.49 2012/08/31 01:23:49 christos Exp $	*/
+/*	$NetBSD: main.c,v 1.50 2013/11/01 17:09:59 christos Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -1172,7 +1172,7 @@ cfcrosscheck(struct config *cf, const ch
 goto loop;
 		}
 		(void)fprintf(stderr,
-		"%s:%d: %s says %s on %s, but there's no %s\n",
+		"%s,%d: %s says %s on %s, but there's no %s\n",
 		conffile, cf->cf_lineno,
 		cf->cf_name, what, nv->nv_str, nv->nv_str);
 		errs++;

Index: src/usr.bin/config/util.c
diff -u src/usr.bin/config/util.c:1.14 src/usr.bin/config/util.c:1.15
--- src/usr.bin/config/util.c:1.14	Sun Mar 11 22:58:55 2012
+++ src/usr.bin/config/util.c	Fri Nov  1 13:09:59 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: util.c,v 1.14 2012/03/12 02:58:55 dholland Exp $	*/
+/*	$NetBSD: util.c,v 1.15 2013/11/01 17:09:59 christos Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -504,7 +504,7 @@ cfgvxmsg(const char *file, int line, con
   va_list ap)
 {
 
-	(void)fprintf(stderr, "%s:%d: %s", file, line, msgclass);
+	(void)fprintf(stderr, "%s,%d: %s", file, line, msgclass);
 	(void)vfprintf(stderr, fmt, ap);
 	(void)putc('\n', stderr);
 }



CVS commit: src/sys/dev/usb

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov  1 17:09:00 UTC 2013

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

Log Message:
fix type in comparison


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/usb/uatp.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/uatp.c
diff -u src/sys/dev/usb/uatp.c:1.3 src/sys/dev/usb/uatp.c:1.4
--- src/sys/dev/usb/uatp.c:1.3	Sat Jan  5 03:01:13 2013
+++ src/sys/dev/usb/uatp.c	Fri Nov  1 13:09:00 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: uatp.c,v 1.3 2013/01/05 08:01:13 martin Exp $	*/
+/*	$NetBSD: uatp.c,v 1.4 2013/11/01 17:09:00 christos Exp $	*/
 
 /*-
  * Copyright (c) 2011, 2012 Taylor R. Campbell
@@ -143,7 +143,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: uatp.c,v 1.3 2013/01/05 08:01:13 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uatp.c,v 1.4 2013/11/01 17:09:00 christos Exp $");
 
 #include 
 #include 
@@ -945,7 +945,7 @@ uatp_attach(device_t parent, device_t se
 
 	/* Initialize model-specific parameters.  */
 	sc->sc_parameters = uatp_descriptor->parameters;
-	KASSERT(sc->sc_parameters->input_size == input_size);
+	KASSERT((int)sc->sc_parameters->input_size == input_size);
 	KASSERT(sc->sc_parameters->x_sensors <= UATP_MAX_X_SENSORS);
 	KASSERT(sc->sc_parameters->x_ratio <= UATP_MAX_X_RATIO);
 	KASSERT(sc->sc_parameters->y_sensors <= UATP_MAX_Y_SENSORS);



CVS commit: src/share/mk

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov  1 17:07:37 UTC 2013

Modified Files:
src/share/mk: sys.mk

Log Message:
ignore all -std=gnu patterns not just 99


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/share/mk/sys.mk

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

Modified files:

Index: src/share/mk/sys.mk
diff -u src/share/mk/sys.mk:1.117 src/share/mk/sys.mk:1.118
--- src/share/mk/sys.mk:1.117	Thu Jul 18 18:06:09 2013
+++ src/share/mk/sys.mk	Fri Nov  1 13:07:37 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: sys.mk,v 1.117 2013/07/18 22:06:09 matt Exp $
+#	$NetBSD: sys.mk,v 1.118 2013/11/01 17:07:37 christos Exp $
 #	@(#)sys.mk	8.2 (Berkeley) 3/21/94
 #
 # This file contains the basic rules for make(1) and is read first
@@ -51,7 +51,7 @@ CTFMFLAGS	?=	-g -t -L VERSION
 #CTFMERGE	?=	ctfmerge
 
 CXX?=		c++
-CXXFLAGS?=	${CFLAGS:N-Wno-traditional:N-Wstrict-prototypes:N-Wmissing-prototypes:N-Wno-pointer-sign:N-ffreestanding:N-std=gnu99:N-Wold-style-definition:N-Wno-format-zero-length}
+CXXFLAGS?=	${CFLAGS:N-Wno-traditional:N-Wstrict-prototypes:N-Wmissing-prototypes:N-Wno-pointer-sign:N-ffreestanding:N-std=gnu[0-9][0-9]:N-Wold-style-definition:N-Wno-format-zero-length}
 
 __ALLSRC1=	${empty(DESTDIR):?${.ALLSRC}:${.ALLSRC:S|^${DESTDIR}|^destdir|}}
 __ALLSRC2=	${empty(MAKEOBJDIR):?${__ALLSRC1}:${__ALLSRC1:S|^${MAKEOBJDIR}|^obj|}}



CVS commit: src/bin/sh

2013-11-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov  1 16:49:02 UTC 2013

Modified Files:
src/bin/sh: exec.c var.c

Log Message:
PR/48312: Dieter Roelands: According to TOG, unset should not return an error
for functions are variables that were not previously set:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/bin/sh/exec.c
cvs rdiff -u -r1.42 -r1.43 src/bin/sh/var.c

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

Modified files:

Index: src/bin/sh/exec.c
diff -u src/bin/sh/exec.c:1.44 src/bin/sh/exec.c:1.45
--- src/bin/sh/exec.c:1.44	Mon Dec 31 09:10:15 2012
+++ src/bin/sh/exec.c	Fri Nov  1 12:49:02 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: exec.c,v 1.44 2012/12/31 14:10:15 dsl Exp $	*/
+/*	$NetBSD: exec.c,v 1.45 2013/11/01 16:49:02 christos Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)exec.c	8.4 (Berkeley) 6/8/95";
 #else
-__RCSID("$NetBSD: exec.c,v 1.44 2012/12/31 14:10:15 dsl Exp $");
+__RCSID("$NetBSD: exec.c,v 1.45 2013/11/01 16:49:02 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -943,9 +943,8 @@ unsetfunc(char *name)
 	cmdp->cmdtype == CMDFUNCTION) {
 		freefunc(cmdp->param.func);
 		delete_cmd_entry();
-		return (0);
 	}
-	return (1);
+	return 0;
 }
 
 /*

Index: src/bin/sh/var.c
diff -u src/bin/sh/var.c:1.42 src/bin/sh/var.c:1.43
--- src/bin/sh/var.c:1.42	Thu Dec 13 14:33:23 2012
+++ src/bin/sh/var.c	Fri Nov  1 12:49:02 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: var.c,v 1.42 2012/12/13 19:33:23 christos Exp $	*/
+/*	$NetBSD: var.c,v 1.43 2013/11/01 16:49:02 christos Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)var.c	8.3 (Berkeley) 5/4/95";
 #else
-__RCSID("$NetBSD: var.c,v 1.42 2012/12/13 19:33:23 christos Exp $");
+__RCSID("$NetBSD: var.c,v 1.43 2013/11/01 16:49:02 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -754,10 +754,10 @@ unsetvar(const char *s, int unexport)
 
 	vp = find_var(s, &vpp, NULL);
 	if (vp == NULL)
-		return 1;
+		return 0;
 
 	if (vp->flags & VREADONLY)
-		return (1);
+		return 1;
 
 	INTOFF;
 	if (unexport) {



CVS commit: src/sys/dev/usb

2013-11-01 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Nov  1 15:33:48 UTC 2013

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

Log Message:
Style.


To generate a diff of this commit:
cvs rdiff -u -r1.213 -r1.214 src/sys/dev/usb/ehci.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/ehci.c
diff -u src/sys/dev/usb/ehci.c:1.213 src/sys/dev/usb/ehci.c:1.214
--- src/sys/dev/usb/ehci.c:1.213	Mon Oct 28 17:40:43 2013
+++ src/sys/dev/usb/ehci.c	Fri Nov  1 15:33:48 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: ehci.c,v 1.213 2013/10/28 17:40:43 matt Exp $ */
+/*	$NetBSD: ehci.c,v 1.214 2013/11/01 15:33:48 skrll Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.213 2013/10/28 17:40:43 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.214 2013/11/01 15:33:48 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -3404,8 +3404,8 @@ ehci_device_request(usbd_xfer_handle xfe
 			goto bad3;
 		end->qtd.qtd_status &= htole32(~EHCI_QTD_IOC);
 		end->nextqtd = stat;
-		end->qtd.qtd_next =
-		end->qtd.qtd_altnext = htole32(stat->physaddr);
+		end->qtd.qtd_next = end->qtd.qtd_altnext =
+		htole32(stat->physaddr);
 		usb_syncmem(&end->dma, end->offs, sizeof(end->qtd),
 		   BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD);
 	} else {



CVS commit: src/sys/fs/tmpfs

2013-11-01 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri Nov  1 15:38:45 UTC 2013

Modified Files:
src/sys/fs/tmpfs: tmpfs_subr.c tmpfs_vnops.c

Log Message:
tmpfs: fix the zero-length symlink target case as NetBSD supports them.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/fs/tmpfs/tmpfs_subr.c
cvs rdiff -u -r1.104 -r1.105 src/sys/fs/tmpfs/tmpfs_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/sys/fs/tmpfs/tmpfs_subr.c
diff -u src/sys/fs/tmpfs/tmpfs_subr.c:1.81 src/sys/fs/tmpfs/tmpfs_subr.c:1.82
--- src/sys/fs/tmpfs/tmpfs_subr.c:1.81	Thu Oct 31 00:59:17 2013
+++ src/sys/fs/tmpfs/tmpfs_subr.c	Fri Nov  1 15:38:45 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: tmpfs_subr.c,v 1.81 2013/10/31 00:59:17 rmind Exp $	*/
+/*	$NetBSD: tmpfs_subr.c,v 1.82 2013/11/01 15:38:45 rmind Exp $	*/
 
 /*
  * Copyright (c) 2005-2011 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: tmpfs_subr.c,v 1.81 2013/10/31 00:59:17 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tmpfs_subr.c,v 1.82 2013/11/01 15:38:45 rmind Exp $");
 
 #include 
 #include 
@@ -167,11 +167,16 @@ tmpfs_alloc_node(tmpfs_mount_t *tmp, enu
 	case VLNK:
 		/* Symbolic link.  Target specifies the file name. */
 		KASSERT(target != NULL);
-
 		nnode->tn_size = strlen(target);
-		KASSERT(nnode->tn_size > 0);
+
+		if (nnode->tn_size == 0) {
+			/* Zero-length targets are supported. */
+			nnode->tn_spec.tn_lnk.tn_link = NULL;
+			break;
+		}
+
 		KASSERT(nnode->tn_size < MAXPATHLEN);
-		nnode->tn_size++; /* include the NIL */
+		nnode->tn_size++; /* include the NUL terminator */
 
 		nnode->tn_spec.tn_lnk.tn_link =
 		tmpfs_strname_alloc(tmp, nnode->tn_size);

Index: src/sys/fs/tmpfs/tmpfs_vnops.c
diff -u src/sys/fs/tmpfs/tmpfs_vnops.c:1.104 src/sys/fs/tmpfs/tmpfs_vnops.c:1.105
--- src/sys/fs/tmpfs/tmpfs_vnops.c:1.104	Thu Oct 31 00:59:17 2013
+++ src/sys/fs/tmpfs/tmpfs_vnops.c	Fri Nov  1 15:38:45 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: tmpfs_vnops.c,v 1.104 2013/10/31 00:59:17 rmind Exp $	*/
+/*	$NetBSD: tmpfs_vnops.c,v 1.105 2013/11/01 15:38:45 rmind Exp $	*/
 
 /*
  * Copyright (c) 2005, 2006, 2007 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.104 2013/10/31 00:59:17 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.105 2013/11/01 15:38:45 rmind Exp $");
 
 #include 
 #include 
@@ -1036,11 +1036,14 @@ tmpfs_readlink(void *v)
 	KASSERT(VOP_ISLOCKED(vp));
 	KASSERT(uio->uio_offset == 0);
 	KASSERT(vp->v_type == VLNK);
-	KASSERT(node->tn_size > 0);
 
-	/* Note: readlink(2) returns the path without NIL. */
-	error = uiomove(node->tn_spec.tn_lnk.tn_link,
-	MIN(node->tn_size - 1, uio->uio_resid), uio);
+	/* Note: readlink(2) returns the path without NUL terminator. */
+	if (node->tn_size > 0) {
+		error = uiomove(node->tn_spec.tn_lnk.tn_link,
+		MIN(node->tn_size - 1, uio->uio_resid), uio);
+	} else {
+		error = 0;
+	}
 	node->tn_status |= TMPFS_NODE_ACCESSED;
 
 	return error;



CVS commit: src/sys/external/bsd/dwc2

2013-11-01 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Nov  1 15:03:39 UTC 2013

Modified Files:
src/sys/external/bsd/dwc2: dwc2.c dwc2.h

Log Message:
Don't always define DWC2_DEBUG


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/external/bsd/dwc2/dwc2.c
cvs rdiff -u -r1.1 -r1.2 src/sys/external/bsd/dwc2/dwc2.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/external/bsd/dwc2/dwc2.c
diff -u src/sys/external/bsd/dwc2/dwc2.c:1.15 src/sys/external/bsd/dwc2/dwc2.c:1.16
--- src/sys/external/bsd/dwc2/dwc2.c:1.15	Tue Oct 22 09:42:20 2013
+++ src/sys/external/bsd/dwc2/dwc2.c	Fri Nov  1 15:03:39 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: dwc2.c,v 1.15 2013/10/22 09:42:20 skrll Exp $	*/
+/*	$NetBSD: dwc2.c,v 1.16 2013/11/01 15:03:39 skrll Exp $	*/
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.15 2013/10/22 09:42:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.16 2013/11/01 15:03:39 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -66,7 +66,6 @@ __KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.1
 #endif
 #define	DWC2_EVCNT_INCR(a)	DWC2_EVCNT_ADD((a), 1)
 
-#define DWC2_DEBUG
 #ifdef DWC2_DEBUG
 #define	DPRINTFN(n,fmt,...) do {			\
 	if (dwc2debug >= (n)) {			\

Index: src/sys/external/bsd/dwc2/dwc2.h
diff -u src/sys/external/bsd/dwc2/dwc2.h:1.1 src/sys/external/bsd/dwc2/dwc2.h:1.2
--- src/sys/external/bsd/dwc2/dwc2.h:1.1	Thu Sep  5 20:25:27 2013
+++ src/sys/external/bsd/dwc2/dwc2.h	Fri Nov  1 15:03:39 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: dwc2.h,v 1.1 2013/09/05 20:25:27 skrll Exp $	*/
+/*	$NetBSD: dwc2.h,v 1.2 2013/11/01 15:03:39 skrll Exp $	*/
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -61,7 +61,6 @@ typedef int irqreturn_t;
 #define DWC2_WRITE_4(hsotg, reg, data)  \
 bus_space_write_4((hsotg)->hsotg_sc->sc_iot, (hsotg)->hsotg_sc->sc_ioh, (reg), (data));
 
-#define DWC2_DEBUG
 #ifdef DWC2_DEBUG
 extern int dwc2debug;
 #define WARN_ON(x)	KASSERT(!(x))



CVS commit: src/sys/dev/usb

2013-11-01 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Nov  1 14:32:54 UTC 2013

Modified Files:
src/sys/dev/usb: usb.h

Log Message:
DOTG is dead. Long live DWC2.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/dev/usb/usb.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/usb/usb.h
diff -u src/sys/dev/usb/usb.h:1.105 src/sys/dev/usb/usb.h:1.106
--- src/sys/dev/usb/usb.h:1.105	Fri Sep 13 23:30:47 2013
+++ src/sys/dev/usb/usb.h	Fri Nov  1 14:32:54 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: usb.h,v 1.105 2013/09/13 23:30:47 jakllsch Exp $	*/
+/*	$NetBSD: usb.h,v 1.106 2013/11/01 14:32:54 skrll Exp $	*/
 /*	$FreeBSD: src/sys/dev/usb/usb.h,v 1.14 1999/11/17 22:33:46 n_hibma Exp $	*/
 
 /*
@@ -61,7 +61,7 @@ MALLOC_DECLARE(M_USBHC);
 #define AUVITEK_I2C_DEBUG 1
 #define AXE_DEBUG 1
 #define CUE_DEBUG 1
-#define DWC_OTG_DEBUG 1
+#define DWC2_DEBUG 1
 #define EHCI_DEBUG 1
 #define EZLOAD_DEBUG 1
 #define KUE_DEBUG 1



CVS commit: src/sys/dev/usb

2013-11-01 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Nov  1 14:24:03 UTC 2013

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

Log Message:
Clean up (mostly remove unneeded) #includes


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/usb/if_smsc.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/if_smsc.c
diff -u src/sys/dev/usb/if_smsc.c:1.11 src/sys/dev/usb/if_smsc.c:1.12
--- src/sys/dev/usb/if_smsc.c:1.11	Sun Sep 29 07:25:53 2013
+++ src/sys/dev/usb/if_smsc.c	Fri Nov  1 14:24:03 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_smsc.c,v 1.11 2013/09/29 07:25:53 skrll Exp $	*/
+/*	$NetBSD: if_smsc.c,v 1.12 2013/11/01 14:24:03 skrll Exp $	*/
 
 /*	$OpenBSD: if_smsc.c,v 1.4 2012/09/27 12:38:11 jsg Exp $	*/
 /* $FreeBSD: src/sys/dev/usb/net/if_smsc.c,v 1.1 2012/08/15 04:03:55 gonzo Exp $ */
@@ -60,8 +60,9 @@
  * implemented.
  */
 
-#include "vlan.h"
-#include "opt_usb.h"
+#ifdef _KERNEL_OPT
+#include "opt_inet.h"
+#endif
 
 #include 
 #include 
@@ -86,10 +87,7 @@
 
 #ifdef INET
 #include 
-#include 
-#include 
-#include 
-#include 
+#include 
 #endif
 
 #include 



CVS commit: src/sys/arch/arm/broadcom

2013-11-01 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Nov  1 12:23:12 UTC 2013

Modified Files:
src/sys/arch/arm/broadcom: files.bcm2835

Log Message:
PR/48342. Add aurateconv as a dependency for vcaudio.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/broadcom/files.bcm2835

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/arm/broadcom/files.bcm2835
diff -u src/sys/arch/arm/broadcom/files.bcm2835:1.19 src/sys/arch/arm/broadcom/files.bcm2835:1.20
--- src/sys/arch/arm/broadcom/files.bcm2835:1.19	Tue Oct 15 09:07:48 2013
+++ src/sys/arch/arm/broadcom/files.bcm2835	Fri Nov  1 12:23:12 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: files.bcm2835,v 1.19 2013/10/15 09:07:48 skrll Exp $
+#	$NetBSD: files.bcm2835,v 1.20 2013/11/01 12:23:12 skrll Exp $
 #
 # Configuration info for Broadcom BCM2835 ARM Peripherals
 #
@@ -80,6 +80,6 @@ file	arch/arm/broadcom/bcm2835_genfb.c	b
 include "external/bsd/vchiq/conf/files.vchiq"
 
 # VC audio
-device	vcaudio: audiobus, auconv, mulaw
+device	vcaudio: audiobus, auconv, mulaw, aurateconv
 attach	vcaudio at vchiqbus
 file	arch/arm/broadcom/bcm2835_vcaudio.c	vcaudio



CVS commit: src/etc

2013-11-01 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Fri Nov  1 11:09:05 UTC 2013

Modified Files:
src/etc: Makefile.params

Log Message:
HOST_SH is defined in bsd.sys.mk, so we need to include that
as well as bsd.own.mk.  Revert previous use of ${HOST_SH:Ush}.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/etc/Makefile.params

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

Modified files:

Index: src/etc/Makefile.params
diff -u src/etc/Makefile.params:1.6 src/etc/Makefile.params:1.7
--- src/etc/Makefile.params:1.6	Fri Nov  1 10:00:51 2013
+++ src/etc/Makefile.params	Fri Nov  1 11:09:05 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.params,v 1.6 2013/11/01 10:00:51 martin Exp $
+#	$NetBSD: Makefile.params,v 1.7 2013/11/01 11:09:05 apb Exp $
 #
 # Makefile fragment for printing build parameters.
 #
@@ -35,7 +35,8 @@
 #		@${PRINT_PARAMS}
 #
 
-.include 
+.include 	# for some variables
+.include 	# for more variables
 
 RELEASEVARS=	BSDOBJDIR BSDSRCDIR BUILDID \
 		DESTDIR DISTRIBVER EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \
@@ -68,7 +69,7 @@ RELEASEVARS=	BSDOBJDIR BSDSRCDIR BUILDID
 # Duplicate the DISTRIBVER setting from src/etc/Makefile.
 #
 .ifndef DISTRIBVER
-DISTRIBVER!=	${HOST_SH:Ush} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
+DISTRIBVER!=	${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
 .endif
 
 #



CVS commit: src/etc

2013-11-01 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Nov  1 10:00:52 UTC 2013

Modified Files:
src/etc: Makefile.params

Log Message:
If HOST_SH is not defined, use sh to parse osrelease.sh


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/etc/Makefile.params

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

Modified files:

Index: src/etc/Makefile.params
diff -u src/etc/Makefile.params:1.5 src/etc/Makefile.params:1.6
--- src/etc/Makefile.params:1.5	Fri Nov  1 06:22:24 2013
+++ src/etc/Makefile.params	Fri Nov  1 10:00:51 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.params,v 1.5 2013/11/01 06:22:24 apb Exp $
+#	$NetBSD: Makefile.params,v 1.6 2013/11/01 10:00:51 martin Exp $
 #
 # Makefile fragment for printing build parameters.
 #
@@ -68,7 +68,7 @@ RELEASEVARS=	BSDOBJDIR BSDSRCDIR BUILDID
 # Duplicate the DISTRIBVER setting from src/etc/Makefile.
 #
 .ifndef DISTRIBVER
-DISTRIBVER!=	${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
+DISTRIBVER!=	${HOST_SH:Ush} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
 .endif
 
 #



CVS commit: src/external/bsd/iscsi/dist/src/lib

2013-11-01 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Nov  1 07:53:34 UTC 2013

Modified Files:
src/external/bsd/iscsi/dist/src/lib: initiator.c

Log Message:
rfc3720 Appendix D. SendTargets Operation requires that requesting
information for all relevant targets is done with the value 'All'
(upper case A) and some implementations require it.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/iscsi/dist/src/lib/initiator.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/iscsi/dist/src/lib/initiator.c
diff -u src/external/bsd/iscsi/dist/src/lib/initiator.c:1.8 src/external/bsd/iscsi/dist/src/lib/initiator.c:1.9
--- src/external/bsd/iscsi/dist/src/lib/initiator.c:1.8	Thu Mar 15 04:06:54 2012
+++ src/external/bsd/iscsi/dist/src/lib/initiator.c	Fri Nov  1 07:53:34 2013
@@ -646,7 +646,7 @@ iscsi_initiator_get_targets(int target, 
 text_len = 0;
 text[0] = 0x0;
 
-PARAM_TEXT_ADD(sess->params, "SendTargets", "all", text, &text_len,
+PARAM_TEXT_ADD(sess->params, "SendTargets", "All", text, &text_len,
 			DISCOVERY_PHASE_TEXT_LEN, 1, DP_ERROR);
 PARAM_TEXT_PARSE(sess->params, &sess->sess_params.cred, text,
 			text_len, NULL, NULL, DISCOVERY_PHASE_TEXT_LEN, 1,
@@ -749,7 +749,7 @@ discovery_phase(int target, strv_t *svp)
 	/* Full Feature Phase Negotiation (for SendTargets) */
 	text_len = 0;
 	text[0] = 0x0;
-	PARAM_TEXT_ADD(sess->params, "SendTargets", "all", text, &text_len,
+	PARAM_TEXT_ADD(sess->params, "SendTargets", "All", text, &text_len,
 		DISCOVERY_PHASE_TEXT_LEN, 1, DP_ERROR);
 	PARAM_TEXT_PARSE(sess->params, &sess->sess_params.cred, text,
 		text_len, NULL, NULL, DISCOVERY_PHASE_TEXT_LEN, 1, DP_ERROR);



CVS commit: src/usr.bin/pkill

2013-11-01 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Fri Nov  1 07:49:00 UTC 2013

Modified Files:
src/usr.bin/pkill: pkill.1

Log Message:
Document that patterns are specified using extended regular expressions.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/pkill/pkill.1

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/pkill/pkill.1
diff -u src/usr.bin/pkill/pkill.1:1.25 src/usr.bin/pkill/pkill.1:1.26
--- src/usr.bin/pkill/pkill.1:1.25	Mon Jun  3 21:59:41 2013
+++ src/usr.bin/pkill/pkill.1	Fri Nov  1 07:49:00 2013
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pkill.1,v 1.25 2013/06/03 21:59:41 wiz Exp $
+.\"	$NetBSD: pkill.1,v 1.26 2013/11/01 07:49:00 apb Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 3, 2013
+.Dd November 1, 2013
 .Dt PKILL 1
 .Os
 .Sh NAME
@@ -77,6 +77,12 @@ The
 command searches the process table on the running system and sets the
 priority of all processes that match the criteria given on the command line.
 .Pp
+By default, matching applies to any substring of the command name
+.Pq Va argv[0] ,
+but options may be used to change this.
+Patterns are specified using extended regular expressions (see
+.Xr re_format 7 ) .
+.Pp
 The following options are available for
 .Nm pkill
 and