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

2024-06-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jun 3 02:46:29 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: varmod-undefined.mk Log Message: Note that varmod-undefined depends on .MAKE.SAVE_DOLLARS=yes To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

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

2024-06-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jun 3 02:46:29 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: varmod-undefined.mk Log Message: Note that varmod-undefined depends on .MAKE.SAVE_DOLLARS=yes To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

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

2024-06-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 2 17:44:48 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: varmod-undefined.mk Log Message: tests/make: test more details of the :U and :D modifiers To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

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

2024-06-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 2 17:44:48 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: varmod-undefined.mk Log Message: tests/make: test more details of the :U and :D modifiers To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/usr.bin/make

2024-06-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 2 15:31:26 UTC 2024 Modified Files: src/usr.bin/make: arch.c compat.c cond.c for.c job.c main.c make.c make.h meta.c parse.c suff.c var.c src/usr.bin/make/unit-tests: cond-func-empty.mk dep-var.exp

CVS commit: src/usr.bin/make

2024-06-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 2 15:31:26 UTC 2024 Modified Files: src/usr.bin/make: arch.c compat.c cond.c for.c job.c main.c make.c make.h meta.c parse.c suff.c var.c src/usr.bin/make/unit-tests: cond-func-empty.mk dep-var.exp

CVS commit: src/usr.bin/make

2024-06-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 2 11:25:04 UTC 2024 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod.exp varmod.mk Log Message: make: fix out-of-bounds read when parsing indirect modifiers To generate a diff of this

CVS commit: src/usr.bin/make

2024-06-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 2 11:25:04 UTC 2024 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod.exp varmod.mk Log Message: make: fix out-of-bounds read when parsing indirect modifiers To generate a diff of this

CVS commit: src/usr.bin/make

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 20:19:41 UTC 2024 Modified Files: src/usr.bin/make: main.c Log Message: make: fix memory leak in realpath cache To generate a diff of this commit: cvs rdiff -u -r1.622 -r1.623 src/usr.bin/make/main.c Please note

CVS commit: src/usr.bin/make

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 20:19:41 UTC 2024 Modified Files: src/usr.bin/make: main.c Log Message: make: fix memory leak in realpath cache To generate a diff of this commit: cvs rdiff -u -r1.622 -r1.623 src/usr.bin/make/main.c Please note

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

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 18:44:05 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: directive-export-literal.exp directive-export-literal.mk varmod-head.mk varmod-sysv.exp varmod-sysv.mk varmod-tail.mk

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

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 18:44:05 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: directive-export-literal.exp directive-export-literal.mk varmod-head.mk varmod-sysv.exp varmod-sysv.mk varmod-tail.mk

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

2024-06-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jun 1 15:54:41 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Run check-expect.lua in .CURDIR To generate a diff of this commit: cvs rdiff -u -r1.346 -r1.347 src/usr.bin/make/unit-tests/Makefile

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

2024-06-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jun 1 15:54:41 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Run check-expect.lua in .CURDIR To generate a diff of this commit: cvs rdiff -u -r1.346 -r1.347 src/usr.bin/make/unit-tests/Makefile

CVS commit: src/usr.bin/make

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 12:27:31 UTC 2024 Modified Files: src/usr.bin/make: main.c Log Message: make: replace strncpy with snprintf There's no point copying a MAXPATHLEN buffer in its entirety when only the initial string part is ever used.

CVS commit: src/usr.bin/make

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 12:27:31 UTC 2024 Modified Files: src/usr.bin/make: main.c Log Message: make: replace strncpy with snprintf There's no point copying a MAXPATHLEN buffer in its entirety when only the initial string part is ever used.

CVS commit: src/usr.bin/make

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 12:17:41 UTC 2024 Modified Files: src/usr.bin/make: main.c Log Message: make: fix variable lifetime when initializing MAKE and .MAKE The pathbuf buffer is aliased by abspath, which later escapes the block where the

