CVS commit: src/lib/libc/time

2024-02-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Feb 18 12:47:08 UTC 2024 Modified Files: src/lib/libc/time: strftime.c Log Message: Revert this part: strftime %s now uses tm_gmtoff if available. (Problem and draft patch reported by Dag-Erling Smørgrav.) of t

CVS commit: src/lib/libc/time

2024-02-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Feb 18 12:47:08 UTC 2024 Modified Files: src/lib/libc/time: strftime.c Log Message: Revert this part: strftime %s now uses tm_gmtoff if available. (Problem and draft patch reported by Dag-Erling Smørgrav.) of t

CVS commit: src/usr.bin/stat

2024-03-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Mar 14 19:38:56 UTC 2024 Modified Files: src/usr.bin/stat: stat.c Log Message: While the change in 1.51 certainly retained binary compat with what was in 1.50 (while silencing LINT) - it was clearly not the correct change to make

CVS commit: src/usr.bin/stat

2024-03-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Mar 14 19:38:56 UTC 2024 Modified Files: src/usr.bin/stat: stat.c Log Message: While the change in 1.51 certainly retained binary compat with what was in 1.50 (while silencing LINT) - it was clearly not the correct change to make

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

2024-03-14 Thread Robert Elz
Date:Thu, 14 Mar 2024 20:53:13 +0100 From:Roland Illig Message-ID: <9c7513f7-97b5-4d3b-9d66-dce483af7...@gmx.de> | I don't think the flags '+' and '0' make sense for strings, that's why I | decided to preserve existing behavior. But the change only affected thing

CVS commit: src/lib/libm/src

2024-04-02 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Apr 3 04:40:23 UTC 2024 Modified Files: src/lib/libm/src: math_private.h Log Message: For i386, if ft[sg]etprec() are to be used, ensure there's a prototype for them in scope (so include ) Might fix the i386 build. To generat

CVS commit: src/lib/libm/src

2024-04-02 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Apr 3 04:40:23 UTC 2024 Modified Files: src/lib/libm/src: math_private.h Log Message: For i386, if ft[sg]etprec() are to be used, ensure there's a prototype for them in scope (so include ) Might fix the i386 build. To generat

CVS commit: src/external

