CVS commit: src/external/gpl3/gdb/lib/libgdb
Module Name:src Committed By: christos Date: Tue Feb 23 22:32:48 UTC 2016 Modified Files: src/external/gpl3/gdb/lib/libgdb: Makefile Log Message: Add one more clean file To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb/lib/libgdb/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/gdb/lib/libgdb/Makefile diff -u src/external/gpl3/gdb/lib/libgdb/Makefile:1.8 src/external/gpl3/gdb/lib/libgdb/Makefile:1.9 --- src/external/gpl3/gdb/lib/libgdb/Makefile:1.8 Sun Aug 16 05:51:58 2015 +++ src/external/gpl3/gdb/lib/libgdb/Makefile Tue Feb 23 17:32:48 2016 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2015/08/16 09:51:58 christos Exp $ +# $NetBSD: Makefile,v 1.9 2016/02/23 22:32:48 christos Exp $ .include @@ -58,6 +58,7 @@ COPTS.dwarf2-frame.c+=-O1 CLEANDIRFILES+= \ ada-exp.c ada-lex.c \ c-exp.c \ + d-exp.c \ cp-name-parser.c \ f-exp.c \ go-exp.c \
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: christos Date: Tue Feb 23 22:32:07 UTC 2016 Removed Files: src/external/gpl3/gdb/dist/gdb: d-exp.c Log Message: Remove d-exp.c (generated file) To generate a diff of this commit: cvs rdiff -u -r1.3 -r0 src/external/gpl3/gdb/dist/gdb/d-exp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/sh
Module Name:src Committed By: christos Date: Tue Feb 23 18:30:16 UTC 2016 Modified Files: src/bin/sh: options.h Log Message: name the long option after the ksh name (trackall) to indicate the intended posix behavior not the bash one. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/bin/sh/options.h 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/options.h diff -u src/bin/sh/options.h:1.23 src/bin/sh/options.h:1.24 --- src/bin/sh/options.h:1.23 Tue Feb 23 11:22:43 2016 +++ src/bin/sh/options.h Tue Feb 23 13:30:16 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: options.h,v 1.23 2016/02/23 16:22:43 christos Exp $ */ +/* $NetBSD: options.h,v 1.24 2016/02/23 18:30:16 christos Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -103,7 +103,7 @@ DEF_OPT( "fork", 'F' ) /* use fork(2) in #define usefork optlist[19].val DEF_OPT( "nopriv", 'p' ) /* preserve privs even if set{u,g}id */ #define pflag optlist[20].val -DEF_OPT( "hashall", 'h' ) /* [U] locate cmds in funcs when defined */ +DEF_OPT( "trackall", 'h' ) /* [U] locate cmds in funcs when defined */ #define hflag optlist[21].val #ifdef DEBUG DEF_OPT( "debug", 0 ) /* enable debug prints */
CVS commit: src/share/mk
Module Name:src Committed By: macallan Date: Tue Feb 23 18:03:31 UTC 2016 Modified Files: src/share/mk: bsd.own.mk Log Message: switch sparc to new binutils To generate a diff of this commit: cvs rdiff -u -r1.901 -r1.902 src/share/mk/bsd.own.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/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.901 src/share/mk/bsd.own.mk:1.902 --- src/share/mk/bsd.own.mk:1.901 Fri Feb 19 18:47:24 2016 +++ src/share/mk/bsd.own.mk Tue Feb 23 18:03:31 2016 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.901 2016/02/19 18:47:24 macallan Exp $ +# $NetBSD: bsd.own.mk,v 1.902 2016/02/23 18:03:31 macallan Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -142,6 +142,7 @@ EXTERNAL_GDB_SUBDIR= gdb ${MACHINE} == "evbarm" || \ ${MACHINE} == "i386" || \ ${MACHINE} == "hppa" || \ +${MACHINE} == "sparc" || \ ${MACHINE_ARCH} == "powerpc" HAVE_BINUTILS?= 226 .else
CVS commit: src/bin/sh
Module Name:src Committed By: christos Date: Tue Feb 23 16:22:43 UTC 2016 Modified Files: src/bin/sh: options.h Log Message: update that -n is implemented and add -h using the long name that bash uses. (from kre, long name from me) To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/bin/sh/options.h 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/options.h diff -u src/bin/sh/options.h:1.22 src/bin/sh/options.h:1.23 --- src/bin/sh/options.h:1.22 Tue May 26 17:35:15 2015 +++ src/bin/sh/options.h Tue Feb 23 11:22:43 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: options.h,v 1.22 2015/05/26 21:35:15 christos Exp $ */ +/* $NetBSD: options.h,v 1.23 2016/02/23 16:22:43 christos Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -71,7 +71,7 @@ DEF_OPT( "interactive",'i' ) /* interact #define iflag optlist[3].val DEF_OPT( "monitor", 'm' ) /* job control */ #define mflag optlist[4].val -DEF_OPT( "noexec", 'n' ) /* [U] do not exec commands */ +DEF_OPT( "noexec", 'n' ) /* do not exec commands */ #define nflag optlist[5].val DEF_OPT( "stdin", 's' ) /* read from stdin */ #define sflag optlist[6].val @@ -102,10 +102,12 @@ DEF_OPT( "tabcomplete", 0 ) /* cau DEF_OPT( "fork", 'F' ) /* use fork(2) instead of vfork(2) */ #define usefork optlist[19].val DEF_OPT( "nopriv", 'p' ) /* preserve privs even if set{u,g}id */ -#define pflag optlist[20].val +#define pflag optlist[20].val +DEF_OPT( "hashall", 'h' ) /* [U] locate cmds in funcs when defined */ +#define hflag optlist[21].val #ifdef DEBUG DEF_OPT( "debug", 0 ) /* enable debug prints */ -#define debug optlist[21].val +#define debug optlist[22].val #endif #ifdef DEFINE_OPTIONS
CVS commit: src/distrib/sets/lists/tests
Module Name:src Committed By: christos Date: Tue Feb 23 16:21:55 UTC 2016 Modified Files: src/distrib/sets/lists/tests: mi Log Message: add t_option To generate a diff of this commit: cvs rdiff -u -r1.662 -r1.663 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.662 src/distrib/sets/lists/tests/mi:1.663 --- src/distrib/sets/lists/tests/mi:1.662 Mon Feb 22 14:53:16 2016 +++ src/distrib/sets/lists/tests/mi Tue Feb 23 11:21:55 2016 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.662 2016/02/22 19:53:16 christos Exp $ +# $NetBSD: mi,v 1.663 2016/02/23 16:21:55 christos Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -1260,6 +1260,7 @@ ./usr/tests/bin/sh/t_expand tests-bin-tests compattestfile,atf ./usr/tests/bin/sh/t_fsplit tests-bin-tests compattestfile,atf ./usr/tests/bin/sh/t_here tests-bin-tests compattestfile,atf +./usr/tests/bin/sh/t_option tests-bin-tests compattestfile,atf ./usr/tests/bin/sh/t_redir tests-bin-tests compattestfile,atf ./usr/tests/bin/sh/t_set_e tests-bin-tests compattestfile,atf ./usr/tests/bin/sh/t_ulimit tests-bin-tests compattestfile,atf
CVS commit: src/distrib/sets/lists/debug
Module Name:src Committed By: wiz Date: Tue Feb 23 15:22:14 UTC 2016 Modified Files: src/distrib/sets/lists/debug: md.amd64 mi Log Message: Add libc++ to two debug sets. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/distrib/sets/lists/debug/md.amd64 cvs rdiff -u -r1.144 -r1.145 src/distrib/sets/lists/debug/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/debug/md.amd64 diff -u src/distrib/sets/lists/debug/md.amd64:1.88 src/distrib/sets/lists/debug/md.amd64:1.89 --- src/distrib/sets/lists/debug/md.amd64:1.88 Tue Sep 29 08:01:29 2015 +++ src/distrib/sets/lists/debug/md.amd64 Tue Feb 23 15:22:14 2016 @@ -1,5 +1,6 @@ -# $NetBSD: md.amd64,v 1.88 2015/09/29 08:01:29 hannken Exp $ +# $NetBSD: md.amd64,v 1.89 2016/02/23 15:22:14 wiz Exp $ ./usr/lib/i386/libi386_g.a comp-c-debuglib debuglib,compat +./usr/lib/i386/libc++_g.a comp-c-debuglib debuglib,compat,libcxx ./usr/lib/libx86_64_g.acomp-c-debuglib debuglib ./usr/libdata/debug/libexec/ld.elf_so-i386.debug comp-sys-debug debug,compat ./usr/libdata/debug/usr/bin/fdformat.debug comp-util-debug debug Index: src/distrib/sets/lists/debug/mi diff -u src/distrib/sets/lists/debug/mi:1.144 src/distrib/sets/lists/debug/mi:1.145 --- src/distrib/sets/lists/debug/mi:1.144 Sun Feb 21 04:16:16 2016 +++ src/distrib/sets/lists/debug/mi Tue Feb 23 15:22:14 2016 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.144 2016/02/21 04:16:16 christos Exp $ +# $NetBSD: mi,v 1.145 2016/02/23 15:22:14 wiz Exp $ ./etc/mtree/set.debug comp-sys-root ./usr/lib comp-sys-usr compatdir ./usr/lib/i18n/libBIG5_g.a comp-c-debuglib debuglib,compatfile @@ -38,6 +38,7 @@ ./usr/lib/libbsdmalloc_g.a comp-c-debuglib debuglib,compatfile ./usr/lib/libbz2_g.acomp-c-debuglib debuglib,compatfile ./usr/lib/libc_g.acomp-c-debuglib debuglib,compatfile +./usr/lib/libc++_g.acomp-c-debuglib debuglib,compatfile,libcxx ./usr/lib/libcom_err_g.a comp-c-debuglib debuglib,kerberos,compatfile ./usr/lib/libcompat_g.acomp-c-debuglib debuglib,compatfile ./usr/lib/libcrypt_g.acomp-c-debuglib debuglib,compatfile
CVS commit: src/bin/sh
Module Name:src Committed By: christos Date: Tue Feb 23 14:51:25 UTC 2016 Modified Files: src/bin/sh: parser.c Log Message: Fix quoting inside heredoc's. (from kre) To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/bin/sh/parser.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/parser.c diff -u src/bin/sh/parser.c:1.98 src/bin/sh/parser.c:1.99 --- src/bin/sh/parser.c:1.98 Mon Feb 22 15:02:00 2016 +++ src/bin/sh/parser.c Tue Feb 23 09:51:25 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: parser.c,v 1.98 2016/02/22 20:02:00 christos Exp $ */ +/* $NetBSD: parser.c,v 1.99 2016/02/23 14:51:25 christos Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)parser.c 8.7 (Berkeley) 5/16/95"; #else -__RCSID("$NetBSD: parser.c,v 1.98 2016/02/22 20:02:00 christos Exp $"); +__RCSID("$NetBSD: parser.c,v 1.99 2016/02/23 14:51:25 christos Exp $"); #endif #endif /* not lint */ @@ -1094,6 +1094,7 @@ readtoken1(int firstc, char const *syn, startlinno = plinno; varnest = 0; + quoted = 0; if (syntax == DQSYNTAX) { SETDBLQUOTE(); } @@ -1101,7 +1102,6 @@ readtoken1(int firstc, char const *syn, bqlist = NULL; arinest = 0; parenlevel = 0; - quoted = 0; STARTSTACKSTR(out); loop: { /* for each line, until end of word */
CVS commit: src/tests/bin/sh
Module Name:src Committed By: christos Date: Tue Feb 23 14:21:37 UTC 2016 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Add new redirection test, from kre To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/bin/sh/t_redir.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/bin/sh/t_redir.sh diff -u src/tests/bin/sh/t_redir.sh:1.1 src/tests/bin/sh/t_redir.sh:1.2 --- src/tests/bin/sh/t_redir.sh:1.1 Mon Feb 22 14:52:03 2016 +++ src/tests/bin/sh/t_redir.sh Tue Feb 23 09:21:37 2016 @@ -1,4 +1,4 @@ -# $NetBSD: t_redir.sh,v 1.1 2016/02/22 19:52:03 christos Exp $ +# $NetBSD: t_redir.sh,v 1.2 2016/02/23 14:21:37 christos Exp $ # # Copyright (c) 2016 The NetBSD Foundation, Inc. # All rights reserved. @@ -24,6 +24,8 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # +# the implementation of "sh" to test +: ${TEST_SH:="/bin/sh"} atf_test_case redir_in_case redir_in_case_head() { @@ -31,10 +33,25 @@ redir_in_case_head() { "in case statements. (PR bin/48631)" } redir_in_case_body() { - atf_check -s exit:0 -o ignore -e ignore \ - -x '/bin/sh -c "case x in (whatever) >foo;; esac"' + atf_check -s exit:0 -o empty -e empty \ + ${TEST_SH} -c 'case x in (whatever) >foo;; esac' +} + +atf_test_case redir_here_doc +redir_here_doc_head() { + atf_set "descr" "Tests that sh(1) correctly processes 'here' doc " \ + "input redirections" +} +redir_here_doc_body() { + atf_check -s exit:0 -o match:'hello\\n' -e empty \ + "${TEST_SH}" -ec '{ + echo "cat <
CVS commit: src/tools
Module Name:src Committed By: skrll Date: Tue Feb 23 11:43:57 UTC 2016 Modified Files: src/tools: headerlist Log Message: Sort using mkheaderlist.sh:1.3 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/tools/headerlist Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tools/headerlist diff -u src/tools/headerlist:1.13 src/tools/headerlist:1.14 --- src/tools/headerlist:1.13 Fri Sep 19 17:30:13 2014 +++ src/tools/headerlist Tue Feb 23 11:43:57 2016 @@ -1,7 +1,7 @@ -# $NetBSD: headerlist,v 1.13 2014/09/19 17:30:13 matt Exp $ +# $NetBSD: headerlist,v 1.14 2016/02/23 11:43:57 skrll Exp $ # # do not edit; this file was automatically generated by: -# NetBSD: mkheaderlist.sh,v 1.1 2007/08/07 12:38:23 yamt Exp +# NetBSD: mkheaderlist.sh,v 1.3 2016/02/23 11:43:04 skrll Exp ./aarch64/include/disklabel.h ./aarch64/include/elf_machdep.h @@ -25,7 +25,6 @@ ./arm/include/elf_machdep.h ./atari/include/disklabel.h ./atari/include/elf_machdep.h -./mips/include/elf_machdep.h ./bebox/include/disklabel.h ./bebox/include/elf_machdep.h ./cats/include/disklabel.h @@ -34,10 +33,10 @@ ./cesfic/include/elf_machdep.h ./cobalt/include/disklabel.h ./cobalt/include/elf_machdep.h -./emips/include/disklabel.h -./emips/include/elf_machdep.h ./dreamcast/include/disklabel.h ./dreamcast/include/elf_machdep.h +./emips/include/disklabel.h +./emips/include/elf_machdep.h ./epoc32/include/disklabel.h ./epoc32/include/elf_machdep.h ./evbarm/include/disklabel.h @@ -57,8 +56,8 @@ ./hp300/include/disklabel.h ./hp300/include/elf_machdep.h ./hpc/stand/hpcboot/arm/elf_machdep.h -./hpc/stand/hpcboot/sh3/elf_machdep.h ./hpc/stand/hpcboot/mips/elf_machdep.h +./hpc/stand/hpcboot/sh3/elf_machdep.h ./hpc/stand/include/machine/disklabel.h ./hpc/stand/include/machine/elf_machdep.h ./hpcarm/include/disklabel.h @@ -89,6 +88,7 @@ ./mac68k/include/elf_machdep.h ./macppc/include/disklabel.h ./macppc/include/elf_machdep.h +./mips/include/elf_machdep.h ./mipsco/include/disklabel.h ./mipsco/include/elf_machdep.h ./mmeye/include/disklabel.h
CVS commit: src/tools
Module Name:src Committed By: skrll Date: Tue Feb 23 11:43:04 UTC 2016 Modified Files: src/tools: mkheaderlist.sh Log Message: Sort the output To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tools/mkheaderlist.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tools/mkheaderlist.sh diff -u src/tools/mkheaderlist.sh:1.2 src/tools/mkheaderlist.sh:1.3 --- src/tools/mkheaderlist.sh:1.2 Sat Feb 5 13:30:26 2011 +++ src/tools/mkheaderlist.sh Tue Feb 23 11:43:04 2016 @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: mkheaderlist.sh,v 1.2 2011/02/05 13:30:26 yamt Exp $ +# $NetBSD: mkheaderlist.sh,v 1.3 2016/02/23 11:43:04 skrll Exp $ # scan the source tree and create the headerlist file which is used by # Makefile.nbincludes. @@ -11,9 +11,9 @@ mklist() echo "# \$NetBSD\$" echo "#" echo '# do not edit; this file was automatically generated by:' - echo '# $NetBSD: mkheaderlist.sh,v 1.2 2011/02/05 13:30:26 yamt Exp $' | sed -e 's/\$//g' + echo '# $NetBSD: mkheaderlist.sh,v 1.3 2016/02/23 11:43:04 skrll Exp $' | sed -e 's/\$//g' echo - cd ../sys/arch && find . -name disklabel.h -o -name elf_machdep.h + cd ../sys/arch && find . -name disklabel.h -o -name elf_machdep.h | sort } LIST=headerlist