CVS commit: src/usr.bin/make

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 12:17:41 UTC 2024 Modified Files: src/usr.bin/make: main.c Log Message: make: fix variable lifetime when initializing MAKE and .MAKE The pathbuf buffer is aliased by abspath, which later escapes the block where the

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

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 11:24:11 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: directive-for-errors.mk Log Message: tests/make: test invalid character in a late .for variable name This covers the cleanup code that frees the earlier

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

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 11:24:11 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: directive-for-errors.mk Log Message: tests/make: test invalid character in a late .for variable name This covers the cleanup code that frees the earlier

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

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 11:06:17 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: varname-dot-objdir.exp varname-dot-objdir.mk Log Message: tests/make: cover purging the realpath cache In purge_relative_cached_realpaths, the

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

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 11:06:17 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: varname-dot-objdir.exp varname-dot-objdir.mk Log Message: tests/make: cover purging the realpath cache In purge_relative_cached_realpaths, the

CVS commit: src/usr.bin/make

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 10:10:50 UTC 2024 Modified Files: src/usr.bin/make: hash.h Log Message: make: require return value of HashIter_Next to be used This would have prevented an endless loop in purge_relative_cached_realpaths. To

CVS commit: src/usr.bin/make

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 10:10:50 UTC 2024 Modified Files: src/usr.bin/make: hash.h Log Message: make: require return value of HashIter_Next to be used This would have prevented an endless loop in purge_relative_cached_realpaths. To

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

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 10:06:23 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: Makefile directive-export.exp directive-export.mk Log Message: tests/make: require all expected messages to be listed in the .mk files To

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

2024-06-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 10:06:23 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: Makefile directive-export.exp directive-export.mk Log Message: tests/make: require all expected messages to be listed in the .mk files To

CVS commit: src/usr.bin/make

2024-06-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jun 1 07:37:19 UTC 2024 Modified Files: src/usr.bin/make: main.c Log Message: make: ensure loop termination in purge_relative_cached_realpaths You cannot ignore the return from HashIter_Next To generate a diff of this

CVS commit: src/usr.bin/make

2024-06-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jun 1 07:37:19 UTC 2024 Modified Files: src/usr.bin/make: main.c Log Message: make: ensure loop termination in purge_relative_cached_realpaths You cannot ignore the return from HashIter_Next To generate a diff of this

CVS commit: src/usr.bin/make

2024-06-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jun 1 06:26:36 UTC 2024 Modified Files: src/usr.bin/make: make.1 make.h parse.c var.c src/usr.bin/make/unit-tests: directive-export.exp directive-export.mk export-all.mk Log Message: make: add .export-all

CVS commit: src/usr.bin/make

2024-06-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jun 1 06:26:36 UTC 2024 Modified Files: src/usr.bin/make: make.1 make.h parse.c var.c src/usr.bin/make/unit-tests: directive-export.exp directive-export.mk export-all.mk Log Message: make: add .export-all

CVS commit: src/usr.bin/make

2024-05-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 05:08:48 UTC 2024 Modified Files: src/usr.bin/make: make.h var.c src/usr.bin/make/unit-tests: varmod-loop.exp varmod-loop.mk Log Message: make: remove unused VARE_EVAL_KEEP_DOLLAR To generate a diff of this

CVS commit: src/usr.bin/make

2024-05-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 1 05:08:48 UTC 2024 Modified Files: src/usr.bin/make: make.h var.c src/usr.bin/make/unit-tests: varmod-loop.exp varmod-loop.mk Log Message: make: remove unused VARE_EVAL_KEEP_DOLLAR To generate a diff of this

CVS commit: src/usr.bin/make

2024-05-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 31 20:21:34 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: merge functions that parse modifier parts This commit subtly changes the behavior for the :gmtime and :localtime modifiers, but only in

CVS commit: src/usr.bin/make

2024-05-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 31 20:21:34 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: merge functions that parse modifier parts This commit subtly changes the behavior for the :gmtime and :localtime modifiers, but only in

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

2024-05-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 31 07:13:12 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: directive-for-empty.exp directive-for-empty.mk opt-debug-hash.exp opt-debug-hash.mk Log Message: tests/make: replace or document .error in

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

2024-05-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 31 07:13:12 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: directive-for-empty.exp directive-for-empty.mk opt-debug-hash.exp opt-debug-hash.mk Log Message: tests/make: replace or document .error in

CVS commit: src/usr.bin/make

2024-05-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 31 07:11:12 UTC 2024 Modified Files: src/usr.bin/make: hash.c Log Message: make: simplify expression in iteration over hash tables To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/usr.bin/make/hash.c

