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

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/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.

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

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

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

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

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

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

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

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/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

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

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

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

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

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

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: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-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

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

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

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

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

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/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

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

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

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

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

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

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

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

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

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

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

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

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

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

Re: CVS commit: src/lib/libc/time

2022-03-25 Thread Robert Elz
Date:Thu, 24 Mar 2022 23:32:30 +0100 From:Roland Illig Message-ID: <6bb00924-edaf-a4c8-348e-ba1304d57...@gmx.de> | Someone should clean up this mess. No, they probabky shouldn't, in general. That source comes from the tz project (currently from tzcode2022a) with

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

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:22:20 UTC 2022 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION Log Message: Updated to tzdata2022agtz which is a 2022a fork with backzone zones moved back into the main data repo (restoring old data)

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

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:22:20 UTC 2022 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION Log Message: Updated to tzdata2022agtz which is a 2022a fork with backzone zones moved back into the main data repo (restoring old data)

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

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:20:19 UTC 2022 Modified Files: src/external/public-domain/tz/dist: asia australasia backward leap-seconds.list leapseconds version Log Message: Merge tzdata2022agtz To generate a diff of this commit: cvs

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

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:20:19 UTC 2022 Modified Files: src/external/public-domain/tz/dist: asia australasia backward leap-seconds.list leapseconds version Log Message: Merge tzdata2022agtz To generate a diff of this commit: cvs

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

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

CVS commit: src/doc

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:04:52 UTC 2022 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Note tzdata 2022a (using tzdata2022agtz upstream fork) To generate a diff of this commit: cvs rdiff -u -r1.1845 -r1.1846 src/doc/3RDPARTY cvs

CVS commit: src/doc

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:04:52 UTC 2022 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Note tzdata 2022a (using tzdata2022agtz upstream fork) To generate a diff of this commit: cvs rdiff -u -r1.1845 -r1.1846 src/doc/3RDPARTY cvs

Re: null-terminated vs. nul-terminated

2022-03-29 Thread Robert Elz
Date:Tue, 29 Mar 2022 07:40:04 -0400 From:Greg Troxel Message-ID: | It may have been BSD style, but I think it's wrong to use lowercase for | an ASCII codepoint. But we use soh esc nl del (etc) in lower case all the time. You might also want to look at

Re: null-terminated vs. nul-terminated

2022-03-29 Thread Robert Elz
And yes I know nl isnot really ascii, but lf and cr are also typically used in lower case. This whole discussion is childish. It doesn't matter. kre

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-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

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

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

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

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 '$'

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

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

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

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

CVS commit: src/sbin/gpt

2022-04-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Apr 7 13:57:44 UTC 2022 Modified Files: src/sbin/gpt: gpt.8 Log Message: Note that biosboot without -A clears the PMBR "active" flag. While here, fix some grammar and make the selection options for biosboot a little clearer.

CVS commit: src/sbin/gpt

2022-04-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Apr 7 13:57:44 UTC 2022 Modified Files: src/sbin/gpt: gpt.8 Log Message: Note that biosboot without -A clears the PMBR "active" flag. While here, fix some grammar and make the selection options for biosboot a little clearer.

CVS commit: src/bin/sh

2023-08-31 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 1 01:57:54 UTC 2023 Modified Files: src/bin/sh: sh.1 Log Message: At the request of bad@ enhance the synopsis of the set built-in command to include explicit mention of the -o opt and +o opt forms. Fix the synopsis to have

CVS commit: src/bin/sh

2023-08-31 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 1 01:57:54 UTC 2023 Modified Files: src/bin/sh: sh.1 Log Message: At the request of bad@ enhance the synopsis of the set built-in command to include explicit mention of the -o opt and +o opt forms. Fix the synopsis to have

Re: CVS commit: src/sbin/gpt

2023-09-27 Thread Robert Elz
Date:Wed, 27 Sep 2023 09:44:10 + From:"Taylor R Campbell" Message-ID: <20230927094410.b9257f...@cvs.netbsd.org> | gpt(8): Make gpt type array and enum match again. Thanks, and apologies for not checking that better - I did test that it recognised the new one

CVS commit: src/tests/sbin/fsck_ffs

2023-09-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 26 12:15:45 UTC 2023 Modified Files: src/tests/sbin/fsck_ffs: quotas_common.sh t_check_quotas.sh t_enable_quotas.sh t_extattr.sh Log Message: Perform quoting of variable expansions, etc correctly. That includes

CVS commit: src/tests/sbin/fsck_ffs

2023-09-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 26 12:15:45 UTC 2023 Modified Files: src/tests/sbin/fsck_ffs: quotas_common.sh t_check_quotas.sh t_enable_quotas.sh t_extattr.sh Log Message: Perform quoting of variable expansions, etc correctly. That includes

CVS commit: src/sys/sys

2023-09-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 26 15:47:11 UTC 2023 Modified Files: src/sys/sys: disklabel_gpt.h Log Message: Add the GUID for Microsoft Recovery partitions. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/sys/disklabel_gpt.h

CVS commit: src/sys/sys

2023-09-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 26 15:47:11 UTC 2023 Modified Files: src/sys/sys: disklabel_gpt.h Log Message: Add the GUID for Microsoft Recovery partitions. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/sys/disklabel_gpt.h

CVS commit: src/sbin/gpt

2023-09-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 26 15:48:31 UTC 2023 Modified Files: src/sbin/gpt: gpt_uuid.c Log Message: Recognise Windows Recovery partitions. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sbin/gpt/gpt_uuid.c Please note that

CVS commit: src/sbin/gpt

