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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CVS commit: src/sys/dev/ic

2021-10-12 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

CVS commit: src/sys/dev/ic

2021-10-12 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

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

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

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

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

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

2021-10-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 1 22:35:07 UTC 2021 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION asia australasia version Log Message: Cherry pick the important changes from tzdata2031b: Samoa (Pacific/Apia) has

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

2021-10-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 1 22:35:07 UTC 2021 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION asia australasia version Log Message: Cherry pick the important changes from tzdata2031b: Samoa (Pacific/Apia) has

Re: CVS commit: src/sys

2021-09-29 Thread Robert Elz
Date:Wed, 29 Sep 2021 08:42:12 -0700 From:Jason Thorpe Message-ID: | Anything that depends on the new return value would have simply been | doing what the socket / fifo code was doing (groveling around in | selinfo internals), so it's not like they're broken

Re: CVS commit: src/sys

2021-09-29 Thread Robert Elz
Date:Wed, 29 Sep 2021 05:37:44 -0700 From:Jason Thorpe Message-ID: <39db6c46-94bf-4126-811b-466e5293b...@me.com> | Not needed in this case. | No callers that need the return value are in a module. The problem with this argument is that it assumes that you know

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

2021-09-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 17 14:09:00 UTC 2021 Modified Files: src/distrib/sets/lists/base: mi Log Message: Re-instate /usr/lib/dtrace which seems to have been accidentally deleted in the previous update. To generate a diff of this commit: cvs

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

2021-09-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 17 14:09:00 UTC 2021 Modified Files: src/distrib/sets/lists/base: mi Log Message: Re-instate /usr/lib/dtrace which seems to have been accidentally deleted in the previous update. To generate a diff of this commit: cvs

CVS commit: src/bin/sh