CVS commit: src/usr.bin/make

2024-05-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 31 07:11:12 UTC 2024 Modified Files: src/usr.bin/make: hash.c Log Message: make: simplify expression in iteration over hash tables To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/usr.bin/make/hash.c

CVS commit: src/usr.bin/make

2024-05-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 31 05:50:11 UTC 2024 Modified Files: src/usr.bin/make: arch.c dir.c hash.c hash.h main.c parse.c var.c Log Message: make: clean up API for iterating over hash tables To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2024-05-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 31 05:50:11 UTC 2024 Modified Files: src/usr.bin/make: arch.c dir.c hash.c hash.h main.c parse.c var.c Log Message: make: clean up API for iterating over hash tables To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2024-05-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 30 21:50:34 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: don't log anything when freeing memory To generate a diff of this commit: cvs rdiff -u -r1.1112 -r1.1113 src/usr.bin/make/var.c Please

CVS commit: src/usr.bin/make

2024-05-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 30 21:50:34 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: don't log anything when freeing memory To generate a diff of this commit: cvs rdiff -u -r1.1112 -r1.1113 src/usr.bin/make/var.c Please

CVS commit: src/usr.bin/make

2024-05-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue May 28 19:09:04 UTC 2024 Modified Files: src/usr.bin/make: main.c make.1 Log Message: make: allow debugging the warning about .OBJDIR When make complains about an unwritable .OBJDIR it is not always obvious how we derrived that

CVS commit: src/usr.bin/make

2024-05-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue May 28 19:09:04 UTC 2024 Modified Files: src/usr.bin/make: main.c make.1 Log Message: make: allow debugging the warning about .OBJDIR When make complains about an unwritable .OBJDIR it is not always obvious how we derrived that

CVS commit: src/usr.bin/make

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 22:08:35 UTC 2024 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: suff-incomplete.exp suff-main-several.exp Log Message: make: use fewer technical terms in debug message for dependency

CVS commit: src/usr.bin/make

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 22:08:35 UTC 2024 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: suff-incomplete.exp suff-main-several.exp Log Message: make: use fewer technical terms in debug message for dependency

CVS commit: src/usr.bin/make

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 21:34:38 UTC 2024 Modified Files: src/usr.bin/make: job.c meta.c Log Message: make: replace magic numbers with POSIX FILENO constants No binary change. To generate a diff of this commit: cvs rdiff -u -r1.473 -r1.474

CVS commit: src/usr.bin/make

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 21:34:38 UTC 2024 Modified Files: src/usr.bin/make: job.c meta.c Log Message: make: replace magic numbers with POSIX FILENO constants No binary change. To generate a diff of this commit: cvs rdiff -u -r1.473 -r1.474

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

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 21:11:30 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: dep-duplicate.exp dep-duplicate.mk Log Message: tests/make: rename temporary file The filename extension '.inc' is reserved for files that are checked

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

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 21:11:30 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: dep-duplicate.exp dep-duplicate.mk Log Message: tests/make: rename temporary file The filename extension '.inc' is reserved for files that are checked

CVS commit: src/usr.bin/make

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 21:07:48 UTC 2024 Modified Files: src/usr.bin/make: compat.c job.c make.h parse.c targ.c Log Message: make: fix memory leak for command strings To generate a diff of this commit: cvs rdiff -u -r1.256 -r1.257

CVS commit: src/usr.bin/make

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 21:07:48 UTC 2024 Modified Files: src/usr.bin/make: compat.c job.c make.h parse.c targ.c Log Message: make: fix memory leak for command strings To generate a diff of this commit: cvs rdiff -u -r1.256 -r1.257

CVS commit: src/usr.bin/make

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 15:37:17 UTC 2024 Modified Files: src/usr.bin/make: compat.c src/usr.bin/make/unit-tests: shell-csh.mk Log Message: make: minimize local variables around a vfork call Passing all relevant values as arguments

CVS commit: src/usr.bin/make

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 15:37:17 UTC 2024 Modified Files: src/usr.bin/make: compat.c src/usr.bin/make/unit-tests: shell-csh.mk Log Message: make: minimize local variables around a vfork call Passing all relevant values as arguments

