CVS commit: src/etc
Module Name:src Committed By: kre Date: Wed Jan 5 01:46:28 UTC 2022 Modified Files: src/etc: Makefile Log Message: Install the missing sh syntax element in the MKDEBUGKERNEL = no test, so that "continue" is a command as intended, and not an invalid last arg to the '[' command (the last arg is required to be ']'). Sometime the proverbial someone should go through this and remove all the obsolete test -o and -a operators, and probably do something with test's usage of ! as well. Not today, or not by me anyway. To generate a diff of this commit: cvs rdiff -u -r1.457 -r1.458 src/etc/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/etc
Module Name:src Committed By: kre Date: Wed Jan 5 01:46:28 UTC 2022 Modified Files: src/etc: Makefile Log Message: Install the missing sh syntax element in the MKDEBUGKERNEL = no test, so that "continue" is a command as intended, and not an invalid last arg to the '[' command (the last arg is required to be ']'). Sometime the proverbial someone should go through this and remove all the obsolete test -o and -a operators, and probably do something with test's usage of ! as well. Not today, or not by me anyway. To generate a diff of this commit: cvs rdiff -u -r1.457 -r1.458 src/etc/Makefile 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 diff -u src/etc/Makefile:1.457 src/etc/Makefile:1.458 --- src/etc/Makefile:1.457 Sun Jan 2 20:09:03 2022 +++ src/etc/Makefile Wed Jan 5 01:46:28 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.457 2022/01/02 20:09:03 christos Exp $ +# $NetBSD: Makefile,v 1.458 2022/01/05 01:46:28 kre Exp $ # from: @(#)Makefile 8.7 (Berkeley) 5/25/95 # Environment variables without default values: @@ -626,7 +626,7 @@ kernset-${configfile}: .PHONY build_kern [ -z "$${newest}" -o $${ks} \ -nt "$${newest}" ] && newest=$${ks}; \ [ ${MKDEBUGKERNEL} = "no" -o \ - ! -f $${ks}.gdb ] continue; \ + ! -f $${ks}.gdb ] && continue; \ kernels="$${kernels} $${ks}.gdb"; \ done; \ done; \
CVS commit: src/lib/libc/rpc
Module Name:src Committed By: andvar Date: Tue Jan 4 22:10:09 UTC 2022 Modified Files: src/lib/libc/rpc: getnetpath.c Log Message: s/compnent/component/ To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libc/rpc/getnetpath.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/rpc
Module Name:src Committed By: andvar Date: Tue Jan 4 22:10:09 UTC 2022 Modified Files: src/lib/libc/rpc: getnetpath.c Log Message: s/compnent/component/ To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libc/rpc/getnetpath.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/libc/rpc/getnetpath.c diff -u src/lib/libc/rpc/getnetpath.c:1.17 src/lib/libc/rpc/getnetpath.c:1.18 --- src/lib/libc/rpc/getnetpath.c:1.17 Mon Mar 11 20:19:29 2013 +++ src/lib/libc/rpc/getnetpath.c Tue Jan 4 22:10:08 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: getnetpath.c,v 1.17 2013/03/11 20:19:29 tron Exp $ */ +/* $NetBSD: getnetpath.c,v 1.18 2022/01/04 22:10:08 andvar Exp $ */ /* * Copyright (c) 2010, Oracle America, Inc. @@ -36,7 +36,7 @@ #if 0 staticchar sccsid[] = "@(#)getnetpath.c 1.11 91/12/19 SMI"; #else -__RCSID("$NetBSD: getnetpath.c,v 1.17 2013/03/11 20:19:29 tron Exp $"); +__RCSID("$NetBSD: getnetpath.c,v 1.18 2022/01/04 22:10:08 andvar Exp $"); #endif #endif @@ -140,7 +140,7 @@ setnetpath(void) * NULL and sets errno in case of an error (e.g., setnetpath was not called * previously). * getnetpath() silently ignores invalid NETPATH components. A NETPATH - * compnent is invalid if there is no corresponding entry in the netconfig + * component is invalid if there is no corresponding entry in the netconfig * database. * If the NETPATH variable is unset, getnetpath() behaves as if NETPATH * were set to the sequence of default or visible networks in the netconfig
CVS commit: src/lib/libc/gen
Module Name:src Committed By: uwe Date: Tue Jan 4 20:01:52 UTC 2022 Modified Files: src/lib/libc/gen: exec.3 Log Message: exec(3): execlpe() first argument should be named "file" "path" arguments are names used as-is, "file" arguments to "p" functions are used to construct the pathname using $PATH if necessary. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/lib/libc/gen/exec.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/exec.3 diff -u src/lib/libc/gen/exec.3:1.31 src/lib/libc/gen/exec.3:1.32 --- src/lib/libc/gen/exec.3:1.31 Sun Sep 1 19:36:09 2019 +++ src/lib/libc/gen/exec.3 Tue Jan 4 20:01:52 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: exec.3,v 1.31 2019/09/01 19:36:09 wiz Exp $ +.\" $NetBSD: exec.3,v 1.32 2022/01/04 20:01:52 uwe Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -52,7 +52,7 @@ .Ft int .Fn execlp "const char *file" "const char *arg" ... .Ft int -.Fn execlpe "const char *path" "const char *arg" ... "char *const envp[]" +.Fn execlpe "const char *file" "const char *arg" ... "char *const envp[]" .Ft int .Fn execle "const char *path" "const char *arg" ... "char *const envp[]" .Ft int
CVS commit: src/lib/libc/gen
Module Name:src Committed By: uwe Date: Tue Jan 4 20:01:52 UTC 2022 Modified Files: src/lib/libc/gen: exec.3 Log Message: exec(3): execlpe() first argument should be named "file" "path" arguments are names used as-is, "file" arguments to "p" functions are used to construct the pathname using $PATH if necessary. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/lib/libc/gen/exec.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Tue Jan 4 19:52:02 UTC 2022 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: use a function "runit" to echo and execute avoiding set -x. To generate a diff of this commit: cvs rdiff -u -r1.291 -r1.292 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/Makefile.kern.inc diff -u src/sys/conf/Makefile.kern.inc:1.291 src/sys/conf/Makefile.kern.inc:1.292 --- src/sys/conf/Makefile.kern.inc:1.291 Thu Dec 30 13:53:35 2021 +++ src/sys/conf/Makefile.kern.inc Tue Jan 4 14:52:02 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.291 2021/12/30 18:53:35 christos Exp $ +# $NetBSD: Makefile.kern.inc,v 1.292 2022/01/04 19:52:02 christos Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -245,14 +245,15 @@ LINKFLAGS_DEBUG?= -X KERNEL_CONFIG?= ${KERNEL_BUILD:T} SYSTEM_LD_TAIL?=@${TOOL_SED} '/const char sccs/!d;s/.*@(.)//;s/" "//;s/\\.*//' vers.c && \ - ${SIZE} $@ && ${SYSTEM_CTFMERGE} && chmod 755 $@ + ${SIZE} $@ && ${SYSTEM_CTFMERGE} && chmod 755 $@ && \ + runit() { echo $$@; $$@; } -SYSTEM_LD_TAIL_DEBUG?=&& set -x &&\ - mv -f $@ $@.gdb && \ - ${OBJCOPY} --only-keep-debug $@.gdb $@-${KERNEL_CONFIG}.debug && \ - ${OBJCOPY} --strip-debug -p -R .gnu_debuglink \ +SYSTEM_LD_TAIL_DEBUG?=&& \ + runit mv -f $@ $@.gdb && \ + runit ${OBJCOPY} --only-keep-debug $@.gdb $@-${KERNEL_CONFIG}.debug && \ + runit ${OBJCOPY} --strip-debug -p -R .gnu_debuglink \ --add-gnu-debuglink=$@-${KERNEL_CONFIG}.debug $@.gdb $@ && \ - chmod 755 $@ $@.gdb $@-${KERNEL_CONFIG}.debug + runit chmod 755 $@ $@.gdb $@-${KERNEL_CONFIG}.debug LINKFLAGS_NORMAL?= -S STRIPFLAGS?= -g @@ -285,9 +286,9 @@ SYSTEM_LD_HEAD+= ${SYSTEM_LD_HEAD_EXTRA} SYSTEM_LD_TAIL_STAGE1= ${SYSTEM_LD_TAIL} SYSTEM_LD_TAIL_STAGE2= ${SYSTEM_LD_TAIL} .if defined(COPY_SYMTAB) -SYSTEM_LD_TAIL_STAGE2+= && echo ${DBSYM} $@ && ${DBSYM} $@ +SYSTEM_LD_TAIL_STAGE2+= && runit ${DBSYM} $@ .if !empty(DEBUG:M-g) -SYSTEM_LD_TAIL_STAGE2+= && echo ${DBSYM} $@.gdb && ${DBSYM} $@.gdb +SYSTEM_LD_TAIL_STAGE2+= && runit ${DBSYM} $@.gdb .endif .endif SYSTEM_LD_TAIL_STAGE2+= ${SYSTEM_LD_TAIL_EXTRA}
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Tue Jan 4 19:52:02 UTC 2022 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: use a function "runit" to echo and execute avoiding set -x. To generate a diff of this commit: cvs rdiff -u -r1.291 -r1.292 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/stdlib
Module Name:src Committed By: uwe Date: Tue Jan 4 19:36:16 UTC 2022 Modified Files: src/lib/libc/stdlib: getopt_long.3 Log Message: getopt_long(3): "index" is an argument, not a field. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/lib/libc/stdlib/getopt_long.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/stdlib
Module Name:src Committed By: uwe Date: Tue Jan 4 19:36:16 UTC 2022 Modified Files: src/lib/libc/stdlib: getopt_long.3 Log Message: getopt_long(3): "index" is an argument, not a field. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/lib/libc/stdlib/getopt_long.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/getopt_long.3 diff -u src/lib/libc/stdlib/getopt_long.3:1.21 src/lib/libc/stdlib/getopt_long.3:1.22 --- src/lib/libc/stdlib/getopt_long.3:1.21 Tue Jan 4 19:32:16 2022 +++ src/lib/libc/stdlib/getopt_long.3 Tue Jan 4 19:36:16 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: getopt_long.3,v 1.21 2022/01/04 19:32:16 uwe Exp $ +.\" $NetBSD: getopt_long.3,v 1.22 2022/01/04 19:36:16 uwe Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -146,7 +146,7 @@ like .Pp If the .Fa index -field is not +argument is not .Dv NULL , the integer it points to will be set to the index of the long option in the
CVS commit: src/lib/libc/stdlib
Module Name:src Committed By: uwe Date: Tue Jan 4 19:32:16 UTC 2022 Modified Files: src/lib/libc/stdlib: getopt_long.3 Log Message: getopt_long(3): use NULL, not 0, for flag in the example. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/lib/libc/stdlib/getopt_long.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/stdlib
Module Name:src Committed By: uwe Date: Tue Jan 4 19:32:16 UTC 2022 Modified Files: src/lib/libc/stdlib: getopt_long.3 Log Message: getopt_long(3): use NULL, not 0, for flag in the example. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/lib/libc/stdlib/getopt_long.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/getopt_long.3 diff -u src/lib/libc/stdlib/getopt_long.3:1.20 src/lib/libc/stdlib/getopt_long.3:1.21 --- src/lib/libc/stdlib/getopt_long.3:1.20 Sun Dec 9 20:29:53 2018 +++ src/lib/libc/stdlib/getopt_long.3 Tue Jan 4 19:32:16 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: getopt_long.3,v 1.20 2018/12/09 20:29:53 christos Exp $ +.\" $NetBSD: getopt_long.3,v 1.21 2022/01/04 19:32:16 uwe Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -167,8 +167,8 @@ int daggerset; /* options descriptor */ static struct option longopts[] = { - { "buffy", no_argument, 0, 'b' }, - { "fluoride", required_argument, 0, 'f' }, + { "buffy", no_argument, NULL, 'b' }, + { "fluoride", required_argument, NULL, 'f' }, { "daggerset", no_argument, &daggerset, 1 }, { NULL, 0, NULL, 0 } };
CVS commit: src/distrib/sets/lists/debug
Module Name:src Committed By: christos Date: Tue Jan 4 14:32:22 UTC 2022 Modified Files: src/distrib/sets/lists/debug: ad.mipsel Log Message: put back the nfs ramdisk kernel for emips. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/debug/ad.mipsel 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/ad.mipsel diff -u src/distrib/sets/lists/debug/ad.mipsel:1.3 src/distrib/sets/lists/debug/ad.mipsel:1.4 --- src/distrib/sets/lists/debug/ad.mipsel:1.3 Mon Jan 3 11:44:49 2022 +++ src/distrib/sets/lists/debug/ad.mipsel Tue Jan 4 09:32:21 2022 @@ -1,4 +1,4 @@ -# $NetBSD: ad.mipsel,v 1.3 2022/01/03 16:44:49 christos Exp $ +# $NetBSD: ad.mipsel,v 1.4 2022/01/04 14:32:21 christos Exp $ ./usr/libdata/debug/usr/bin/elf2ecoff.debug comp-sysutils-debug debug ./usr/libdata/debug/netbsd-aumac0-ALCHEMY.debug comp-sysutils-debug debug ./usr/libdata/debug/netbsd-aumac0-DBAU1500.debug comp-sysutils-debug debug @@ -8,4 +8,4 @@ ./usr/libdata/debug/netbsd-aumac0-OMSAL400.debug comp-sysutils-debug debug ./usr/libdata/debug/netbsd-reth0-CPMBR1400.debug comp-sysutils-debug debug ./usr/libdata/debug/netbsd-sd0a-CPMBR1400.debug comp-sysutils-debug debug -./usr/libdata/debug/nfsnetbsd-RAMDISK.debug comp-sysutils-debug debug,machine=pmax +./usr/libdata/debug/nfsnetbsd-RAMDISK.debug comp-sysutils-debug debug
CVS commit: src/distrib/sets/lists/debug
Module Name:src Committed By: christos Date: Tue Jan 4 14:32:22 UTC 2022 Modified Files: src/distrib/sets/lists/debug: ad.mipsel Log Message: put back the nfs ramdisk kernel for emips. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/debug/ad.mipsel Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/evbarm/hdl_g
Module Name:src Committed By: skrll Date: Tue Jan 4 10:38:05 UTC 2022 Modified Files: src/sys/arch/evbarm/hdl_g: hdlg_machdep.c Log Message: Fix DIAGNOSTIC fallout To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/evbarm/hdl_g/hdlg_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/evbarm/hdl_g/hdlg_machdep.c diff -u src/sys/arch/evbarm/hdl_g/hdlg_machdep.c:1.32 src/sys/arch/evbarm/hdl_g/hdlg_machdep.c:1.33 --- src/sys/arch/evbarm/hdl_g/hdlg_machdep.c:1.32 Sat Nov 20 08:48:55 2021 +++ src/sys/arch/evbarm/hdl_g/hdlg_machdep.c Tue Jan 4 10:38:04 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: hdlg_machdep.c,v 1.32 2021/11/20 08:48:55 rin Exp $ */ +/* $NetBSD: hdlg_machdep.c,v 1.33 2022/01/04 10:38:04 skrll Exp $ */ /* * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc. @@ -73,7 +73,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: hdlg_machdep.c,v 1.32 2021/11/20 08:48:55 rin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hdlg_machdep.c,v 1.33 2022/01/04 10:38:04 skrll Exp $"); #include "opt_arm_debug.h" #include "opt_console.h" @@ -228,9 +228,7 @@ vaddr_t initarm(void *arg) { extern vaddr_t xscale_cache_clean_addr; -#ifdef DIAGNOSTIC extern vsize_t xscale_minidata_clean_size; -#endif int loop; int loop1; u_int l1pagetable;
CVS commit: src/sys/arch/evbarm/hdl_g
Module Name:src Committed By: skrll Date: Tue Jan 4 10:38:05 UTC 2022 Modified Files: src/sys/arch/evbarm/hdl_g: hdlg_machdep.c Log Message: Fix DIAGNOSTIC fallout To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/evbarm/hdl_g/hdlg_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.