CVS import: src/external/public-domain/tz/dist

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:00:00 UTC 2022 Update of /cvsroot/src/external/public-domain/tz/dist In directory ivanova.netbsd.org:/tmp/cvs-serv21813 Log Message: Import tzdata2022agtz not from ftp://ftp.iana.org/tz/releases/tzdata2022agtz.tar.gz (202

CVS commit: src/lib/libc/stdlib

2022-03-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 13 01:44:37 UTC 2022 Modified Files: src/lib/libc/stdlib: hcreate.c Log Message: Avoid referencing uninit'd memory. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdlib/hcreate.c Please note th

CVS commit: src/lib/libc/stdlib

2022-03-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 13 01:44:37 UTC 2022 Modified Files: src/lib/libc/stdlib: hcreate.c Log Message: Avoid referencing uninit'd memory. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdlib/hcreate.c Please note th

Re: CVS commit: src/tests/fs/vfs

2022-02-05 Thread Robert Elz
Date:Sat, 5 Feb 2022 22:20:16 + From:David Brownlee Message-ID: | Oops, my earliest unix experience was on a BSD4.3 variant, so I was | spoiled by ffs and didn't realise the (in this context) helpful v7fs | behaviour with overlong filename components. To

Re: CVS commit: src/etc

2022-02-03 Thread Robert Elz
A couple of comments about your mount_critical_filesystems_zfs() function in rc.subr It starts: eval _fslist=\$critical_filesystems_zfs I'm not sure what you're attempting to accomplish there. The eval command sees fslist=$critical_filesystems_zfs (the \ having quoted the '$' pr

Re: CVS commit: src/tests/fs/vfs

2022-02-02 Thread Robert Elz
Date:Wed, 2 Feb 2022 15:26:21 + From:David Brownlee Message-ID: | So, we just need an optional flag when mounting v7fs to truncate any | looked up filename component to 14 characters That's not, or shouldn't be, necessary - that always happened, the limit w

Re: CVS commit: src/tests/fs/vfs

2022-02-02 Thread Robert Elz
Date:Wed, 2 Feb 2022 07:11:45 + From:David Holland Message-ID: | v7fs isn't a compat interface for old users, That's sad, I could do with something just for me! | it's a compat interface for old disk images :-) And makefs -t v7fs fits into that purpose how

CVS commit: src/bin/sh

2022-02-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Feb 2 01:21:34 UTC 2022 Modified Files: src/bin/sh: histedit.c Log Message: After (a few days short of) 21 years, revert 1.25, which did nothing except make the -e option to "fc" fail to work (the commit message was about some o

CVS commit: src/bin/sh

2022-02-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Feb 2 01:21:34 UTC 2022 Modified Files: src/bin/sh: histedit.c Log Message: After (a few days short of) 21 years, revert 1.25, which did nothing except make the -e option to "fc" fail to work (the commit message was about some o

Re: CVS commit: src/tests/fs/vfs

2022-02-01 Thread Robert Elz
Date:Tue, 1 Feb 2022 18:27:24 + From:"Martin Husemann" Message-ID: <20220201182724.90f82f...@cvs.netbsd.org> | Test mkdir(2) with one or more trailing slashes - this currently fails | for v7fs. As it should I think, trailing slashes are not simply deleted in

CVS commit: src/bin/sh

2022-01-31 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Jan 31 18:15:45 UTC 2022 Modified Files: src/bin/sh: histedit.c Log Message: When we initialize libedit (editline) always call ourselves "sh" no matter what $0 is (or is not) set to. This means that editrc(5) lines that start "

CVS commit: src/bin/sh

2022-01-31 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Jan 31 18:15:45 UTC 2022 Modified Files: src/bin/sh: histedit.c Log Message: When we initialize libedit (editline) always call ourselves "sh" no matter what $0 is (or is not) set to. This means that editrc(5) lines that start "

CVS commit: src/bin/sh

2022-01-31 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Jan 31 16:54:28 UTC 2022 Modified Files: src/bin/sh: cd.c histedit.c Log Message: Add some comments explaining accesses to the environment via getenv()/setenv()/unsetenv() which manipulate the envornoment the shell was passed at

CVS commit: src/bin/sh

2022-01-31 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Jan 31 16:54:28 UTC 2022 Modified Files: src/bin/sh: cd.c histedit.c Log Message: Add some comments explaining accesses to the environment via getenv()/setenv()/unsetenv() which manipulate the envornoment the shell was passed at

CVS commit: src/bin/sh

2022-01-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jan 22 22:53:58 UTC 2022 Modified Files: src/bin/sh: version.h Log Message: After 3 and a bit years, it is time... To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/bin/sh/version.h Please note that diffs are not

CVS commit: src/bin/sh

2022-01-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jan 22 22:53:58 UTC 2022 Modified Files: src/bin/sh: version.h Log Message: After 3 and a bit years, it is time... To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/bin/sh/version.h Please note that diffs are not

CVS commit: src/bin/sh

2022-01-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jan 5 15:25:44 UTC 2022 Modified Files: src/bin/sh: eval.c Log Message: Use a volative local shadow of a field in an (on-stack) non-volatile struct that is to be referenced after a return from setjmp() via longjmp(). This doesn

CVS commit: src/bin/sh

2022-01-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jan 5 15:25:44 UTC 2022 Modified Files: src/bin/sh: eval.c Log Message: Use a volative local shadow of a field in an (on-stack) non-volatile struct that is to be referenced after a return from setjmp() via longjmp(). This doesn

CVS commit: src/etc

2022-01-04 Thread Robert Elz
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 '[' com

CVS commit: src/etc

2022-01-04 Thread Robert Elz
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 '[' com

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

2021-12-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Dec 18 10:50:48 UTC 2021 Modified Files: src/tests/usr.bin/mixerctl: t_mixerctl.sh Log Message: Compensate for changes made in mixerctl.c rev 1.29 Usage msg now appears on stderr, and causes exit status to be 1 To generate a di

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

2021-12-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Dec 18 10:50:48 UTC 2021 Modified Files: src/tests/usr.bin/mixerctl: t_mixerctl.sh Log Message: Compensate for changes made in mixerctl.c rev 1.29 Usage msg now appears on stderr, and causes exit status to be 1 To generate a di

CVS commit: src/sys/dev/hdaudio

2021-12-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Dec 17 17:02:40 UTC 2021 Modified Files: src/sys/dev/hdaudio: hdafg.c Log Message: One build break fixed, another appears... Use the correct pointer, not the one used in the other piece of code that changed at the same time..

CVS commit: src/sys/dev/hdaudio

2021-12-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Dec 17 17:02:40 UTC 2021 Modified Files: src/sys/dev/hdaudio: hdafg.c Log Message: One build break fixed, another appears... Use the correct pointer, not the one used in the other piece of code that changed at the same time..

CVS commit: src/usr.bin/mail

2021-12-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Dec 17 15:29:44 UTC 2021 Modified Files: src/usr.bin/mail: thread.c Log Message: Remove an unnecessary test for NULL (the same thing is done in the following lines) along with an incorrect return of nothing if it is found (the fo

CVS commit: src/usr.bin/mail

2021-12-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Dec 17 15:29:44 UTC 2021 Modified Files: src/usr.bin/mail: thread.c Log Message: Remove an unnecessary test for NULL (the same thing is done in the following lines) along with an incorrect return of nothing if it is found (the fo

CVS commit: src/sys/ddb

2021-12-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Dec 13 03:17:50 UTC 2021 Modified Files: src/sys/ddb: db_sym.c Log Message: mv out: label into the #ifdef _KERNEL section, as it is only referenced from there. Hopefully ubbreak buikd of usr.sbin/crash To generate a diff of th

CVS commit: src/sys/ddb

2021-12-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Dec 13 03:17:50 UTC 2021 Modified Files: src/sys/ddb: db_sym.c Log Message: mv out: label into the #ifdef _KERNEL section, as it is only referenced from there. Hopefully ubbreak buikd of usr.sbin/crash To generate a diff of th

Re: CVS commit: src/usr.bin/make

2021-12-09 Thread Robert Elz
Date:Fri, 10 Dec 2021 01:36:10 +0100 (GMT+01:00) From:Roland Illig Message-ID: | I guess there's really no way around running the whole build before each | commit, to reach a build success rate of 99.9 %. What I tend to do, where possible, is make a bunch of cha

Re: CVS commit: src/usr.bin/make/unit-tests

2021-12-09 Thread Robert Elz
Date:Thu, 9 Dec 2021 23:57:19 + From:"Roland Illig" Message-ID: <20211209235719.cde20f...@cvs.netbsd.org> | Log Message: | tests/make: prevent the bug from cond.c 1.283 from happening again This new test (while OK of itself) would not have done that. I suspe

Re: CVS commit: src/usr.bin/make

2021-12-09 Thread Robert Elz
Date:Thu, 9 Dec 2021 22:25:58 + From:"Roland Illig" Message-ID: <20211209222558.cdf22f...@cvs.netbsd.org> | make: avoid recursion in CondParser_Or | | Previously, a long chain of '1 || 1 || 1 || 1 || ...' led to a deep | recursion. Furhermore, the code di

Re: CVS commit: src/etc/rc.d

2021-11-26 Thread Robert Elz
Date:Fri, 26 Nov 2021 13:11:36 + From:"Stephen Borrill" Message-ID: <20211126131136.63fabf...@cvs.netbsd.org> | Load rc configuration based on rcvar, not name, so that correct settings | in /etc/rc.conf.d are loaded. This looks wrong to me (and a pullup reque

CVS commit: src/tests/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 22 05:21:54 UTC 2021 Modified Files: src/tests/bin/sh: t_here.sh Log Message: PR bin/53550 /bin/sh's processing of here doc expansions has changed. Now it happens in the context of the parent shell, so side effects are vis

CVS commit: src/tests/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 22 05:21:54 UTC 2021 Modified Files: src/tests/bin/sh: t_here.sh Log Message: PR bin/53550 /bin/sh's processing of here doc expansions has changed. Now it happens in the context of the parent shell, so side effects are vis

CVS commit: src/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 22 05:17:43 UTC 2021 Modified Files: src/bin/sh: eval.c expand.c expand.h nodetypes redir.c Log Message: PR bin/53550 Here we go again... One more time to redo how here docs are processed (it has been a few years since the

CVS commit: src/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 22 05:17:43 UTC 2021 Modified Files: src/bin/sh: eval.c expand.c expand.h nodetypes redir.c Log Message: PR bin/53550 Here we go again... One more time to redo how here docs are processed (it has been a few years since the

CVS commit: src/tests/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 22 05:07:15 UTC 2021 Modified Files: src/tests/bin/sh: t_option.sh t_syntax.sh t_varval.sh Log Message: More tests that were doing ... | atf_check ... which allows the atf_check to fail without causing the test to fail (unl

CVS commit: src/tests/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 22 05:07:15 UTC 2021 Modified Files: src/tests/bin/sh: t_option.sh t_syntax.sh t_varval.sh Log Message: More tests that were doing ... | atf_check ... which allows the atf_check to fail without causing the test to fail (unl

CVS commit: src/tests/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Nov 21 20:50:35 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Deal with a lot more pipes into atf_check missed last time. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/tests/bin/sh/t_red

CVS commit: src/tests/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Nov 21 20:50:35 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Deal with a lot more pipes into atf_check missed last time. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/tests/bin/sh/t_red

CVS commit: src/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Nov 21 16:23:20 UTC 2021 Modified Files: src/bin/sh: sh.1 Log Message: Improve the however-many-negatives wording even more. To generate a diff of this commit: cvs rdiff -u -r1.240 -r1.241 src/bin/sh/sh.1 Please note that diff

CVS commit: src/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Nov 21 16:23:20 UTC 2021 Modified Files: src/bin/sh: sh.1 Log Message: Improve the however-many-negatives wording even more. To generate a diff of this commit: cvs rdiff -u -r1.240 -r1.241 src/bin/sh/sh.1 Please note that diff

CVS commit: src/bin/sh

2021-11-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Nov 20 01:52:51 UTC 2021 Modified Files: src/bin/sh: sh.1 Log Message: Improve the wording of the "Argument List Processing" section (where all the sh options, also used with "set", are listed) in response to a discussion on icb

CVS commit: src/bin/sh

2021-11-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Nov 20 01:52:51 UTC 2021 Modified Files: src/bin/sh: sh.1 Log Message: Improve the wording of the "Argument List Processing" section (where all the sh options, also used with "set", are listed) in response to a discussion on icb

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

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 17 04:33:26 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi Log Message: Adjust new libcurses test filenames to the ones atually installed. Possibly the intent was that the names used here were correct, and the erro

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

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 17 04:33:26 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi Log Message: Adjust new libcurses test filenames to the ones atually installed. Possibly the intent was that the names used here were correct, and the erro

CVS commit: src/lib/libcurses

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 23:23:02 UTC 2021 Modified Files: src/lib/libcurses: ins_wstr.c Log Message: Move 'i' into DEBUG only code (now there be three). Hopefully unbreaks !DEBUG builds. To generate a diff of this commit: cvs rdiff -u -r1.19 -r

CVS commit: src/lib/libcurses

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 23:23:02 UTC 2021 Modified Files: src/lib/libcurses: ins_wstr.c Log Message: Move 'i' into DEBUG only code (now there be three). Hopefully unbreaks !DEBUG builds. To generate a diff of this commit: cvs rdiff -u -r1.19 -r

CVS commit: src/bin

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 16:57:15 UTC 2021 Modified Files: src/bin/pwd: pwd.c src/bin/sh: cd.c Log Message: Make pwd (both /bin/pwd and the /bin/sh built-in version) check for write errors on stdout, and indicate an error if that happens.

CVS commit: src/bin

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 16:57:15 UTC 2021 Modified Files: src/bin/pwd: pwd.c src/bin/sh: cd.c Log Message: Make pwd (both /bin/pwd and the /bin/sh built-in version) check for write errors on stdout, and indicate an error if that happens.

CVS commit: src/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:28:29 UTC 2021 Modified Files: src/bin/sh: exec.c sh.1 Log Message: PR bin/56491 Make "hash" exit(!=0) (ie: exit(1)) if it writes an error message to stderr as required by POSIX (it was writing "not found" errors, yet

CVS commit: src/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:28:29 UTC 2021 Modified Files: src/bin/sh: exec.c sh.1 Log Message: PR bin/56491 Make "hash" exit(!=0) (ie: exit(1)) if it writes an error message to stderr as required by POSIX (it was writing "not found" errors, yet

CVS commit: src/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:27:50 UTC 2021 Modified Files: src/bin/sh: eval.c miscbltin.c redir.c Log Message: Detect write errors to stdout, and exit(1) from some built-in commands which (primarily) are used just to generate output (or with a par

CVS commit: src/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:27:50 UTC 2021 Modified Files: src/bin/sh: eval.c miscbltin.c redir.c Log Message: Detect write errors to stdout, and exit(1) from some built-in commands which (primarily) are used just to generate output (or with a par

CVS commit: src/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:25:44 UTC 2021 Modified Files: src/bin/sh: eval.c nodetypes parser.c Log Message: Fix value of ${LINENO} in "for" commands. This affects (as best I can tell) only uses of ${LINENO} in PS4 when -x is enabled (and perhap

CVS commit: src/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:25:44 UTC 2021 Modified Files: src/bin/sh: eval.c nodetypes parser.c Log Message: Fix value of ${LINENO} in "for" commands. This affects (as best I can tell) only uses of ${LINENO} in PS4 when -x is enabled (and perhap

CVS commit: src/tests/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:15:26 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Fix a test that has been (unnoticed) failing ever since printf(1) was changed to exit(1) when it detects a write error to stdout. Running printf

CVS commit: src/tests/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:15:26 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Fix a test that has been (unnoticed) failing ever since printf(1) was changed to exit(1) when it detects a write error to stdout. Running printf

CVS commit: src/tests/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:12:15 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh t_syntax.sh Log Message: Correct a systematic atf_check usage error. One must not pipe into atf_check and simply expect it to work - the shell is permitted t

CVS commit: src/tests/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:12:15 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh t_syntax.sh Log Message: Correct a systematic atf_check usage error. One must not pipe into atf_check and simply expect it to work - the shell is permitted t

CVS commit: src/lib/libc/gen

2021-11-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 15 16:00:25 UTC 2021 Modified Files: src/lib/libc/gen: posix_spawn_file_actions_addchdir.3 Log Message: More cleanups and typo corrections. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/gen/posix_

CVS commit: src/lib/libc/gen

2021-11-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 15 16:00:25 UTC 2021 Modified Files: src/lib/libc/gen: posix_spawn_file_actions_addchdir.3 Log Message: More cleanups and typo corrections. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/gen/posix_

Re: CVS commit: src/bin/echo

2021-11-10 Thread Robert Elz
Date:Wed, 10 Nov 2021 22:17:05 +0300 From:Valery Ushakov Message-ID: | > in the sense that simply falling out of main() is exit(0)? | | Surprisingly - yes. That's appalling, but perhaps not surprising. It breaks code which believed what was promised, and did

CVS commit: src/bin/sh

2021-11-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 10 18:25:52 UTC 2021 Modified Files: src/bin/sh: builtins.def Log Message: Ensure that all of the POSIX standard utilities are correctly identified with the -u flag (that is, I hope I identified all the ones that were missing

CVS commit: src/bin/sh

2021-11-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 10 18:25:52 UTC 2021 Modified Files: src/bin/sh: builtins.def Log Message: Ensure that all of the POSIX standard utilities are correctly identified with the -u flag (that is, I hope I identified all the ones that were missing

CVS commit: src/bin/echo

2021-11-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 10 17:35:45 UTC 2021 Modified Files: src/bin/echo: echo.c Log Message: With -Wall compiling this was giving: echo.c: In function 'main': echo.c:74:1: warning: control reaches end of non-void function This ra

CVS commit: src/bin/echo

2021-11-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 10 17:35:45 UTC 2021 Modified Files: src/bin/echo: echo.c Log Message: With -Wall compiling this was giving: echo.c: In function 'main': echo.c:74:1: warning: control reaches end of non-void function This ra

CVS commit: src/bin/sh

2021-11-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 10 15:58:39 UTC 2021 Modified Files: src/bin/sh: output.h Log Message: Add a couple of macro definitions for dealing with shell I/O errors. (Macros akin to stdio's ferror() and clearerr()). NFC: the macros are defined, but n

CVS commit: src/bin/sh

2021-11-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 10 15:58:39 UTC 2021 Modified Files: src/bin/sh: output.h Log Message: Add a couple of macro definitions for dealing with shell I/O errors. (Macros akin to stdio's ferror() and clearerr()). NFC: the macros are defined, but n

CVS commit: src/bin/sh

2021-11-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 10 15:26:34 UTC 2021 Modified Files: src/bin/sh: error.c eval.c expand.c redir.c trap.c Log Message: DEBUG mode changes only. NFC (NC) for any normally compiled shell. Mostly adding DEBUG mode tracing (when appropriate ver

CVS commit: src/bin/sh

2021-11-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 10 15:26:34 UTC 2021 Modified Files: src/bin/sh: error.c eval.c expand.c redir.c trap.c Log Message: DEBUG mode changes only. NFC (NC) for any normally compiled shell. Mostly adding DEBUG mode tracing (when appropriate ver

Re: CVS commit: src

2021-11-07 Thread Robert Elz
Date:Sat, 6 Nov 2021 10:40:58 -0700 From:Alistair Crooks Message-ID: | The author of the software made a conscious decision | to make the variable unsigned, sincr the length | would never be less than zero. | | The author then made a default definition for

CVS commit: src/bin/sh

2021-10-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 31 02:12:08 UTC 2021 Modified Files: src/bin/sh: sh.1 Log Message: PR bin/45390 Be explicit about what happens to PWD after a successful cd command. Also be very clear that "cd" and "cd -P" are the same thing, and the only

CVS commit: src/bin/sh

2021-10-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 31 02:12:01 UTC 2021 Modified Files: src/bin/sh: cd.c Log Message: PR bin/45390 - fix for folly four In the pwd builtin, verify that curdir names '.' before simply printing it. Never alter PWD or OLDPWD in the pwd command.

CVS commit: src/bin/sh

2021-10-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 31 02:12:08 UTC 2021 Modified Files: src/bin/sh: sh.1 Log Message: PR bin/45390 Be explicit about what happens to PWD after a successful cd command. Also be very clear that "cd" and "cd -P" are the same thing, and the only

CVS commit: src/bin/sh

2021-10-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 31 02:12:01 UTC 2021 Modified Files: src/bin/sh: cd.c Log Message: PR bin/45390 - fix for folly four In the pwd builtin, verify that curdir names '.' before simply printing it. Never alter PWD or OLDPWD in the pwd command.

Re: CVS commit: src

2021-10-29 Thread Robert Elz
Date:Fri, 29 Oct 2021 17:50:38 + From:"Roland Illig" Message-ID: <20211029175038.33b08f...@cvs.netbsd.org> | Log Message: | indent: use prev/curr/next to refer to the current token | | The word 'last' just didn't match with 'next'. That depends upon how i

CVS commit: src/lib/libc

2021-10-29 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 29 19:27:07 UTC 2021 Modified Files: src/lib/libc/gen: popen.c src/lib/libc/stdlib: system.c Log Message: Add "--" 'options end' parameter to the sh -c call that runs the command, so that the command cannot appear to

CVS commit: src/lib/libc

2021-10-29 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 29 19:27:07 UTC 2021 Modified Files: src/lib/libc/gen: popen.c src/lib/libc/stdlib: system.c Log Message: Add "--" 'options end' parameter to the sh -c call that runs the command, so that the command cannot appear to

Re: CVS commit: src/bin/sh

2021-10-26 Thread Robert Elz
ps: Also, the code is (while refactored a little) essentially the same as the -p code you added in 2015 ... just now avoiding repeatedly calling geteuid() (etc) - the value it returns won't change unless the code does something to change it. kre

Re: CVS commit: src

2021-10-26 Thread Robert Elz
Date:Tue, 26 Oct 2021 15:37:56 +0200 From:Joerg Sonnenberger Message-ID: | Personally, I would prefer to just kill -pg support completely, but | that's a separate discussion. Yes, it is. | I don't think per-file profiling is that useful Nor do I in general.

Re: CVS commit: src/bin/sh

2021-10-26 Thread Robert Elz
Date:Tue, 26 Oct 2021 15:07:23 - (UTC) From:chris...@astron.com (Christos Zoulas) Message-ID: | No issetugid()? No, because I'm not sure I understand that, nor that I believe: A process is tainted if [...] it has changed any of its real, effective or sav

CVS commit: src/bin/sh

2021-10-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Oct 26 10:07:20 UTC 2021 Modified Files: src/bin/sh: main.c memalloc.c memalloc.h Log Message: Use a type-correct end marker for strstrcat() rather than NULL, as for a function with unknown number & types of args, the compiler is

CVS commit: src/bin/sh

2021-10-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Oct 26 10:07:20 UTC 2021 Modified Files: src/bin/sh: main.c memalloc.c memalloc.h Log Message: Use a type-correct end marker for strstrcat() rather than NULL, as for a function with unknown number & types of args, the compiler is

CVS commit: src/bin/sh

2021-10-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Oct 26 00:05:38 UTC 2021 Modified Files: src/bin/sh: main.c memalloc.c memalloc.h options.c sh.1 shell.h Log Message: PR bin/56464 After almost 30 years, finally do the right thing and read $HOME/.profile rather than .profile in

CVS commit: src/bin/sh

2021-10-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Oct 26 00:05:38 UTC 2021 Modified Files: src/bin/sh: main.c memalloc.c memalloc.h options.c sh.1 shell.h Log Message: PR bin/56464 After almost 30 years, finally do the right thing and read $HOME/.profile rather than .profile in

CVS commit: src/doc

2021-10-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 22 21:03:50 UTC 2021 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Note tzdata2021e update. To generate a diff of this commit: cvs rdiff -u -r1.1823 -r1.1824 src/doc/3RDPARTY cvs rdiff -u -r1.2844 -r1.2845 src/doc/

CVS commit: src/doc

2021-10-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 22 21:03:50 UTC 2021 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Note tzdata2021e update. To generate a diff of this commit: cvs rdiff -u -r1.1823 -r1.1824 src/doc/3RDPARTY cvs rdiff -u -r1.2844 -r1.2845 src/doc/

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

2021-10-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 22 21:03:01 UTC 2021 Modified Files: src/distrib/sets/lists/base: mi Log Message: tzdata2021e update, zoneinfo Pacific/Enderbury renamed to Pacific/Kanton (old name retained) - so add new zone file for Pacific/Kanton To gen

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

2021-10-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 22 21:03:01 UTC 2021 Modified Files: src/distrib/sets/lists/base: mi Log Message: tzdata2021e update, zoneinfo Pacific/Enderbury renamed to Pacific/Kanton (old name retained) - so add new zone file for Pacific/Kanton To gen

CVS commit: src/external/public-domain/tz/dist

2021-10-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 22 21:01:07 UTC 2021 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION asia australasia backward leap-seconds.list leapseconds version Log Message: Update to tzdata2021e (with much of 2020b still

CVS commit: src/external/public-domain/tz/dist

2021-10-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 22 21:01:07 UTC 2021 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION asia australasia backward leap-seconds.list leapseconds version Log Message: Update to tzdata2021e (with much of 2020b still

CVS commit: src/sys/dev/ic

2021-10-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Oct 12 08:09:51 UTC 2021 Modified Files: src/sys/dev/ic: com.c Log Message: Note that while sleeping (HUPCL), time passes. Try to avoid the otherwise infinite loop. To generate a diff of this commit: cvs rdiff -u -r1.367 -r1.36

CVS commit: src/sys/dev/ic

2021-10-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Oct 12 08:09:51 UTC 2021 Modified Files: src/sys/dev/ic: com.c Log Message: Note that while sleeping (HUPCL), time passes. Try to avoid the otherwise infinite loop. To generate a diff of this commit: cvs rdiff -u -r1.367 -r1.36

CVS commit: src/sys/dev/ic

2021-10-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Oct 12 06:25:17 UTC 2021 Modified Files: src/sys/dev/ic: com.c Log Message: Now Jason has made this build, avoid a 50+ year sleep to implement HUPCL. To generate a diff of this commit: cvs rdiff -u -r1.366 -r1.367 src/sys/dev/i

CVS commit: src/sys/dev/ic

2021-10-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Oct 12 06:25:17 UTC 2021 Modified Files: src/sys/dev/ic: com.c Log Message: Now Jason has made this build, avoid a 50+ year sleep to implement HUPCL. To generate a diff of this commit: cvs rdiff -u -r1.366 -r1.367 src/sys/dev/i

CVS commit: src/doc

2021-10-02 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Oct 2 11:01:53 UTC 2021 Modified Files: src/doc: 3RDPARTY Log Message: We are now (partial) at tzdata2021c. This involves no changes other than here (this), as we had not adopted the changes to tzdata in 2021b that were revert

CVS commit: src/doc

2021-10-02 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Oct 2 11:01:53 UTC 2021 Modified Files: src/doc: 3RDPARTY Log Message: We are now (partial) at tzdata2021c. This involves no changes other than here (this), as we had not adopted the changes to tzdata in 2021b that were revert

CVS commit: src/doc

2021-10-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 1 22:42:28 UTC 2021 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: tzdata partial update to 2021b To generate a diff of this commit: cvs rdiff -u -r1.1818 -r1.1819 src/doc/3RDPARTY cvs rdiff -u -r1.2835 -r1.2836 sr

CVS commit: src/doc

2021-10-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 1 22:42:28 UTC 2021 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: tzdata partial update to 2021b To generate a diff of this commit: cvs rdiff -u -r1.1818 -r1.1819 src/doc/3RDPARTY cvs rdiff -u -r1.2835 -r1.2836 sr

<    2   3   4   5   6   7   8   9   10   11   >