2024-04-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Apr 5 08:51:27 UTC 2024 Modified Files: src/external: Makefile src/external/mit/libuv/lib: Makefile Log Message: Probable hack fix for current build breakage. Make sure to build external/mit before external/mpl (as bind

CVS commit: src/external

2024-04-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Apr 5 08:51:27 UTC 2024 Modified Files: src/external: Makefile src/external/mit/libuv/lib: Makefile Log Message: Probable hack fix for current build breakage. Make sure to build external/mit before external/mpl (as bind

Re: CVS commit: src/external

2024-04-05 Thread Robert Elz
Date:Fri, 5 Apr 2024 08:51:27 + From:"Robert Elz" Message-ID: <20240405085127.b998ef...@cvs.netbsd.org> Christos, this seems to fix the builds, but I doubt it is really done correctly (and I don't just mean the overlong line I left in src/ex

CVS commit: src/external/mit/libuv/lib

2024-04-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Apr 5 12:03:24 UTC 2024 Modified Files: src/external/mit/libuv/lib: Makefile Log Message: Revert last, the .pic file is used elsewhere. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/mit/libuv/lib/Mak

CVS commit: src/external/mit/libuv/lib

2024-04-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Apr 5 12:03:24 UTC 2024 Modified Files: src/external/mit/libuv/lib: Makefile Log Message: Revert last, the .pic file is used elsewhere. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/mit/libuv/lib/Mak

CVS commit: src/bin/sh

2024-04-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 6 14:20:27 UTC 2024 Modified Files: src/bin/sh: mkoptions.sh Log Message: Redo the mktemp(1) part - some mktemp's (including ours) require the 's to be at the end of the name (like mk*temp(3)) so however well it will wor

CVS commit: src/bin/sh

2024-04-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 6 14:20:27 UTC 2024 Modified Files: src/bin/sh: mkoptions.sh Log Message: Redo the mktemp(1) part - some mktemp's (including ours) require the 's to be at the end of the name (like mk*temp(3)) so however well it will wor

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

2024-04-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Apr 7 21:33:12 UTC 2024 Modified Files: src/distrib/sets/lists/base: mi Log Message: Revert last, unbreak build. Unless the bind Makefiles start installing a /var/run/named file (which in general would be wrong, as most sites

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

2024-04-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Apr 7 21:33:12 UTC 2024 Modified Files: src/distrib/sets/lists/base: mi Log Message: Revert last, unbreak build. Unless the bind Makefiles start installing a /var/run/named file (which in general would be wrong, as most sites

CVS commit: src/sbin/ifconfig

2024-04-08 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Apr 8 09:25:25 UTC 2024 Modified Files: src/sbin/ifconfig: ifconfig.8 Log Message: Correct a very minor typo (s/id/is/) To generate a diff of this commit: cvs rdiff -u -r1.126 -r1.127 src/sbin/ifconfig/ifconfig.8 Please note

CVS commit: src/sbin/ifconfig

2024-04-08 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Apr 8 09:25:25 UTC 2024 Modified Files: src/sbin/ifconfig: ifconfig.8 Log Message: Correct a very minor typo (s/id/is/) To generate a diff of this commit: cvs rdiff -u -r1.126 -r1.127 src/sbin/ifconfig/ifconfig.8 Please note

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

2024-04-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Apr 9 21:02:17 UTC 2024 Modified Files: src/distrib/sets/lists/etc: mi Log Message: Revert previous, we have no /etc/skel/.editrc (currently anyway). This change looks to have been accidentally included in the big sets reduction

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

2024-04-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Apr 9 21:02:17 UTC 2024 Modified Files: src/distrib/sets/lists/etc: mi Log Message: Revert previous, we have no /etc/skel/.editrc (currently anyway). This change looks to have been accidentally included in the big sets reduction

Re: CVS commit: src

2024-04-10 Thread Robert Elz
Date:Thu, 11 Apr 2024 02:15:39 + From:"Taylor R Campbell" Message-ID: <20240411021539.a3272f...@cvs.netbsd.org> | However, this means that update builds need manual intervention to | delete $DESTDIR/var/run/named or else checkflist will fail, so add a | note

CVS commit: src/bin/sh

2024-04-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Apr 12 19:09:50 UTC 2024 Modified Files: src/bin/sh: sh.1 Log Message: Edgar Fuß pointed out that sh(1) did not mention comments (at all). This has been true forever, and no-one else (including me) ever seems to have noticed this

CVS commit: src/bin/sh

2024-04-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Apr 12 19:09:50 UTC 2024 Modified Files: src/bin/sh: sh.1 Log Message: Edgar Fuß pointed out that sh(1) did not mention comments (at all). This has been true forever, and no-one else (including me) ever seems to have noticed this

CVS commit: src/external/mpl/bind/lib/plugins

2024-04-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Apr 14 08:29:54 UTC 2024 Modified Files: src/external/mpl/bind/lib/plugins: Makefile Log Message: Revert previous until Christos has a chance to work out why it breaks the builds. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/external/mpl/bind/lib/plugins

2024-04-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Apr 14 08:29:54 UTC 2024 Modified Files: src/external/mpl/bind/lib/plugins: Makefile Log Message: Revert previous until Christos has a chance to work out why it breaks the builds. To generate a diff of this commit: cvs rdiff -u

Re: CVS commit: src/external/bsd/ntp/lib/libntp

2024-04-19 Thread Robert Elz
Date:Thu, 18 Apr 2024 19:23:54 + From:"Jonathan A. Kollasch" Message-ID: <20240418192354.1bcc1f...@cvs.netbsd.org> | Module Name:src | Committed By: jakllsch | Date: Thu Apr 18 19:23:54 UTC 2024 | | Modified Files: | src

Re: CVS commit: src/external/bsd/ntp/lib/libntp

2024-04-19 Thread Robert Elz
Date:Fri, 19 Apr 2024 14:57:46 +0200 From:Martin Husemann Message-ID: <20240419125746.gb26...@mail.duskware.de> | On Fri, Apr 19, 2024 at 02:47:23PM +0200, Martin Husemann wrote: | > The commit message could have explained that a bit. | | And it actually shoul

Re: CVS commit: src/external/bsd/ntp/lib/libntp

2024-04-19 Thread Robert Elz
Date:Fri, 19 Apr 2024 14:58:18 + From:"Jonathan A. Kollasch" Message-ID: <20240419145818.351d2f...@cvs.netbsd.org> | - bail out if resulting __DATE__/__TIME__ replacement strings are empty If you want to do that (not that it would be useful, even if the %b (et

Re: CVS commit: src/lib/libutil

2024-05-01 Thread Robert Elz
Date:Wed, 1 May 2024 22:27:02 +0200 From:Roland Illig Message-ID: <754bd755-be0a-4eff-aa7b-d53fce9b4...@gmx.de> | > Log Message: | > next should increement by 1 not 2. | | Are you sure? I agree, that change should be reverted. "next" is even documented to be

CVS commit: src/tests/lib/libm

2024-05-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu May 2 03:30:07 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: Use intmax_t instead of long int when trying to represent very large integers (10^50 or so), so we don't exceed the capacity of systems where

CVS commit: src/tests/lib/libm

2024-05-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu May 2 03:30:07 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: Use intmax_t instead of long int when trying to represent very large integers (10^50 or so), so we don't exceed the capacity of systems where

Re: CVS commit: src/tests/lib/libm

2024-05-01 Thread Robert Elz
And yes, I know, it should have been 2^50 not 10^50... kre

CVS commit: src/distrib/common

2024-05-08 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu May 9 03:41:05 UTC 2024 Modified Files: src/distrib/common: Makefile.bootcd Log Message: No point testing if the spec file is empty before running makespec, the previous commands guarantee that cannot be the case, so makespec wa

CVS commit: src/distrib/common

2024-05-08 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu May 9 03:41:05 UTC 2024 Modified Files: src/distrib/common: Makefile.bootcd Log Message: No point testing if the spec file is empty before running makespec, the previous commands guarantee that cannot be the case, so makespec wa

Re: CVS commit: src/distrib/common

2024-05-09 Thread Robert Elz
Date:Thu, 9 May 2024 12:09:03 -0400 From:"Christos Zoulas" Message-ID: <20240509160903.6e41bf...@cvs.netbsd.org> | Instead of augmenting the platform spec with an autogenerated one, | we should understand why we have missing entries in the first place. Is it real

Re: CVS commit: src/distrib/common

2024-05-09 Thread Robert Elz
Date:Thu, 9 May 2024 17:44:16 -0400 From:Christos Zoulas Message-ID: <9c618434-9d7b-4f1c-97ed-3260b7f36...@zoulas.com> | I am not sure either but the resulting cd does not boot anymore. Which version? It has been a long time since I needed to boot from an optical

Re: CVS commit: src/bin/echo

2024-05-14 Thread Robert Elz
Date:Tue, 14 May 2024 12:41:51 +0300 From:Valery Ushakov Message-ID: | Unfortunately that advice is not true without further caveats. That you have to actually write a valid printf(1) command, and not simply s/echo/printf/ ? Does that really need saying? | n

Re: CVS commit: src/bin/echo

2024-05-14 Thread Robert Elz
Date:Wed, 15 May 2024 02:33:23 +0300 From:Valery Ushakov Message-ID: | I vaguely remember I read somewhere that printf(1) was specifically | conceived to take no options, but that can be planted memories. May | be it's indeed induced by the old state of affair

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

2024-06-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jun 2 00:21:12 UTC 2024 Modified Files: src/external/public-domain/tz/share/zoneinfo: Makefile Log Message: Install /usr/share/zoneinfo/leap-seconds.list Requested by Mallory Adams in tech-userlevel@ a couple of weeks ago. XXX

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

2024-06-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jun 2 00:21:12 UTC 2024 Modified Files: src/external/public-domain/tz/share/zoneinfo: Makefile Log Message: Install /usr/share/zoneinfo/leap-seconds.list Requested by Mallory Adams in tech-userlevel@ a couple of weeks ago. XXX

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

2024-06-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jun 2 00:22:21 UTC 2024 Modified Files: src/distrib/sets/lists/base: mi Log Message: Include usr/share/zoneinfo/leap-seconds.list To generate a diff of this commit: cvs rdiff -u -r1.1344 -r1.1345 src/distrib/sets/lists/base/mi

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

2024-06-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jun 2 00:22:21 UTC 2024 Modified Files: src/distrib/sets/lists/base: mi Log Message: Include usr/share/zoneinfo/leap-seconds.list To generate a diff of this commit: cvs rdiff -u -r1.1344 -r1.1345 src/distrib/sets/lists/base/mi

Re: CVS commit: src/sys/kern

2019-08-19 Thread Robert Elz
Date:Mon, 19 Aug 2019 05:32:42 -0400 From:"Christos Zoulas" Message-ID: <20190819093242.88152f...@cvs.netbsd.org> | Log Message: | If we could not start extattr for some reason, don't advertise extattr | in the mount. I would have expected a better result would

Re: CVS commit: src

2019-09-02 Thread Robert Elz
Date:Tue, 3 Sep 2019 04:07:16 + From:Taylor R Campbell Message-ID: <20190903040716.a6abe60...@jupiter.mumble.net> | How do we clean it up? | I am not seeing a good way out of this. I do, but you are all refusing to permit it ... simply abandon support for ca

Re: CVS commit: src

2019-09-03 Thread Robert Elz
Date:Tue, 3 Sep 2019 11:30:03 +0100 From:Sevan Janiyan Message-ID: | That would break support for building on macos Yes, I guessed that was the incentive for keeping it, but doesn't macos have the ability to turn that off? Is it really such a huge imposition to

Re: CVS commit: src/bin/ps

2019-09-11 Thread Robert Elz
Date:Wed, 11 Sep 2019 17:02:53 + From:"Kamil Rytarowski" Message-ID: <20190911170253.d097ff...@cvs.netbsd.org> | Free it when no longer used, just before the program termination. Can we please avoid this kind of nonsense. Everything is freed when every progra

Re: CVS commit: src/bin/ps

2019-09-11 Thread Robert Elz
Date:Wed, 11 Sep 2019 21:13:24 +0200 From:Kamil Rytarowski Message-ID: <6c853bc7-6510-459e-d451-51f988617...@gmx.com> | We have got even fixups in libc for such "nonsense" cases. Why? In 99% (or more) of libc the fixes are relevant, as those functions can be call

Re: Leak Sanitizer - how to suppress leaks

2019-09-12 Thread Robert Elz
Date:Thu, 12 Sep 2019 02:58:41 +0200 From:Kamil Rytarowski Message-ID: <373b9331-5306-9797-b4bd-8f6c52683...@gmx.com> | I have tested interactive sh(1) with LSan and it does not leak when | used. It doesn't matter what code (if any) you run, there is always memor

Re: Leak Sanitizer - how to suppress leaks

2019-09-12 Thread Robert Elz
Date:Thu, 12 Sep 2019 15:12:25 +0200 From:Kamil Rytarowski Message-ID: <2a6e1fb2-cedc-4a57-750b-45f101be9...@gmx.com> | This proposal is practically equivalent of disabling leak detection at | all and removes the whole purpose. No it isn't. Or rather, it might

Re: Leak Sanitizer - how to suppress leaks

2019-09-13 Thread Robert Elz
Date:Fri, 13 Sep 2019 02:07:43 +0200 From:Kamil Rytarowski Message-ID: <1ea33d0c-fb0f-ecdd-1706-b11841dc6...@gmx.com> | Please note that in all arguments about leak sanitization, that it uses | internally the same mechanism as garbage collectors. lsan and libgc (a

Re: Leak Sanitizer - how to suppress leaks

2019-09-13 Thread Robert Elz
Date:Fri, 13 Sep 2019 19:03:40 +0700 From:Robert Elz Message-ID: <24855.1568376...@jinx.noi.kre.to> | Even lint had that ability from is beginning (30 years ago). 40. I cannot subtract... (and s/is/its/ - I cannot type either!) kre

Re: Leak Sanitizer - how to suppress leaks

2019-09-15 Thread Robert Elz
Date:Sun, 15 Sep 2019 19:42:06 + From:David Holland Message-ID: <20190915194206.gb6...@netbsd.org> | There have been OSes in the past where memory not freed yet at process | exit is _not_ freed by the system, and there might be again, Please everyone, let's r

CVS commit: src/sys/dev/ic

2019-09-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Sep 21 12:57:25 UTC 2019 Modified Files: src/sys/dev/ic: mpt.c Log Message: bus_addt_t is different widths on different archs, so there is no one simple %?x format that will always work to print it. Cast to intmax_t and use %jx

CVS commit: src/sys/dev/ic

2019-09-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Sep 21 12:57:25 UTC 2019 Modified Files: src/sys/dev/ic: mpt.c Log Message: bus_addt_t is different widths on different archs, so there is no one simple %?x format that will always work to print it. Cast to intmax_t and use %jx

CVS commit: src/tests/fs/vfs

2019-09-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Sep 21 14:25:42 UTC 2019 Modified Files: src/tests/fs/vfs: t_ro.c Log Message: Initialise the sometvs array of struct timeval that is to be used to validate that utimes() cannot update the times of a file on a read only filesyste

CVS commit: src/tests/fs/vfs

2019-09-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Sep 21 14:25:42 UTC 2019 Modified Files: src/tests/fs/vfs: t_ro.c Log Message: Initialise the sometvs array of struct timeval that is to be used to validate that utimes() cannot update the times of a file on a read only filesyste

Re: CVS commit: src/sys/dev/ic

2019-09-21 Thread Robert Elz
Date:Sat, 21 Sep 2019 09:26:21 -0700 From:Jason Thorpe Message-ID: | Should we make a PRIxxx macro for it? [since I deleted the context: "it" is bus_addr_t] Perhaps, for this particular case it doesn't really matter, but if code is likely to be printing buss_addr

Re: CVS commit: src/sys/dev/ic

2019-09-21 Thread Robert Elz
Date:Sat, 21 Sep 2019 19:06:15 +0100 From:Nick Hudson Message-ID: | http://src.illumos.org/source/search?q=PRIxBUSADDR&defs=PRIxBUSADDR&refs=&path=&hist=&project=netbsd-src That shows that mips and arm have PRIxBUSADDR - we'd need it in all the other ports before

Re: CVS commit: src/sys/dev/ic

2019-09-21 Thread Robert Elz
Date:Sun, 22 Sep 2019 01:23:41 +0700 From:Robert Elz Message-ID: <8235.1569090...@jinx.noi.kre.to> | we'd need it in all the other ports before it can be used in MD code. I meant MI code of course... kre

Re: CVS commit: src/sys/dev/ic

2019-09-22 Thread Robert Elz
Date:Sun, 22 Sep 2019 07:23:00 +0100 From:Nick Hudson Message-ID: <793d2380-8d1a-78ab-3682-0468aea0d...@gmx.co.uk> | I was merely pointing out that it exists already. Understood, and thanks - at a minimum that will avoid adding it with a different name. | I'm ha

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

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

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

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

CVS commit: src/bin/sh

2022-04-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 16 14:20:45 UTC 2022 Modified Files: src/bin/sh: miscbltin.c mystring.c options.c parser.c Log Message: Avoid generating error messages implying that user errors are illegal. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/bin/sh

2022-04-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 16 14:20:45 UTC 2022 Modified Files: src/bin/sh: miscbltin.c mystring.c options.c parser.c Log Message: Avoid generating error messages implying that user errors are illegal. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/bin/sh

2022-04-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 16 14:23:36 UTC 2022 Modified Files: src/bin/sh: miscbltin.c Log Message: While doing the previous change, I noticed that when used in a particularly perverse way, the error message for a bad octal constant as the new umask v

CVS commit: src/bin/sh

2022-04-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 16 14:23:36 UTC 2022 Modified Files: src/bin/sh: miscbltin.c Log Message: While doing the previous change, I noticed that when used in a particularly perverse way, the error message for a bad octal constant as the new umask v

CVS commit: src/bin/sh

2022-04-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 16 14:26:26 UTC 2022 Modified Files: src/bin/sh: miscbltin.c Log Message: Redo the way the builtin cmd 'ulimit' getopt() (nextopt() really, but it is essentially the same) arg string is generated, to lessen the chances that t

CVS commit: src/bin/sh

2022-04-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 16 14:26:26 UTC 2022 Modified Files: src/bin/sh: miscbltin.c Log Message: Redo the way the builtin cmd 'ulimit' getopt() (nextopt() really, but it is essentially the same) arg string is generated, to lessen the chances that t

CVS commit: src/bin/sh

2022-04-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Apr 18 06:02:27 UTC 2022 Modified Files: src/bin/sh: jobs.c Log Message: Introduce a new macro JNUM to replace the idiom jp-jobtab+1 (the job number, given jp a pointer to a jobs table entry) used open coded previously in many pl

CVS commit: src/bin/sh

2022-04-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Apr 18 06:02:27 UTC 2022 Modified Files: src/bin/sh: jobs.c Log Message: Introduce a new macro JNUM to replace the idiom jp-jobtab+1 (the job number, given jp a pointer to a jobs table entry) used open coded previously in many pl

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 src/bin/kill/kill.

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 src/bin/kill/kill.

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 d

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

2022-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jun 14 08:05:56 UTC 2022 Modified Files: src/sbin/raidctl: raidctl.c Log Message: KNF (whitespace & 80 column limits) - NFCI. This is the first of a series of 5 commits in this directory, all coming within minutes or now. To g

CVS commit: src/sbin/raidctl

2022-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jun 14 08:05:56 UTC 2022 Modified Files: src/sbin/raidctl: raidctl.c Log Message: KNF (whitespace & 80 column limits) - NFCI. This is the first of a series of 5 commits in this directory, all coming within minutes or now. To g

CVS commit: src/sbin/raidctl

2022-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jun 14 08:06:02 UTC 2022 Modified Files: src/sbin/raidctl: raidctl.c Log Message: Reorder the getopts() switch () (slightly) to sort the options. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sbin/ra

CVS commit: src/sbin/raidctl

2022-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jun 14 08:06:02 UTC 2022 Modified Files: src/sbin/raidctl: raidctl.c Log Message: Reorder the getopts() switch () (slightly) to sort the options. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sbin/ra

CVS commit: src/sbin/raidctl

2022-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jun 14 08:06:07 UTC 2022 Modified Files: src/sbin/raidctl: raidctl.c rf_configure.c Log Message: In the previous (and some earlier) version(s) of raidctl.c the following comment appeared: /* * After NetBSD 9, co

CVS commit: src/sbin/raidctl

2022-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jun 14 08:06:07 UTC 2022 Modified Files: src/sbin/raidctl: raidctl.c rf_configure.c Log Message: In the previous (and some earlier) version(s) of raidctl.c the following comment appeared: /* * After NetBSD 9, co

CVS commit: src/sbin/raidctl

2022-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jun 14 08:06:13 UTC 2022 Modified Files: src/sbin/raidctl: rf_configure.c Log Message: Fix some config file parsing. First, and what got me started on this set of cleanups, the queue length in the "queue" section (START queue) i

CVS commit: src/sbin/raidctl

2022-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jun 14 08:06:13 UTC 2022 Modified Files: src/sbin/raidctl: rf_configure.c Log Message: Fix some config file parsing. First, and what got me started on this set of cleanups, the queue length in the "queue" section (START queue) i

CVS commit: src/sbin/raidctl

2022-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jun 14 08:06:18 UTC 2022 Modified Files: src/sbin/raidctl: raidctl.8 raidctl.c Log Message: Implement "raidctl -t config-file" This does the same config file parse that -c/-C do, but only that (hence no raidframe device is need

CVS commit: src/sbin/raidctl

2022-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jun 14 08:06:18 UTC 2022 Modified Files: src/sbin/raidctl: raidctl.8 raidctl.c Log Message: Implement "raidctl -t config-file" This does the same config file parse that -c/-C do, but only that (hence no raidframe device is need

CVS commit: src/usr.sbin/iostat

2022-06-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 17 01:47:45 UTC 2022 Modified Files: src/usr.sbin/iostat: iostat.c Log Message: Fix processing of the archaic arg format (BACKWARD_COMPATIBILITY) so it doesn't repeat the processing every iteration. Repeatedly seeing the wai

CVS commit: src/usr.sbin/iostat

2022-06-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 17 01:47:45 UTC 2022 Modified Files: src/usr.sbin/iostat: iostat.c Log Message: Fix processing of the archaic arg format (BACKWARD_COMPATIBILITY) so it doesn't repeat the processing every iteration. Repeatedly seeing the wai

CVS commit: src/usr.sbin/iostat

2022-06-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 18 11:33:13 UTC 2022 Modified Files: src/usr.sbin/iostat: iostat.8 iostat.c Log Message: Significant changes to output layout methods - except for -x and -y which have not (yet) been touched (-xD needs *serious* improvements)

CVS commit: src/usr.sbin/iostat

2022-06-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 18 11:33:13 UTC 2022 Modified Files: src/usr.sbin/iostat: iostat.8 iostat.c Log Message: Significant changes to output layout methods - except for -x and -y which have not (yet) been touched (-xD needs *serious* improvements)

Re: CVS commit: src/sbin/raidctl

2022-06-18 Thread Robert Elz
Date:Sat, 18 Jun 2022 14:45:12 - (UTC) From:chris...@astron.com (Christos Zoulas) Message-ID: | Nevertheless why don't we make the char one unsigned char? I wondered about that possibility, but it was a bigger change than I wanted to make at the time - I didn't

CVS commit: src/usr.bin/stat

2022-06-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jun 22 18:02:43 UTC 2022 Modified Files: src/usr.bin/stat: Makefile stat.1 Added Files: src/usr.bin/stat: readlink.1 Log Message: Divide stat.1 into stat.1 (now only includes stat(1)) and readlink.1 Apologies to cvs comm

CVS commit: src/usr.bin/stat

2022-06-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jun 22 18:02:43 UTC 2022 Modified Files: src/usr.bin/stat: Makefile stat.1 Added Files: src/usr.bin/stat: readlink.1 Log Message: Divide stat.1 into stat.1 (now only includes stat(1)) and readlink.1 Apologies to cvs comm

CVS commit: src/usr.bin/stat

2022-06-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jun 22 18:20:30 UTC 2022 Modified Files: src/usr.bin/stat: stat.1 stat.c Log Message: Some corrections to stat to make it more reasonable, and comply with the man page, in particular, in one of the EXAMPLES it is claimed: T

CVS commit: src/usr.bin/stat

2022-06-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jun 22 18:20:30 UTC 2022 Modified Files: src/usr.bin/stat: stat.1 stat.c Log Message: Some corrections to stat to make it more reasonable, and comply with the man page, in particular, in one of the EXAMPLES it is claimed: 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

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

CVS commit: src/etc

2022-01-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jan 5 01:46:28 UTC 2022 Modified Files: src/etc: Makefile Log Message: Install the missing sh syntax element in the MKDEBUGKERNEL = no test, so that "continue" is a command as intended, and not an invalid last arg to the '[' com

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