2021-09-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Sep 15 20:21:48 UTC 2021 Modified Files: src/bin/sh: redir.c Log Message: Fix an ordering error in the previous (and even earlier, going back a way, but made more serious with the recent changes). The n> operation (more or less

CVS commit: src/bin/sh

2021-09-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Sep 15 20:21:48 UTC 2021 Modified Files: src/bin/sh: redir.c Log Message: Fix an ordering error in the previous (and even earlier, going back a way, but made more serious with the recent changes). The n> operation (more or less

CVS commit: src/bin/sh

2021-09-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Sep 15 18:30:57 UTC 2021 Modified Files: src/bin/sh: miscbltin.c sh.1 Log Message: Have the ulimit command watch for ulimit -n (alter number of available fds) and keep the rest of the shell aware of any changes. While here,

CVS commit: src/bin/sh

2021-09-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Sep 15 18:30:57 UTC 2021 Modified Files: src/bin/sh: miscbltin.c sh.1 Log Message: Have the ulimit command watch for ulimit -n (alter number of available fds) and keep the rest of the shell aware of any changes. While here,

CVS commit: src/bin/sh

2021-09-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Sep 15 18:29:45 UTC 2021 Modified Files: src/bin/sh: main.c parser.c redir.c redir.h Log Message: Improve the solution for the 2nd access to a fd which shouldn't be available ("13") issue reported by Jan Schaumann on

CVS commit: src/bin/sh

2021-09-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Sep 15 18:29:45 UTC 2021 Modified Files: src/bin/sh: main.c parser.c redir.c redir.h Log Message: Improve the solution for the 2nd access to a fd which shouldn't be available ("13") issue reported by Jan Schaumann on

CVS commit: src/bin/sh

2021-09-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 14 14:49:39 UTC 2021 Modified Files: src/bin/sh: parser.c redir.c Log Message: Deal with some issues where fds intended only for internal use by the shell were available for manipulation by scripts (or the user). These

CVS commit: src/bin/sh

2021-09-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 14 14:49:39 UTC 2021 Modified Files: src/bin/sh: parser.c redir.c Log Message: Deal with some issues where fds intended only for internal use by the shell were available for manipulation by scripts (or the user). These

CVS commit: src/bin/mkdir

2021-09-13 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Sep 13 22:46:02 UTC 2021 Modified Files: src/bin/mkdir: mkdir.c Log Message: PR bin/56398 The final component of both a/b/c and a/b/c/ is "c", so that's the one to which the -m arg applies. To generate a diff of this commit:

CVS commit: src/bin/mkdir

2021-09-13 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Sep 13 22:46:02 UTC 2021 Modified Files: src/bin/mkdir: mkdir.c Log Message: PR bin/56398 The final component of both a/b/c and a/b/c/ is "c", so that's the one to which the -m arg applies. To generate a diff of this commit:

CVS commit: src/bin/sh

2021-09-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Sep 12 02:20:37 UTC 2021 Modified Files: src/bin/sh: sh.1 Log Message: Improve the formatting of the list of Built-in commands for those commands with multiple synopsis lines (eg: trap). But there really must be a better way to

CVS commit: src/bin/sh

2021-09-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Sep 12 02:20:37 UTC 2021 Modified Files: src/bin/sh: sh.1 Log Message: Improve the formatting of the list of Built-in commands for those commands with multiple synopsis lines (eg: trap). But there really must be a better way to

CVS commit: src/bin/sh

2021-09-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Sep 12 01:30:41 UTC 2021 Modified Files: src/bin/sh: jobs.c sh.1 Log Message: Don't dereference NULL on "jobs -Z" (with no title given), instead do setproctitle(NULL) (which is not the same thing at all). Do the same with jobs

CVS commit: src/bin/sh

2021-09-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Sep 12 01:30:41 UTC 2021 Modified Files: src/bin/sh: jobs.c sh.1 Log Message: Don't dereference NULL on "jobs -Z" (with no title given), instead do setproctitle(NULL) (which is not the same thing at all). Do the same with jobs

CVS commit: src/bin/sh

2021-09-08 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Sep 9 01:14:04 UTC 2021 Modified Files: src/bin/sh: parser.c Log Message: Fix a bug with here document processing reported on the austin group list by oguzismailuy...@gmail.com (2021-09-08) (applies to all ash descendant

CVS commit: src/bin/sh

2021-09-08 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Sep 9 01:14:04 UTC 2021 Modified Files: src/bin/sh: parser.c Log Message: Fix a bug with here document processing reported on the austin group list by oguzismailuy...@gmail.com (2021-09-08) (applies to all ash descendant

CVS commit: src/tests/bin/sh

2021-09-08 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Sep 9 00:04:51 UTC 2021 Modified Files: src/tests/bin/sh: t_here.sh Log Message: Add a new test case to check for correct parsing and execution of a few bizarre here document usages, such as : << do | for x in xxx

CVS commit: src/tests/bin/sh

2021-09-08 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Sep 9 00:04:51 UTC 2021 Modified Files: src/tests/bin/sh: t_here.sh Log Message: Add a new test case to check for correct parsing and execution of a few bizarre here document usages, such as : << do | for x in xxx

Re: CVS commit: src/usr.bin

2021-08-19 Thread Robert Elz
Date:Thu, 19 Aug 2021 21:21:04 + From:"Roland Illig" Message-ID: <20210819212104.7c965f...@cvs.netbsd.org> | mkdep: fix prototype of findcc That broke the build. | A function that modifies a string argument must not declare that | argument as 'const char

Re: CVS commit: src/sbin/devpubd/hooks

2021-08-08 Thread Robert Elz
Sorry, no idea what happened with that. And thanks Martin for fixing it. kre

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

2021-08-02 Thread Robert Elz
Date:Mon, 2 Aug 2021 20:02:28 +0900 From:Rin Okuyama Message-ID: <21dae7de-f153-2e53-4e66-cc61c8241...@gmail.com> quoting Michael van Elst: | > If you insist on a separate barrier, one name would be USERDEVICEPATHS | > or short UDEV. UDEV (or UDEVS) sounds good

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

2021-08-01 Thread Robert Elz
Date:Mon, 2 Aug 2021 11:54:27 +0900 From:Rin Okuyama Message-ID: | Install /etc/rc.d/zfs for everyone? Add a new dummy rc.d script (like LOGIN or DISKS) have devpubd come before that, and everything which should come later require it. That's cleaner. We should

Re: vfork() and posix_spawn() [was: Re: CVS commit: src/lib/libc/sys]

2021-06-14 Thread Robert Elz
Date:Mon, 14 Jun 2021 03:56:48 +0200 From:Joerg Sonnenberger Message-ID: | This is even more true for multi-threaded applications | (where POSIX explicitly suggests that requirement). Sure, anything with fork() and threads has issues, that's messy. Even I know

vfork() and posix_spawn() [was: Re: CVS commit: src/lib/libc/sys]

2021-06-13 Thread Robert Elz
Date:Sat, 12 Jun 2021 23:13:54 +0200 From:Joerg Sonnenberger Message-ID: Sorry, missed this message when I was cherry picking messages to read in a timely fashion. | On Wed, Jun 09, 2021 at 01:03:20AM +0700, Robert Elz wrote: | > after a vfork() the child

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

2021-06-08 Thread Robert Elz
Date:Tue, 8 Jun 2021 16:15:12 + From:"Nia Alarie" Message-ID: <20210608161512.1d7c3f...@cvs.netbsd.org> | vfork.2: recommend posix_spawn instead You might want to reconsider the wording there, posix_spawn() is an alternative to [v]fork() + exec*(). Not just

  1   2   3   4   5   >