CVS commit: src/usr.bin/make

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 08:03:19 UTC 2024 Modified Files: src/usr.bin/make: dir.c job.c parse.c suff.c var.c Log Message: make: fix some more memory leaks To generate a diff of this commit: cvs rdiff -u -r1.292 -r1.293

CVS commit: src/usr.bin/make

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 08:03:19 UTC 2024 Modified Files: src/usr.bin/make: dir.c job.c parse.c suff.c var.c Log Message: make: fix some more memory leaks To generate a diff of this commit: cvs rdiff -u -r1.292 -r1.293

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 00:00:25 UTC 2024 Modified Files: src/usr.bin/make: cond.c dir.c for.c make.c make.h parse.c targ.c test-variants.mk var.c Log Message: make: fix a few more memory leaks To generate a diff of this commit:

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 00:00:25 UTC 2024 Modified Files: src/usr.bin/make: cond.c dir.c for.c make.c make.h parse.c targ.c test-variants.mk var.c Log Message: make: fix a few more memory leaks To generate a diff of this commit:

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 24 23:02:46 UTC 2024 Modified Files: src/usr.bin/make: main.c test-variants.mk var.c src/usr.bin/make/unit-tests: Makefile Log Message: make: in -DCLEANUP mode, free variables and their values The variables in

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 24 23:02:46 UTC 2024 Modified Files: src/usr.bin/make: main.c test-variants.mk var.c src/usr.bin/make/unit-tests: Makefile Log Message: make: in -DCLEANUP mode, free variables and their values The variables in

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 24 22:54:07 UTC 2024 Modified Files: src/usr.bin/make: hash.c Log Message: make: remove dead code from HashTable_DeleteEntry To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/usr.bin/make/hash.c Please

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 24 22:52:25 UTC 2024 Modified Files: src/usr.bin/make: dir.c Log Message: make: remove trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.290 -r1.291 src/usr.bin/make/dir.c Please note that diffs

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 24 22:52:25 UTC 2024 Modified Files: src/usr.bin/make: dir.c Log Message: make: remove trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.290 -r1.291 src/usr.bin/make/dir.c Please note that diffs

CVS commit: src/usr.bin/make

2024-05-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon May 20 19:14:12 UTC 2024 Modified Files: src/usr.bin/make: dir.c Log Message: make: cleanup style in FindFile Since we removed the last check for isinclude, restore to the previous indentation etc. No functional change. To

CVS commit: src/usr.bin/make

2024-05-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon May 20 19:14:12 UTC 2024 Modified Files: src/usr.bin/make: dir.c Log Message: make: cleanup style in FindFile Since we removed the last check for isinclude, restore to the previous indentation etc. No functional change. To

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

2024-05-20 Thread Simon J. Gerraty
Taylor R Campbell wrote: > Can you please back this out promptly, add automatic tests for > whatever the underlying issue is, and redo it another way? I did a scan of miss-use of <>, and looks like libc might have an issue: lib/libc/arch/arm/Makefile.inc:28:.include expects to find

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

2024-05-20 Thread Simon J. Gerraty
Taylor R Campbell wrote: > > --- cleandir-libterminfo --- > nbmake[5]: "/tmp/build/2024.05.19.20.09.40-i386/src/lib/libterminfo/Makefile" > line 50: Could not find Makefile.hash > > Can you please back this out promptly, add automatic tests for > whatever the underlying issue is, and redo it

CVS commit: src/usr.bin/make

2024-05-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon May 20 16:04:46 UTC 2024 Modified Files: src/usr.bin/make: dir.c Log Message: Allow .include <> to search .CURDIR last libc at least appears to depend on this. To generate a diff of this commit: cvs rdiff -u -r1.288 -r1.289

CVS commit: src/usr.bin/make

2024-05-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon May 20 16:04:46 UTC 2024 Modified Files: src/usr.bin/make: dir.c Log Message: Allow .include <> to search .CURDIR last libc at least appears to depend on this. To generate a diff of this commit: cvs rdiff -u -r1.288 -r1.289

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

2024-05-20 Thread Taylor R Campbell
> Module Name:src > Committed By: sjg > Date: Sun May 19 20:09:40 UTC 2024 > > Modified Files: > src/usr.bin/make: dir.c dir.h parse.c > > Log Message: > make: use separate function to include makefiles. > > Have Dir_FindFile and Dir_FindInclude call FindFile with a >

