CVS commit: src/sys/modules

2021-08-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Aug 17 21:39:32 UTC 2021 Modified Files: src/sys/modules: Makefile Log Message: s/blake2s/blakes2s/ to match the directory that exists To generate a diff of this commit: cvs rdiff -u -r1.252 -r1.253 src/sys/modules/Makefile

CVS commit: src/bin/sh

2021-08-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Aug 9 11:29:30 UTC 2021 Modified Files: src/bin/sh: var.c Log Message: Fix the fix to a typo in one of the comments. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/bin/sh/var.c Please note that diffs are

CVS commit: src/sbin/devpubd/hooks

2021-08-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 5 12:52:47 UTC 2021 Modified Files: src/sbin/devpubd/hooks: 02-wedgenames Log Message: Obliterate bogus $@ usage. While here, fix some quoting, change some style, and attempt to properly handle wedge names with embedded

CVS commit: src/sbin/devpubd

2021-08-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 5 12:45:33 UTC 2021 Modified Files: src/sbin/devpubd: devpubd-run-hooks.in src/sbin/devpubd/hooks: 01-makedev Log Message: Expunge bogus (implementation defined / unspecified) uses of $@ in scripts. $@ is

CVS commit: src/usr.sbin/sysinst

2021-07-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Jul 12 19:03:20 UTC 2021 Modified Files: src/usr.sbin/sysinst: msg_xlat.sh Log Message: Revert 1.4, that just trades one problem for a different one (splitting the message on % instead of white space, which affects less

CVS commit: src/lib/libc/gen

2021-07-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jul 11 16:30:41 UTC 2021 Modified Files: src/lib/libc/gen: initdir.c Log Message: Make sure dd_size is init'd, even when nothing has been read (so it will be 0). Reported on tech-userlevel by Mouse 20210711T044753+ To

CVS commit: src/tests/lib/libc/stdio

2021-07-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 9 20:00:26 UTC 2021 Modified Files: src/tests/lib/libc/stdio: h_intr.c Log Message: Make opts.cmd const char * rather than char * -- nothing ever modifies the string it points to, it is never passed to a function not taking

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

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:45:49 UTC 2021 Modified Files: src/tests/usr.bin/printf: printf.sh Log Message: With the (very) recent changes to printf(1), a numeric conversion from data of the form '+1 (two (or more) characters after the quote)

CVS commit: src/tests/bin/sh

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:43:18 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Handle the (very) recent change to printf(1) - when writing to a closed stdout printf(1) now issues an error message, hence stderr in such cases

CVS commit: src/usr.bin/printf

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:41:19 UTC 2021 Modified Files: src/usr.bin/printf: printf.c Log Message: Changes for POSIX conformance. 1. exit(1) with an error message on stderr if an I/O error occurs. 1a. To work properly when built into /bin/sh

CVS commit: src/usr.bin/printf

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:29:18 UTC 2021 Modified Files: src/usr.bin/printf: printf.1 Log Message: Don't describe "%%: in the format as a format conversion, it isn't, it is an escaped literal '%' character. None of what applies to format

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

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:20:34 UTC 2021 Modified Files: src/tests/usr.bin/printf: printf.sh Log Message: Fix a truly embarrassing quoting screwup. There is an explanation as to why this didn't cause any failures, but I won't go into it here.

CVS commit: src/bin/echo

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:12:36 UTC 2021 Modified Files: src/bin/echo: echo.c Log Message: Catch up with /bin/sh built-in echo ... if a write error occurs, don't just exit(1), write an error message to stderr as well (required for POSIX

CVS commit: src/bin/sh/bltin

2021-05-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 18 21:39:06 UTC 2021 Modified Files: src/bin/sh/bltin: bltin.h echo.c Log Message: Fix a bug in the built-in echo in /bin/sh reported in private mail by Oguz If echo detects an I/O error, it does exit(1) (that's fine) but

CVS commit: src/tests/bin/sh

2021-05-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 18 21:37:56 UTC 2021 Modified Files: src/tests/bin/sh: t_builtins.sh Log Message: Add two new sub-tests to the echo test case of the t_builtins shell ATF test. The first verifies that echo exits >0 when it encounters an I/O

CVS commit: src/lib/libutil

2021-05-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun May 16 19:42:35 UTC 2021 Modified Files: src/lib/libutil: parsedate.3 Log Message: PR bin/56042 Fix typos (2nd acst should have been acdt), 0550 for ist should be 0530 (5.5 hours is not 5 hours and 50 minutes...). Comment out

CVS commit: src/games/snake/snscore

2021-05-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 12 15:26:44 UTC 2021 Modified Files: src/games/snake/snscore: snscore.c Log Message: Adapt to recent change to ../snake/pathnames.h To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/bin/sh

2021-04-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Apr 4 13:24:07 UTC 2021 Modified Files: src/bin/sh: eval.c jobs.c jobs.h Log Message: Related to PR bin/48875 Correct an issue found by Oguz and reported in e-mail (on the bug-bash list initially!) with the code changed to

CVS commit: src/bin/sh

2021-02-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Feb 16 15:30:26 UTC 2021 Modified Files: src/bin/sh: input.c Log Message: PR bin/55979 Correctly handle (ie: ignore completely) \0 chars (nuls) in the shell command input stream (script, dot file, or stdin). Previously nul

CVS commit: src/bin/sh

2021-02-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Feb 16 15:30:12 UTC 2021 Modified Files: src/bin/sh: exec.c Log Message: PR bin/55979 This fixes the MSAN detected reference to an unitialised variable (an unitialised field in a struct) which happens when a command is not

CVS commit: src

2021-02-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Feb 16 09:46:24 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/bin/sh: Makefile Added Files: src/tests/bin/sh: t_input.sh Log Message: PR bin/55979 Add a sh ATF test to demonstrate a bug in

CVS commit: src/sys/sys

2021-02-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Feb 15 09:29:57 UTC 2021 Modified Files: src/sys/sys: mbuf.h Log Message: Don't compare int against size_t .. since mbuf lengths should never be negative, cast it from int to size_t (rather than the other way around).

CVS commit: src/doc

2021-01-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jan 24 22:08:37 UTC 2021 Modified Files: src/doc: CHANGES Log Message: Correct date for previous (tzdata 2021a update) - seems I cannot read the output of the date(1) command any more... To generate a diff of this commit: cvs

CVS commit: src/doc

2021-01-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jan 24 22:02:47 UTC 2021 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Note update of tzdata to 2021a To generate a diff of this commit: cvs rdiff -u -r1.1773 -r1.1774 src/doc/3RDPARTY cvs rdiff -u -r1.2775 -r1.2776

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

2021-01-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jan 24 21:59:37 UTC 2021 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION Log Message: Merge tzdata2021a To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

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

2021-01-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jan 24 21:59:15 UTC 2021 Update of /cvsroot/src/external/public-domain/tz/dist In directory ivanova.netbsd.org:/tmp/cvs-serv19196 Log Message: Import tzdata2021a from ftp://ftp.iana.org/tz/releases/tzdata2021a.tar.gz Summary of changes

CVS commit: src/sys/arch/x86/include

2021-01-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Jan 21 09:50:37 UTC 2021 Modified Files: src/sys/arch/x86/include: bus_defs.h Log Message: PRIx (etc) definitions should not include the % Will fix anything this ends up breaking later. To generate a diff of this commit:

CVS commit: src/share/man/man4

2021-01-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jan 6 17:13:23 UTC 2021 Modified Files: src/share/man/man4: dk.4 Log Message: Minor grammar fix, more markup, and update date (Dd). To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/share/man/man4/dk.4 Please

CVS commit: src/usr.bin/xlint/lint1

2021-01-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jan 1 13:43:34 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: Build breakage fix (hopefully) - brain dead gcc. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96

CVS commit: src/doc

2020-12-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Dec 31 07:54:13 UTC 2020 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Note update of tzdata to 2020f To generate a diff of this commit: cvs rdiff -u -r1.1771 -r1.1772 src/doc/3RDPARTY cvs rdiff -u -r1.2772 -r1.2773

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

2020-12-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Dec 31 07:50:44 UTC 2020 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION Log Message: Merge tzdata2020f To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

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

2020-12-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Dec 31 07:50:15 UTC 2020 Update of /cvsroot/src/external/public-domain/tz/dist In directory ivanova.netbsd.org:/tmp/cvs-serv337 Log Message: Import tzdata2020f from ftp://ftp.iana.org/tz/releases/tzdata2020f.tar.gz Release 2020f -

CVS commit: src/include

2020-12-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Dec 4 23:04:58 UTC 2020 Modified Files: src/include: unistd.h Log Message: Correct typo in previous. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161 src/include/unistd.h Please note that diffs are not public

CVS commit: src/sbin/dump

2020-12-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Dec 3 08:25:57 UTC 2020 Modified Files: src/sbin/dump: dump.h main.c Log Message: PR bin/55834 count blocks written in unsigned 64 bit counter rather than signed int which overflows after 2^31-1 blocks (2TiB) after which

CVS commit: src/tests/bin/date

2020-10-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 30 22:03:36 UTC 2020 Modified Files: src/tests/bin/date: t_date.sh Log Message: Update the test a little so that is possible to pass (if date fails, because of bad or out of range input to parsedate, it cannot be expected to

CVS commit: src/lib/libutil

2020-10-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 30 22:03:11 UTC 2020 Modified Files: src/lib/libutil: parsedate.y Log Message: PR lib/46542 Add checks to detect overflow, and also detect other invalid (out of range) inputs for parsedate(). There could be more, and some

CVS commit: src/doc

2020-10-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Oct 22 08:26:00 UTC 2020 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Note update to tzdata 2020d To generate a diff of this commit: cvs rdiff -u -r1.1755 -r1.1756 src/doc/3RDPARTY cvs rdiff -u -r1.2749 -r1.2750

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

2020-10-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Oct 22 08:24:04 UTC 2020 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION Log Message: Merge tzdata2020d To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

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

2020-10-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Oct 22 08:23:45 UTC 2020 Update of /cvsroot/src/external/public-domain/tz/dist In directory ivanova.netbsd.org:/tmp/cvs-serv1984 Log Message: Import tzdata2020d from ftp://ftp.iana.org/tz/releases/tzdata2020d.tar.gz Summary of changes

CVS commit: src/lib/libutil

2020-10-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Oct 19 17:47:45 UTC 2020 Modified Files: src/lib/libutil: parsedate.y Log Message: Check the year field of a tentative ISO-8601 date format for overflow before committing to it being an 8601 format date, rather than after (or

CVS commit: src/lib/libutil

2020-10-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Oct 19 15:08:17 UTC 2020 Modified Files: src/lib/libutil: parsedate.y Log Message: For touch -d (which uses parsedate()) POSIX specifies that the ISO-8601 format -mm-ddTHH:MM:SS[radix_and+frac][Z] be accepted. We didn't

CVS commit: src/lib/libutil

2020-10-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Oct 19 15:08:39 UTC 2020 Modified Files: src/lib/libutil: parsedate.3 Log Message: Catch the parsedate man page up with recent updates, ans also include some general improvements I've had kicking around for a long time, but

CVS commit: src/tests/lib/libutil

2020-10-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Oct 19 15:06:49 UTC 2020 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Adapt for change to parsedate() which now follows POSIX and altered the dividing line between 21st and 20th century conversions from

CVS commit: src/lib/libutil

2020-10-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Oct 19 15:05:53 UTC 2020 Modified Files: src/lib/libutil: parsedate.y Log Message: POSIX requires that when converting 2 digit year representations to actual specific years, values from 69-99 be treated as 20th century, and

CVS commit: src/doc

2020-10-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Oct 17 08:29:48 UTC 2020 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Note update of tzdata from 2020b to 2020c To generate a diff of this commit: cvs rdiff -u -r1.1753 -r1.1754 src/doc/3RDPARTY cvs rdiff -u -r1.2746

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

2020-10-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Oct 17 08:27:56 UTC 2020 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION Log Message: Merge tzdata2020c To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

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

2020-10-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Oct 17 08:27:35 UTC 2020 Update of /cvsroot/src/external/public-domain/tz/dist In directory ivanova.netbsd.org:/tmp/cvs-serv5564 Log Message: Import tzdata2020c from ftp://ftp.iana.org/tz/releases/tzdata2020c.tar.gz News for the tz

CVS commit: src/external/public-domain/tz/share/zoneinfo

2020-10-08 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Oct 8 13:44:36 UTC 2020 Modified Files: src/external/public-domain/tz/share/zoneinfo: Makefile Log Message: tzdata 2020b: the ancient systemv and pacificnew zone files are gone, as is the yearistype.sh script (2020b zic,

CVS commit: src/doc

2020-10-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Oct 8 04:30:04 UTC 2020 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Note update to tzdata 2020b To generate a diff of this commit: cvs rdiff -u -r1.1749 -r1.1750 src/doc/3RDPARTY cvs rdiff -u -r1.2743 -r1.2744

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

2020-10-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Oct 8 04:27:36 UTC 2020 Update of /cvsroot/src/external/public-domain/tz/dist In directory ivanova.netbsd.org:/tmp/cvs-serv16741 Log Message: Import tzdata2020b from ftp://ftp.iana.org/tz/releases/tzdata2020b.tar.gz Summary of changes

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

2020-10-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Oct 8 04:28:00 UTC 2020 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION Removed Files: src/external/public-domain/tz/dist: pacificnew systemv yearistype.sh Log Message: Merge tzdata2020b To generate

CVS commit: src/games/factor

2020-10-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 4 14:22:52 UTC 2020 Modified Files: src/games/factor: factor.6 Log Message: Fix a typo (s/int/in/) To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/games/factor/factor.6 Please note that diffs are not

CVS commit: src/bin/sh

2020-09-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 18 06:48:28 UTC 2020 Modified Files: src/bin/sh: sh.1 Log Message: Correct an incorrectly quoted (unquoted, but should be) example used in the "local" built-in command description (pointed out by mrg@ via uwe@ in private

CVS commit: src/external/bsd/atf/dist/atf-sh

2020-09-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Sep 10 22:51:11 UTC 2020 Modified Files: src/external/bsd/atf/dist/atf-sh: libatf-sh.subr Log Message: Replace a pipe into tr to normalise a var name (convert '.' or '-' into '_' to meet sh variable name rules) into a shell

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

2020-09-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Sep 10 17:40:34 UTC 2020 Modified Files: src/tests/usr.bin/make: t_make.sh Log Message: Whitespace. NFC. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/tests/usr.bin/make/t_make.sh Please note that diffs

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

2020-09-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Sep 10 17:33:17 UTC 2020 Modified Files: src/tests/usr.bin/make: t_make.sh Log Message: Replace use of tr to translate '-' in test names into '_' to satisfy ATF requirements (correct sh variable/function name syntax). Use a sh

CVS commit: src/bin/sh

2020-08-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Aug 30 19:45:05 UTC 2020 Modified Files: src/bin/sh: jobs.c Log Message: Since "struct job" gained a pgrp member some time ago now, use it instead of simply assuming that the pid of the first (leftmost) process in a pipeline is

CVS commit: src/bin/kill

2020-08-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Aug 30 19:41:39 UTC 2020 Modified Files: src/bin/kill: kill.1 Log Message: Note that negative pid args are permitted (indicating to send to the pgrp abs(pid)) and indicate that -- is (strictly) needed if the first pid arg (there

CVS commit: src/bin/kill

2020-08-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Aug 30 19:35:10 UTC 2020 Modified Files: src/bin/kill: kill.c Log Message: Every integer that fits within a pid_t is a potential "pid" arg to kill. That means we cannot use (pid_t)-1 as an error indicator, as that's a valid pid

CVS commit: src/bin/kill

2020-08-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Aug 30 16:10:40 UTC 2020 Modified Files: src/bin/kill: kill.1 kill.c Log Message: Use the POSIX specified format if POSIXLY_CORRECT is set in the environment, rather than the nicer layout that is normally used. Note this

CVS commit: src/bin/sh

2020-08-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Aug 25 19:42:02 UTC 2020 Modified Files: src/bin/sh: sh.1 Log Message: Idiot typo, generated by an idiot, fixed by the same one. To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227 src/bin/sh/sh.1 Please note that

CVS commit: src/bin/sh

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 23:19:34 UTC 2020 Modified Files: src/bin/sh: sh.1 Log Message: Man page enhancements. Better describe the command search procedure. Document "trap -P" Describe what works as a function name. More accurate description of

CVS commit: src/bin/sh

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 23:09:56 UTC 2020 Modified Files: src/bin/sh: eval.c trap.c Log Message: Be less conservative about when we do clear_traps() when we have traps_invalid (that is, when we actually nuke the parent shell's caught traps in a

CVS commit: src/bin/sh

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 23:03:17 UTC 2020 Modified Files: src/bin/sh: jobs.c Log Message: Add lots of comments explaining what is happening in here. Also enhance some of the DEBUG mode trace output (nothing visible in a normal shell build). A

CVS commit: src/lib/libc/gen

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 22:56:56 UTC 2020 Modified Files: src/lib/libc/gen: signalname.3 signalnumber.c Log Message: When not compiling -DSMALL permit use of names RTMIN[+n] and RTMAX[-n] (where n is a decimal integer in the range [0 ..

CVS commit: src/bin/sh

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 16:15:50 UTC 2020 Modified Files: src/bin/sh: trap.c Log Message: Whitespace. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/bin/sh/trap.c Please note that diffs are not public domain; they

CVS commit: src/bin/sh

2020-08-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Aug 19 22:41:47 UTC 2020 Modified Files: src/bin/sh: parser.c Log Message: For now, probably forever, prohibit unquoted $ and ` in the names of functions being defined (they can still be included if quoted). If we parsed the

CVS commit: src/bin/sh

2020-08-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Aug 1 17:56:56 UTC 2020 Modified Files: src/bin/sh: expand.c Log Message: Remove a redundant set of parentheses that were added (along with a extra && or || or something ... forgotten now) as part a failed attempt to fix an

CVS commit: src/bin/sh

2020-08-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Aug 1 17:51:18 UTC 2020 Modified Files: src/bin/sh: exec.c Log Message: PR bin/55526 Fix a bug that has existed since the "command" command was added in 2003. "command foo" would cause the definition of a function "foo" to

CVS commit: src/lib/libc/gen

2020-05-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon May 11 14:54:34 UTC 2020 Modified Files: src/lib/libc/gen: posix_spawnp.c Log Message: Do as the manual says, and use _PATH_DEFPATH if PATH is not present in the environment rather than simply turning into posix_spawn() in that

CVS commit: src/bin/kill

2020-05-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 6 13:13:50 UTC 2020 Modified Files: src/bin/kill: kill.1 Log Message: Bump date for previous change... I frequently forget that bit. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/bin/kill/kill.1

CVS commit: src/bin/kill

2020-05-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 6 09:07:15 UTC 2020 Modified Files: src/bin/kill: kill.1 Log Message: kill is built-in to more than just csh(1). While here, add missing Xr sh 1 (which was previously needed, moreso now) and also include STOP and CONT in

CVS commit: src

2020-04-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 25 12:18:48 UTC 2020 Modified Files: src/distrib/sets/lists/base: mi src/doc: 3RDPARTY CHANGES Log Message: Update to tzdata2020a (new zone file America/Nuuk) XXX pullup -8 -9 To generate a diff of this commit:

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

2020-04-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 25 12:17:17 UTC 2020 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION Log Message: Merge tzdata2020a To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

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

2020-04-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 25 12:17:00 UTC 2020 Update of /cvsroot/src/external/public-domain/tz/dist In directory ivanova.netbsd.org:/tmp/cvs-serv24977 Log Message: Import tzdata2020a from ftp://ftp.iana.org/tz/releases/tzdata2020a.tar.gz Summary of changes

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

2020-04-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Apr 24 14:29:19 UTC 2020 Modified Files: src/tests/usr.bin/printf: printf.sh Log Message: ATF runs shell script tests with "sh -e" (WHY???) Compensate for that by adding an explicit test to a command so -e will not kill the

CVS commit: src/usr.bin/units

2020-04-23 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Apr 23 09:38:17 UTC 2020 Modified Files: src/usr.bin/units: units.lib Log Message: If we're having Thai units, make them correct. A tarangwah is a square wah, which is ~4m^2 but not exactly (just as a wah is not exactly 2m, but

CVS commit: src/bin/sh

2020-04-23 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Apr 23 09:01:33 UTC 2020 Modified Files: src/bin/sh: eval.c Log Message: Stop forcing the -e option off in the subshell createds for a command substitution. This was inherited in the big "-e" fixup patch set (rev 1.50) of Jan

CVS commit: src/sys/arch/arm/arm32

2020-04-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Apr 19 19:36:49 UTC 2020 Modified Files: src/sys/arch/arm/arm32: pmap.c Log Message: Give UVMHIST_LOG() the 6 args it requires. Unbreak builds. To generate a diff of this commit: cvs rdiff -u -r1.409 -r1.410

CVS commit: src/tests/lib/libi386

2020-04-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Apr 19 18:07:00 UTC 2020 Modified Files: src/tests/lib/libi386: Makefile Log Message: Define TESTSDIR even when not amd64 so the Atffile will be installed in the correct location. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/onewire

2020-04-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Apr 14 15:36:02 UTC 2020 Modified Files: src/sys/dev/onewire: onewire.c Log Message: Only include opt_xxx.h headers when _KERNEL_OPT is defined. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src

2020-04-13 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Apr 14 03:16:27 UTC 2020 Modified Files: src/distrib/sets/lists/base: mi src/external/bsd/dhcpcd/libexec/dhcpcd-hooks: Makefile Log Message: Since dhcpcd-hools/02-dump seems to have been removed from the repository,

CVS commit: src/usr.sbin/makefs/ffs

2020-03-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Mar 26 04:25:28 UTC 2020 Modified Files: src/usr.sbin/makefs/ffs: mkfs.c Log Message: Fix the build, use %jd and (intmax_t) cast for big numbers, off_t and ptrdiff_t aren't always the same size. To generate a diff of this

CVS commit: src/lib/libc/string

2020-03-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 25 16:15:41 UTC 2020 Modified Files: src/lib/libc/string: strerror_r.c Log Message: Arrange that strerror(-1) prints "Unknown error: -1" and not the unsigned equivalent of -1. While here, guarantee, even when !NLS, that

CVS commit: src

2020-03-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 25 18:45:42 UTC 2020 Modified Files: src/distrib/sets/lists/comp: mi src/lib/libc/string: Makefile.inc strerror.3 Log Message: Document strerror_l() While here also document (but comment it out since it isn't

CVS commit: src/lib/libc/string

2020-03-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 25 16:10:17 UTC 2020 Modified Files: src/lib/libc/string: strerror.c Log Message: Protect against malloc failure corrupting errno, which is not permitted of these functions. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/string

2020-03-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 25 18:50:47 UTC 2020 Modified Files: src/lib/libc/string: strerror.3 Log Message: Delete the BUGS paragraph about the "missing" const qualifier for the result type of strerror() (and strerror_l()). While that once should

CVS commit: src/lib/librumpuser

2020-03-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Mar 24 14:56:32 UTC 2020 Modified Files: src/lib/librumpuser: rumpuser_sp.c Log Message: If we're going to loop, pausing and then retrying malloc() after it has failed, in the hope that some other thread has free'd some memory,

CVS commit: src/sys/dev/usb

2020-03-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 18 11:33:32 UTC 2020 Modified Files: src/sys/dev/usb: if_aue.c Log Message: This was still not correct,. USB_DEBUG is what mattered, not AUE_DEBUG, the two are orthogonal. Just do it the way that should work, rather than

CVS commit: src/sys/arch/xen/xen

2020-03-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Mar 17 05:04:11 UTC 2020 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: #if 0 the declaration and definition of xennetback_tx_free() Since it is never otherwise referenced, this cannot make any current

CVS commit: src/bin/sh

2020-02-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 13 05:19:05 UTC 2020 Modified Files: src/bin/sh: expand.c expand.h Log Message: When expanding a here-doc (NXHERE - the type with an unquoted end delim) the output will not be further processed (at all) so there is no need

CVS commit: src/bin/sh

2020-02-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Feb 7 02:06:13 UTC 2020 Modified Files: src/bin/sh: jobs.c Log Message: Avoid a core dump if a child process that is not one of our children happens to exit while we are waiting for another child to exit. This can happen with

CVS commit: src/bin/sh

2020-02-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 6 20:08:28 UTC 2020 Modified Files: src/bin/sh: main.c Log Message: Actually, the issue with bash (in previous) is more likely that the SIGCHLD is blocked rather than ignored. We want neither. Make sure SIGCHLD is

CVS commit: src/bin/sh

2020-02-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 6 19:51:59 UTC 2020 Modified Files: src/bin/sh: main.c Log Message: If we are invoked with SIGCHLD ignored, we fail badly, as we assume that we can always wait(2) for our children, and an ignored SIGCHLD prevents that.

CVS commit: src/bin/sh

2020-02-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Feb 5 14:56:26 UTC 2020 Modified Files: src/bin/sh: options.c Log Message: Oops, the previous didn't do what was promised. Rather that ignoring just "--" for exec & "." it ignored any first arg starting '-'. Do it properly.

CVS commit: src/bin/sh

2020-02-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Feb 4 16:06:59 UTC 2020 Modified Files: src/bin/sh: eval.c options.c Log Message: After bug report 262 (from 2010) https://austingroupbugs.net/view.php?id=252 the Austin Group decided to require processing of "--" by

CVS commit: src/sys/conf

2020-02-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Feb 3 13:28:11 UTC 2020 Modified Files: src/sys/conf: majors.usb Log Message: urio has gone. Comment it out (remaining visible to hold the number) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/dev/usb

2020-02-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Feb 3 12:56:27 UTC 2020 Modified Files: src/sys/dev/usb: files.usb Log Message: urio(4) has gone - remove it from here as well, so any kernel config files that reference it will fail to configure, rather than later failing to

CVS commit: src/distrib/miniroot

2020-01-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jan 19 00:57:00 UTC 2020 Modified Files: src/distrib/miniroot: install.sub Log Message: test ! -n "$foo" is just a quaint way of saying test -z "$foo" and test ! -z "$foo" is really just test -n "$foo" so let's just use the

CVS commit: src/distrib/miniroot

2020-01-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jan 19 00:50:25 UTC 2020 Modified Files: src/distrib/miniroot: install.sub Log Message: The idiom set $whatever while [ $# - gt 10 ]; do shift 10; done eval echo \$$# fails when $# turns out to be 10

  1   2   3   4   5   6   7   8   9   10   >