2023-09-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 26 15:48:31 UTC 2023 Modified Files: src/sbin/gpt: gpt_uuid.c Log Message: Recognise Windows Recovery partitions. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sbin/gpt/gpt_uuid.c Please note that

CVS commit: src/sbin/gpt

2023-09-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 26 15:55:46 UTC 2023 Modified Files: src/sbin/gpt: gpt.c Log Message: When extracting the attributes (to printable form), avoid simply ignoring any attribute bits which are unknown, print them as a hex value. This avoids

CVS commit: src/sbin/gpt

2023-09-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 26 15:55:46 UTC 2023 Modified Files: src/sbin/gpt: gpt.c Log Message: When extracting the attributes (to printable form), avoid simply ignoring any attribute bits which are unknown, print them as a hex value. This avoids

CVS commit: src/bin/sh

2023-10-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Oct 5 20:33:31 UTC 2023 Modified Files: src/bin/sh: miscbltin.c Log Message: If the read builtin is told to read into IFS, we must avoid doing that until all current uses of IFS are complete (as we have IFS's value cached in

CVS commit: src/bin/sh

2023-10-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Oct 5 20:33:31 UTC 2023 Modified Files: src/bin/sh: miscbltin.c Log Message: If the read builtin is told to read into IFS, we must avoid doing that until all current uses of IFS are complete (as we have IFS's value cached in

CVS commit: src/bin/sh

2023-10-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 20 22:08:52 UTC 2023 Modified Files: src/bin/sh: parser.c Log Message: Work around a probably gcc12 bug in detecting "potentially clobbered" variables after longjmp() for some architectures (sh3 at least). This should allow

CVS commit: src/bin/sh

2023-10-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 20 22:08:52 UTC 2023 Modified Files: src/bin/sh: parser.c Log Message: Work around a probably gcc12 bug in detecting "potentially clobbered" variables after longjmp() for some architectures (sh3 at least). This should allow

CVS commit: src/libexec/mail.local

2022-05-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 17 11:18:58 UTC 2022 Modified Files: src/libexec/mail.local: mail.local.c Log Message: fix local privilege escalation due to a race condition NetBSD-SA2016-006 included an incomplete fix for CVE-2016-6253, a local privilege

CVS commit: src/libexec/mail.local

2022-05-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 17 11:18:58 UTC 2022 Modified Files: src/libexec/mail.local: mail.local.c Log Message: fix local privilege escalation due to a race condition NetBSD-SA2016-006 included an incomplete fix for CVE-2016-6253, a local privilege

Re: CVS commit: src/sbin/cgdconfig

2022-05-17 Thread Robert Elz
Please test it. In HEAD today, and last week, and for probably a long time back into the past, /sbin/cgdconfig has threads, and /rescue/cgdconfig does not. I don"t know when argon2 support was added, or how to use it, but if you do, it should be simple to create an cgd in vnd using one, and then

CVS commit: src/bin/kill

2022-05-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon May 16 10:53:14 UTC 2022 Modified Files: src/bin/kill: kill.c Log Message: Alter error messages so they no longer claim that bad input is illegal. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33

CVS commit: src/bin/kill

2022-05-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon May 16 10:53:14 UTC 2022 Modified Files: src/bin/kill: kill.c Log Message: Alter error messages so they no longer claim that bad input is illegal. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33

Re: CVS commit: src/sbin/cgdconfig

2022-05-16 Thread Robert Elz
Date:Mon, 16 May 2022 09:10:40 + From:Taylor R Campbell Message-ID: <20220516090946.a3c4660...@jupiter.mumble.net> | > Please re-enable threads. They influence the output hash | > so by disabling threads you stop people from being able | > to decrypt their

CVS commit: src/bin/ksh

2022-07-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jul 3 06:30:31 UTC 2022 Modified Files: src/bin/ksh: expr.c Log Message: Fix core dump caused by ksh -c '(i=10; echo $((++-+++i)))' reported by Steffen Nurpmeso (not on a NetBSD list or PR). Seems pointless to fix just

CVS commit: src/bin/ksh

2022-07-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jul 3 06:30:31 UTC 2022 Modified Files: src/bin/ksh: expr.c Log Message: Fix core dump caused by ksh -c '(i=10; echo $((++-+++i)))' reported by Steffen Nurpmeso (not on a NetBSD list or PR). Seems pointless to fix just

CVS commit: src/sbin/shutdown

2022-07-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 1 16:45:13 UTC 2022 Modified Files: src/sbin/shutdown: shutdown.8 shutdown.c Log Message: Bring shutdown(8) into the 21st century. I found this juxtaposition in the shutdown man page kind of interesting: time Time

CVS commit: src/sbin/shutdown

2022-07-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 1 16:45:13 UTC 2022 Modified Files: src/sbin/shutdown: shutdown.8 shutdown.c Log Message: Bring shutdown(8) into the 21st century. I found this juxtaposition in the shutdown man page kind of interesting: time Time

CVS commit: src/etc/root

2022-07-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jul 9 09:43:52 UTC 2022 Modified Files: src/etc/root: dot.profile Log Message: If /rescue is at the head of $PATH (which is how it starts out in /rescue/sh unless changed by something - and has been since NetBSD 3) don't

CVS commit: src/etc/root

2022-07-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jul 9 09:43:52 UTC 2022 Modified Files: src/etc/root: dot.profile Log Message: If /rescue is at the head of $PATH (which is how it starts out in /rescue/sh unless changed by something - and has been since NetBSD 3) don't

CVS commit: src/usr.bin/stat

2022-06-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 24 13:11:45 UTC 2022 Modified Files: src/usr.bin/stat: stat.1 Log Message: Remove the notge (I added a day or so ago) about IFS interfering with -s output (potentially) - it is almost certainly wrong. To generate a diff of

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