CVS commit: src/usr.bin/make

2024-05-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun May 19 20:09:40 UTC 2024 Modified Files: src/usr.bin/make: dir.c dir.h parse.c Log Message: make: use separate function to include makefiles. Have Dir_FindFile and Dir_FindInclude call FindFile with a bool flag to indicate

CVS commit: src/usr.bin/make

2024-05-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun May 19 20:09:40 UTC 2024 Modified Files: src/usr.bin/make: dir.c dir.h parse.c Log Message: make: use separate function to include makefiles. Have Dir_FindFile and Dir_FindInclude call FindFile with a bool flag to indicate

CVS commit: src/usr.bin/make

2024-05-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun May 19 17:55:55 UTC 2024 Modified Files: src/usr.bin/make: dir.c main.c src/usr.bin/make/unit-tests: deptgt-phony.exp Log Message: Dir_FindFile treat sysIncPath and defSysIncPath as special Rather than play games with

CVS commit: src/usr.bin/make

2024-05-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun May 19 17:55:55 UTC 2024 Modified Files: src/usr.bin/make: dir.c main.c src/usr.bin/make/unit-tests: deptgt-phony.exp Log Message: Dir_FindFile treat sysIncPath and defSysIncPath as special Rather than play games with

CVS commit: src/usr.bin/make

2024-05-07 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue May 7 18:26:22 UTC 2024 Modified Files: src/usr.bin/make: job.c main.c make.h var.c src/usr.bin/make/unit-tests: opt-debug-graph1.exp opt-debug-graph2.exp opt-debug-graph3.exp suff-main-several.exp

CVS commit: src/usr.bin/make

2024-05-07 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue May 7 18:26:22 UTC 2024 Modified Files: src/usr.bin/make: job.c main.c make.h var.c src/usr.bin/make/unit-tests: opt-debug-graph1.exp opt-debug-graph2.exp opt-debug-graph3.exp suff-main-several.exp

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

2024-04-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 30 16:41:33 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: Makefile deptgt-phony.exp Log Message: Subst DEFSYSPATH in deptgt-phony To generate a diff of this commit: cvs rdiff -u -r1.343 -r1.344

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

2024-04-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 30 16:41:33 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: Makefile deptgt-phony.exp Log Message: Subst DEFSYSPATH in deptgt-phony To generate a diff of this commit: cvs rdiff -u -r1.343 -r1.344

CVS commit: src/usr.bin/make

2024-04-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 30 16:13:34 UTC 2024 Modified Files: src/usr.bin/make: main.c src/usr.bin/make/unit-tests: deptgt-phony.exp opt-m-include-dir.mk Log Message: make: ensure '.include ' respects MAKESYSPATH Since Dir_FindFile is used

CVS commit: src/usr.bin/make

2024-04-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 30 16:13:34 UTC 2024 Modified Files: src/usr.bin/make: main.c src/usr.bin/make/unit-tests: deptgt-phony.exp opt-m-include-dir.mk Log Message: make: ensure '.include ' respects MAKESYSPATH Since Dir_FindFile is used

CVS commit: src/usr.bin/make

2024-04-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 28 15:10:19 UTC 2024 Modified Files: src/usr.bin/make: buf.c buf.h var.c Log Message: make: don't reallocate memory after evaluating an expression When an expression is evaluated, the resulting text is short-lived in

CVS commit: src/usr.bin/make

2024-04-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 28 15:10:19 UTC 2024 Modified Files: src/usr.bin/make: buf.c buf.h var.c Log Message: make: don't reallocate memory after evaluating an expression When an expression is evaluated, the resulting text is short-lived in

CVS commit: src/usr.bin/make

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 21:26:23 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: fix comment about forcing a use-after-free The previous expression didn't cause any bug, as the modifier ':@VAR@loop@' changed the value of

CVS commit: src/usr.bin/make

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 21:26:23 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: fix comment about forcing a use-after-free The previous expression didn't cause any bug, as the modifier ':@VAR@loop@' changed the value of

