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

2025-09-13 Thread Izumi Tsutsui
> Are we estimating here, or calculating the maximum size needed? > I don't like the word estimate, because it can mean that the value > computed might come both under or over. Well, I'm not a native English speaker so feel free to change the function name that you think appropriate. --- Izumi Tsu

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

2025-09-13 Thread Christos Zoulas
In article <20250912192047.2c5ccf...@cvs.netbsd.org>, Izumi Tsutsui wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: tsutsui >Date: Fri Sep 12 19:20:47 UTC 2025 > >Modified Files: > src/usr.bin/elf2ecoff: elf2ecoff.c > >Log Message: >elf2ecoff: fix PR port-pmax/59234: "buff

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

2025-05-16 Thread Robert Elz
Date:Fri, 16 May 2025 12:10:59 + From:nia Message-ID: | I don't like the idea of micro-optimizing an error path. Nor do I in general, and the original intent wasn't that, it was to avoid unnecessary line wrapping in the code (though that might have gotten lost

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

2025-05-16 Thread Martin Husemann
On Fri, May 16, 2025 at 07:05:30PM +0700, Robert Elz wrote: > And I agree with uwe@ and martin@ - that clang warning is absurd. I did not say that - it is a good warning for C++ code, but for NetBSD C code it is useless. Martin

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

2025-05-16 Thread nia
On Fri, May 16, 2025 at 07:05:30PM +0700, Robert Elz wrote: > How about we make it > &"lstat"[usestat] > then? > > Or even > &usestat["lstat"] > ? > > They all mean the same thing, but those might almost be considered obfuscated. > The first sounds as if it is what the clang warning w

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

2025-05-16 Thread nia
On Fri, May 16, 2025 at 01:48:14PM +0300, Valery Ushakov wrote: > I think we should turn that warning off. Do we have a central place to turn off compiler warnings for the whole tree? bsd.own.mk looks like the most obvious place to me but I'd expect to see at least some warnings already disabled.

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

2025-05-16 Thread Robert Elz
Date:Fri, 16 May 2025 07:50:28 + From:nia Message-ID: | I wasn't insinuating it's undefined behaviour, just obfuscating. I disagree. And one should always read (at least) surrounding code before trying to understand any small part of any code. How about we

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

2025-05-16 Thread Martin Husemann
On Fri, May 16, 2025 at 01:48:14PM +0300, Valery Ushakov wrote: > On Fri, May 16, 2025 at 07:50:28 +, nia wrote: > > > stat.c:357:27: error: adding 'int' to a string does not append to the > > string [-Werror,-Wstring-plus-int] > > ROFL. I think we should turn that warning off. I agree. M

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

2025-05-16 Thread Valery Ushakov
On Fri, May 16, 2025 at 07:50:28 +, nia wrote: > stat.c:357:27: error: adding 'int' to a string does not append to the string > [-Werror,-Wstring-plus-int] ROFL. I think we should turn that warning off. -uwe

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

2025-05-16 Thread nia
On Fri, May 16, 2025 at 02:32:19AM +0700, Robert Elz wrote: > Date:Thu, 15 May 2025 19:11:44 + > From:"Nia Alarie" > Message-ID: <20250515191144.954c6f...@cvs.netbsd.org> > > | stat(1): Eliminate a compiler warning > > What was the warning? stat.c:357:27: erro

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

2025-05-15 Thread Robert Elz
Date:Thu, 15 May 2025 19:11:44 + From:"Nia Alarie" Message-ID: <20250515191144.954c6f...@cvs.netbsd.org> | stat(1): Eliminate a compiler warning What was the warning? | This code at the moment is a bit magical, as it uses pointer arithemtic | on a string a

CVS commit: src/usr.bin/make

2025-04-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 16:44:14 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk vardebug.exp vardebug.mk varmod-edge.exp varmod-edge.mk varmod-indirect.exp va

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

2025-04-05 Thread Roland Illig
Am 30.03.2025 um 11:51 schrieb Roland Illig: > Module Name: src > Committed By: rillig > Date: Sun Mar 30 09:51:51 UTC 2025 > > Modified Files: > src/usr.bin/make: parse.c > src/usr.bin/make/unit-tests: ... > > Log Message: > make: use '"filename" line 123' for locations instea

CVS commit: src/usr.bin/make

2025-04-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 30 01:09:41 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod-assign.exp varmod-assign.mk Log Message: make: add details to error message for the "::=" modifier The previous erro

CVS commit: src/usr.bin/make

2025-04-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 31 14:35:22 UTC 2025 Modified Files: src/usr.bin/make: main.c Log Message: make(1): Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.640 -r1.641 src/usr.bin/

CVS commit: src/usr.bin/make

2025-03-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 31 14:35:22 UTC 2025 Modified Files: src/usr.bin/make: main.c Log Message: make(1): Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.640 -r1.641 src/usr.bin/

CVS commit: src/usr.bin/make

2025-03-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 30 21:24:57 UTC 2025 Modified Files: src/usr.bin/make: main.c make.1 make.h parse.c var.c Log Message: make: POSIX mode, check for sysV style modifiers first A POSIX compatible makefile should not be using any of our native

CVS commit: src/usr.bin/make

2025-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 30 16:43:10 UTC 2025 Modified Files: src/usr.bin/make: for.c src/usr.bin/make/unit-tests: directive-for-errors.exp directive-for-errors.mk directive-for.exp directive-for.mk varmod-indirect.e

CVS commit: src/usr.bin/make

2025-03-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 30 21:24:57 UTC 2025 Modified Files: src/usr.bin/make: main.c make.1 make.h parse.c var.c Log Message: make: POSIX mode, check for sysV style modifiers first A POSIX compatible makefile should not be using any of our native

CVS commit: src/usr.bin/elf2ecoff

2025-03-30 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Mar 30 14:14:00 UTC 2025 Modified Files: src/usr.bin/elf2ecoff: elf2ecoff.c Log Message: Revert "debug" variable to global to override it on debugger etc. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/us

CVS commit: src/usr.bin/make

2025-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 30 16:43:10 UTC 2025 Modified Files: src/usr.bin/make: for.c src/usr.bin/make/unit-tests: directive-for-errors.exp directive-for-errors.mk directive-for.exp directive-for.mk varmod-indirect.e

CVS commit: src/usr.bin/elf2ecoff

2025-03-30 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Mar 30 14:14:00 UTC 2025 Modified Files: src/usr.bin/elf2ecoff: elf2ecoff.c Log Message: Revert "debug" variable to global to override it on debugger etc. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/us

CVS commit: src/usr.bin/make

2025-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 30 09:51:51 UTC 2025 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: Makefile archive.exp check-expect.lua cmdline-undefined.exp cond-cmp-numeric-eq.exp cond-cmp-numeric.exp

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

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 30 01:51:51 UTC 2025 Modified Files: src/usr.bin/make/unit-tests: varparse-errors.mk Log Message: tests/make: fix test for printing the stack trace Depending on the exact environment in which the test is run, the "./" pat

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

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 30 01:51:51 UTC 2025 Modified Files: src/usr.bin/make/unit-tests: varparse-errors.mk Log Message: tests/make: fix test for printing the stack trace Depending on the exact environment in which the test is run, the "./" pat

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 30 01:27:13 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp varmod-select-words.exp varmod-select-words.mk varmod.exp varmod.mk Log Message: make: fix error mes

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 30 01:27:13 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp varmod-select-words.exp varmod-select-words.mk varmod.exp varmod.mk Log Message: make: fix error mes

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 30 01:09:41 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod-assign.exp varmod-assign.mk Log Message: make: add details to error message for the "::=" modifier The previous erro

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 30 00:50:33 UTC 2025 Modified Files: src/usr.bin/make: var.c Log Message: make: simplify error handling for unknown modifiers To generate a diff of this commit: cvs rdiff -u -r1.1154 -r1.1155 src/usr.bin/make/var.c Plea

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 30 00:50:33 UTC 2025 Modified Files: src/usr.bin/make: var.c Log Message: make: simplify error handling for unknown modifiers To generate a diff of this commit: cvs rdiff -u -r1.1154 -r1.1155 src/usr.bin/make/var.c Plea

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 30 00:35:52 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk varmod-sysv.mk varmod-to-separator.exp varmod-to-separator.mk varmod.mk Log Message: make

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 30 00:35:52 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk varmod-sysv.mk varmod-to-separator.exp varmod-to-separator.mk varmod.mk Log Message: make

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 23:50:07 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod-order.exp varmod-order.mk varmod.mk varparse-errors.exp varparse-errors.mk Log Message: make: let unknown

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 23:50:07 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod-order.exp varmod-order.mk varmod.mk varparse-errors.exp varparse-errors.mk Log Message: make: let unknown

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 21:30:48 UTC 2025 Modified Files: src/usr.bin/make: make.h parse.c var.c src/usr.bin/make/unit-tests: varparse-errors.exp varparse-errors.mk Log Message: make: in a stack trace with details and includes, list th

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 21:30:48 UTC 2025 Modified Files: src/usr.bin/make: make.h parse.c var.c src/usr.bin/make/unit-tests: varparse-errors.exp varparse-errors.mk Log Message: make: in a stack trace with details and includes, list th

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

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 20:19:58 UTC 2025 Modified Files: src/usr.bin/make/unit-tests: varmod.exp varmod.mk Log Message: tests/make: fix the documented modifier table The SysV column was largely incorrect or too unspecific, stating N/A when "

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

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 20:19:58 UTC 2025 Modified Files: src/usr.bin/make/unit-tests: varmod.exp varmod.mk Log Message: tests/make: fix the documented modifier table The SysV column was largely incorrect or too unspecific, stating N/A when "

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 19:08:53 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: cmd-errors-jobs.exp cmd-errors-jobs.mk cmd-errors-lint.exp cmd-errors-lint.mk cmd-errors.exp cmd-errors.mk

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 19:08:53 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: cmd-errors-jobs.exp cmd-errors-jobs.mk cmd-errors-lint.exp cmd-errors-lint.mk cmd-errors.exp cmd-errors.mk

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

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 17:31:35 UTC 2025 Modified Files: src/usr.bin/make/unit-tests: varmod-to-separator.mk Log Message: tests/make: remove copy-and-paste errors from warning messages Several of the warnings didn't match what they actually

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

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 17:31:35 UTC 2025 Modified Files: src/usr.bin/make/unit-tests: varmod-to-separator.mk Log Message: tests/make: remove copy-and-paste errors from warning messages Several of the warnings didn't match what they actually

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 11:24:35 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp varmod-indirect.exp varmod.exp Log Message: make: add details about indirect modifiers to the stack traces Prev

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 16:44:14 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk vardebug.exp vardebug.mk varmod-edge.exp varmod-edge.mk varmod-indirect.exp va

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 11:24:35 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp varmod-indirect.exp varmod.exp Log Message: make: add details about indirect modifiers to the stack traces Prev

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 12:02:41 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk Log Message: make: fix error message for unclosed expression Even in an unclosed expression such as

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 12:02:41 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk Log Message: make: fix error message for unclosed expression Even in an unclosed expression such as

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 11:51:54 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk varmod-assign.exp varmod-assign.mk varmod-edge.exp varmod-edge.mk varmod-sysv.exp

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 11:51:54 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk varmod-assign.exp varmod-assign.mk varmod-edge.exp varmod-edge.mk varmod-sysv.exp

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 10:39:49 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: check-expect.lua cmd-errors-jobs.exp cmd-errors-jobs.mk cmd-errors-lint.exp cmd-errors.exp lint.exp m

CVS commit: src/usr.bin/make

2025-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 29 10:39:49 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: check-expect.lua cmd-errors-jobs.exp cmd-errors-jobs.mk cmd-errors-lint.exp cmd-errors.exp lint.exp m

CVS commit: src/usr.bin/make

2025-03-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 22 12:23:00 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varname-dot-make-level.exp varname-dot-make-level.mk Log Message: make: ignore attempts to override a read-only

CVS commit: src/usr.bin/make

2025-03-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 22 12:23:00 UTC 2025 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varname-dot-make-level.exp varname-dot-make-level.mk Log Message: make: ignore attempts to override a read-only

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

2025-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 14 06:40:51 UTC 2025 Modified Files: src/usr.bin/xlint/llib: llib-lposix llib-lstdc Log Message: lint: fix definition of errno in lint standard libraries In llib-lstdc, when errno is a macro expanding to a function, that

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

2025-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 14 06:40:51 UTC 2025 Modified Files: src/usr.bin/xlint/llib: llib-lposix llib-lstdc Log Message: lint: fix definition of errno in lint standard libraries In llib-lstdc, when errno is a macro expanding to a function, that

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

2025-03-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 11 22:12:35 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix saturated multiplication in integer constraints check After the change from ui_max_value to si_max_value in tree.c 1.675 from 202

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

2025-03-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 11 22:12:35 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix saturated multiplication in integer constraints check After the change from ui_max_value to si_max_value in tree.c 1.675 from 202

CVS commit: src/usr.bin/cut

2025-03-08 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Sun Mar 9 05:04:55 UTC 2025 Modified Files: src/usr.bin/cut: cut.c Log Message: cut.c: simplify a comment >From a commit by Tim J. Robbins to FreeBSD back in 2004: "Update a comment that compared the parser with an obsolete

CVS commit: src/usr.bin/cut

2025-03-08 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Sun Mar 9 05:04:55 UTC 2025 Modified Files: src/usr.bin/cut: cut.c Log Message: cut.c: simplify a comment >From a commit by Tim J. Robbins to FreeBSD back in 2004: "Update a comment that compared the parser with an obsolete

CVS commit: src/usr.bin/make

2025-03-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 8 20:15:03 UTC 2025 Modified Files: src/usr.bin/make: job.c Log Message: make: re-add cast for pid_t -1 POSIX only specifies that pid_t is an arithmetic type, it doesn't even have to be an integer type. Just in case a pl

CVS commit: src/usr.bin/make

2025-03-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 8 20:15:03 UTC 2025 Modified Files: src/usr.bin/make: job.c Log Message: make: re-add cast for pid_t -1 POSIX only specifies that pid_t is an arithmetic type, it doesn't even have to be an integer type. Just in case a pl

CVS commit: src/usr.bin/make

2025-03-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 7 16:41:21 UTC 2025 Modified Files: src/usr.bin/make: job.c Log Message: make: prevent SIGPIPE for child processes in parallel mode Starting with job.c 1.198 from 2020-06-19, when one branch of a parallel build failed, m

CVS commit: src/usr.bin/make

2025-03-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 7 16:41:21 UTC 2025 Modified Files: src/usr.bin/make: job.c Log Message: make: prevent SIGPIPE for child processes in parallel mode Starting with job.c 1.198 from 2020-06-19, when one branch of a parallel build failed, m

CVS commit: src/usr.bin/make

2025-03-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 7 06:50:35 UTC 2025 Modified Files: src/usr.bin/make: job.c main.c make.h Log Message: make: clean up comments and code for parallel mode Most of the comments didn't help understand the code. The Finish function was nam

CVS commit: src/usr.bin/make

2025-03-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 7 06:50:35 UTC 2025 Modified Files: src/usr.bin/make: job.c main.c make.h Log Message: make: clean up comments and code for parallel mode Most of the comments didn't help understand the code. The Finish function was nam

CVS commit: src/usr.bin/kdump

2025-03-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Mar 6 06:36:25 UTC 2025 Modified Files: src/usr.bin/kdump: kdump.c Log Message: kdump: remove extra space in message for SIGCHLD To generate a diff of this commit: cvs rdiff -u -r1.145 -r1.146 src/usr.bin/kdump/kdump.c Ple

CVS commit: src/usr.bin/kdump

2025-03-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Mar 6 06:36:25 UTC 2025 Modified Files: src/usr.bin/kdump: kdump.c Log Message: kdump: remove extra space in message for SIGCHLD To generate a diff of this commit: cvs rdiff -u -r1.145 -r1.146 src/usr.bin/kdump/kdump.c Ple

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

2025-03-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 5 22:51:10 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: revert accidental commit To generate a diff of this commit: cvs rdiff -u -r1.520 -r1.521 src/usr.bin/xlint/lint1/cgram.y Please no

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

2025-03-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 5 22:51:10 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: revert accidental commit To generate a diff of this commit: cvs rdiff -u -r1.520 -r1.521 src/usr.bin/xlint/lint1/cgram.y Please no

CVS commit: src/usr.bin/quota

2025-03-03 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Tue Mar 4 07:36:02 UTC 2025 Modified Files: src/usr.bin/quota: printquota.c Log Message: s/traditionnal/traditional/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.bin/quota/printquota.c Please

CVS commit: src/usr.bin/quota

2025-03-03 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Tue Mar 4 07:36:02 UTC 2025 Modified Files: src/usr.bin/quota: printquota.c Log Message: s/traditionnal/traditional/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.bin/quota/printquota.c Please

CVS commit: src/usr.bin/cut

2025-03-03 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Mar 4 03:54:19 UTC 2025 Modified Files: src/usr.bin/cut: cut.1 cut.c Log Message: cut(1): implement the -n option (for use with -b) This command had long advertised the existence of -n (in its usage message and man page)

CVS commit: src/usr.bin/cut

2025-03-03 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Mar 4 03:54:19 UTC 2025 Modified Files: src/usr.bin/cut: cut.1 cut.c Log Message: cut(1): implement the -n option (for use with -b) This command had long advertised the existence of -n (in its usage message and man page)

CVS commit: src/usr.bin/make

2025-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 24 23:06:40 UTC 2025 Modified Files: src/usr.bin/make: job.c Log Message: make: on interrupt in parallel mode, reliably remove the targets Previously, when make was interrupted in parallel mode, it first removed the curre

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

2025-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 24 19:42:14 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: add debug logging for function calls in the grammar To generate a diff of this commit: cvs rdiff -u -r1.518 -r1.519 src/usr.bin/xli

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

2025-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 24 19:42:14 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: add debug logging for function calls in the grammar To generate a diff of this commit: cvs rdiff -u -r1.518 -r1.519 src/usr.bin/xli

CVS commit: src/usr.bin/deroff

2025-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 20 19:32:16 UTC 2025 Modified Files: src/usr.bin/deroff: deroff.c Log Message: deroff: fix lint warnings To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.bin/deroff/deroff.c Please note that diffs a

CVS commit: src/usr.bin/deroff

2025-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 20 19:32:16 UTC 2025 Modified Files: src/usr.bin/deroff: deroff.c Log Message: deroff: fix lint warnings To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.bin/deroff/deroff.c Please note that diffs a

CVS commit: src/usr.bin/deroff

2025-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 20 18:33:35 UTC 2025 Modified Files: src/usr.bin/deroff: deroff.c Log Message: deroff: remove unused macro The '\cp' in the macro's expansion triggered a lint warning about the dubious character escape '\c'. To generate

CVS commit: src/usr.bin/deroff

2025-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 20 18:33:35 UTC 2025 Modified Files: src/usr.bin/deroff: deroff.c Log Message: deroff: remove unused macro The '\cp' in the macro's expansion triggered a lint warning about the dubious character escape '\c'. To generate

CVS commit: src/usr.bin/cut

2025-02-19 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Feb 19 17:34:14 UTC 2025 Modified Files: src/usr.bin/cut: cut.c x_cut.c Log Message: cut(1): correct some comments To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/usr.bin/cut/cut.c cvs rdiff -u -r1.2 -r

CVS commit: src/usr.bin/cut

2025-02-19 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Feb 19 17:34:14 UTC 2025 Modified Files: src/usr.bin/cut: cut.c x_cut.c Log Message: cut(1): correct some comments To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/usr.bin/cut/cut.c cvs rdiff -u -r1.2 -r

CVS commit: src/usr.bin/sort

2025-02-17 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Feb 17 13:04:17 UTC 2025 Modified Files: src/usr.bin/sort: sort.1 Log Message: capitalize POSIX To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/usr.bin/sort/sort.1 Please note that diffs are not public domain

CVS commit: src/usr.bin/vmstat

2025-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 16 10:56:31 UTC 2025 Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: Print a column heading of "event" when displaying all events, and "interrupts" otherwise (not always). To generate a diff of this commit: cvs

CVS commit: src/usr.bin/vmstat

2025-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 16 10:56:31 UTC 2025 Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: Print a column heading of "event" when displaying all events, and "interrupts" otherwise (not always). To generate a diff of this commit: cvs

CVS commit: src/usr.bin/vmstat

2025-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 16 10:50:49 UTC 2025 Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: Remove unnecessary do / while (0); To generate a diff of this commit: cvs rdiff -u -r1.260 -r1.261 src/usr.bin/vmstat/vmstat.c Please note th

CVS commit: src/usr.bin/vmstat

2025-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 16 10:50:49 UTC 2025 Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: Remove unnecessary do / while (0); To generate a diff of this commit: cvs rdiff -u -r1.260 -r1.261 src/usr.bin/vmstat/vmstat.c Please note th

CVS commit: src/usr.bin/vmstat

2025-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 16 10:49:31 UTC 2025 Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: Trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.259 -r1.260 src/usr.bin/vmstat/vmstat.c Please note that diffs are n

CVS commit: src/usr.bin/vmstat

2025-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 16 10:49:31 UTC 2025 Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: Trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.259 -r1.260 src/usr.bin/vmstat/vmstat.c Please note that diffs are n

CVS commit: src/usr.bin/vmstat

2025-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 16 09:44:59 UTC 2025 Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: When printing interrupt statistics line up wrt the totals. To generate a diff of this commit: cvs rdiff -u -r1.258 -r1.259 src/usr.bin/vmstat/

CVS commit: src/usr.bin/vmstat

2025-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 16 09:44:59 UTC 2025 Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: When printing interrupt statistics line up wrt the totals. To generate a diff of this commit: cvs rdiff -u -r1.258 -r1.259 src/usr.bin/vmstat/

CVS commit: src/usr.bin/env

2025-02-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Feb 9 14:25:26 UTC 2025 Modified Files: src/usr.bin/env: env.1 env.c Log Message: PR bin/59058 Random minor corrections Use the correct exit status values (126 vs 127), the latter when the utility cannot be located (no matter

CVS commit: src/usr.bin/env

2025-02-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Feb 9 14:25:26 UTC 2025 Modified Files: src/usr.bin/env: env.1 env.c Log Message: PR bin/59058 Random minor corrections Use the correct exit status values (126 vs 127), the latter when the utility cannot be located (no matter

CVS commit: src/usr.bin/getnameinfo

2025-02-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Feb 6 20:59:00 UTC 2025 Modified Files: src/usr.bin/getnameinfo: Makefile getnameinfo.1 getnameinfo.c Log Message: PR/59047: Taylor R Campbell: Add AF_LINK, AF_APPLETALK, AF_LOCAL To generate a diff of this commit: cvs rd

CVS commit: src/usr.bin/getnameinfo

2025-02-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Feb 6 20:59:00 UTC 2025 Modified Files: src/usr.bin/getnameinfo: Makefile getnameinfo.1 getnameinfo.c Log Message: PR/59047: Taylor R Campbell: Add AF_LINK, AF_APPLETALK, AF_LOCAL To generate a diff of this commit: cvs rd

CVS commit: src/usr.bin/getaddrinfo

2025-02-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Feb 6 19:35:29 UTC 2025 Modified Files: src/usr.bin/getaddrinfo: Makefile getaddrinfo.c tables.awk Added Files: src/usr.bin/getaddrinfo: Makefile.inc support.c support.h Log Message: Split table functions to a separ

CVS commit: src/usr.bin/getaddrinfo

2025-02-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Feb 6 19:35:29 UTC 2025 Modified Files: src/usr.bin/getaddrinfo: Makefile getaddrinfo.c tables.awk Added Files: src/usr.bin/getaddrinfo: Makefile.inc support.c support.h Log Message: Split table functions to a separ

CVS commit: src/usr.bin/getnameinfo

2025-02-05 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Wed Feb 5 15:58:01 UTC 2025 Modified Files: src/usr.bin/getnameinfo: getnameinfo.1 Log Message: getnameinfo(1): there's no reason to use an artisanal tag -width To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.b

CVS commit: src/usr.bin/getnameinfo

2025-02-05 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Wed Feb 5 15:58:01 UTC 2025 Modified Files: src/usr.bin/getnameinfo: getnameinfo.1 Log Message: getnameinfo(1): there's no reason to use an artisanal tag -width To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.b

CVS commit: src/usr.bin/getnameinfo

2025-02-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Feb 5 13:10:29 UTC 2025 Modified Files: src/usr.bin/getnameinfo: getnameinfo.1 getnameinfo.c Log Message: getnameinfo(1): argument is optional. With the -S option, it is not required. Note this in the usage text and the

  1   2   3   4   5   6   7   8   9   10   >