CVS commit: src/usr.bin/make

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 20:41:32 UTC 2024 Modified Files: src/usr.bin/make: arch.c job.c make.h var.c src/usr.bin/make/unit-tests: depsrc-end.mk depsrc-nopath.exp depsrc-nopath.mk depsrc-phony.mk Log Message: make: clean

CVS commit: src/usr.bin/make

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 20:41:32 UTC 2024 Modified Files: src/usr.bin/make: arch.c job.c make.h var.c src/usr.bin/make/unit-tests: depsrc-end.mk depsrc-nopath.exp depsrc-nopath.mk depsrc-phony.mk Log Message: make: clean

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

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 20:23:22 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: archive.exp archive.mk Log Message: tests/make: test detection of static library files To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

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

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 20:23:22 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: archive.exp archive.mk Log Message: tests/make: test detection of static library files To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/usr.bin/make

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 17:33:47 UTC 2024 Modified Files: src/usr.bin/make: arch.c lst.c lst.h main.c meta.c parse.c targ.c Log Message: make: simplify freeing of lists To generate a diff of this commit: cvs rdiff -u -r1.215 -r1.216

CVS commit: src/usr.bin/make

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 17:33:47 UTC 2024 Modified Files: src/usr.bin/make: arch.c lst.c lst.h main.c meta.c parse.c targ.c Log Message: make: simplify freeing of lists To generate a diff of this commit: cvs rdiff -u -r1.215 -r1.216

CVS commit: src/usr.bin/make

2024-04-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Apr 26 17:11:22 UTC 2024 Modified Files: src/usr.bin/make: job.c src/usr.bin/make/unit-tests: opt-debug-errors-jobs.exp Log Message: make: in parallel mode, print the directory in which a job failed When multiple

CVS commit: src/usr.bin/make

2024-04-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Apr 26 17:11:22 UTC 2024 Modified Files: src/usr.bin/make: job.c src/usr.bin/make/unit-tests: opt-debug-errors-jobs.exp Log Message: make: in parallel mode, print the directory in which a job failed When multiple

CVS commit: src/usr.bin/make

2024-04-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 23 22:51:28 UTC 2024 Modified Files: src/usr.bin/make: cond.c make.h parse.c var.c src/usr.bin/make/unit-tests: cmd-errors-jobs.exp cmd-errors-jobs.mk cmd-errors-lint.exp cmd-errors-lint.mk

CVS commit: src/usr.bin/make

2024-04-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 23 22:51:28 UTC 2024 Modified Files: src/usr.bin/make: cond.c make.h parse.c var.c src/usr.bin/make/unit-tests: cmd-errors-jobs.exp cmd-errors-jobs.mk cmd-errors-lint.exp cmd-errors-lint.mk

CVS commit: src/usr.bin/make

2024-04-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 21 21:59:48 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: trim down code for parsing the :gmtime and :localtime modifiers The :gmtime and :localtime modifiers are not used often and thus are not

CVS commit: src/usr.bin/make

2024-04-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 21 21:59:48 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: trim down code for parsing the :gmtime and :localtime modifiers The :gmtime and :localtime modifiers are not used often and thus are not

CVS commit: src/usr.bin/make

2024-04-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 21 08:56:49 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: fix out-of-bounds read when evaluating :gmtime and :localtime The function TryParseTime takes a pointer to a string, but the LazyBuf returns

CVS commit: src/usr.bin/make

2024-04-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 21 08:56:49 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: fix out-of-bounds read when evaluating :gmtime and :localtime The function TryParseTime takes a pointer to a string, but the LazyBuf returns

CVS commit: src/usr.bin/make

2024-04-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 20 10:18:56 UTC 2024 Modified Files: src/usr.bin/make: compat.c job.c make.h parse.c var.c src/usr.bin/make/unit-tests: Makefile cmd-errors-jobs.exp cmd-errors-jobs.mk cmd-errors-lint.exp cmd-errors.exp

CVS commit: src/usr.bin/make

2024-04-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 20 10:18:56 UTC 2024 Modified Files: src/usr.bin/make: compat.c job.c make.h parse.c var.c src/usr.bin/make/unit-tests: Makefile cmd-errors-jobs.exp cmd-errors-jobs.mk cmd-errors-lint.exp cmd-errors.exp

  1   2   3   4   5   6   7   8   9   10   >