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

2009-11-22 Thread Simon J. Gerraty
Yes, cvs log has been fixed. Log Message: PR: make.unexport Reviewed by: Hmm, this is a little unusual commit message. Bernd

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

2010-04-22 Thread Simon J. Gerraty
On Thu, 22 Apr 2010 19:51:07 +, Tom Spindler writes: Modified Files: src/usr.bin/make: job.c main.c make.h Log Message: Just because $TMPDIR is set does not mean it is valid. Add a central function for creating temp files so we have one place to audit. This breaks build.sh when

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

2010-04-22 Thread Simon J. Gerraty
Dh already commited the exact same change I just tried to. On Thu, 22 Apr 2010 19:51:07 +, Tom Spindler writes: Modified Files: src/usr.bin/make: job.c main.c make.h Log Message: Just because $TMPDIR is set does not mean it is valid. Add a central function for creating temp files

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

2010-04-22 Thread Simon J. Gerraty
Thanks for fixing that. On Thu, 22 Apr 2010 22:00:26 +, David Holland writes: On Thu, Apr 22, 2010 at 02:11:31PM -0700, Simon J. Gerraty wrote: Dh already commited the exact same change I just tried to. sorry, didn't look here first. :-/

Re: CVS commit: src/lib/csu

2011-01-31 Thread Simon J. Gerraty
I can comment out the MAKEOBJDIR assignment in nbmake-amd64 and it still works fine. BSDOBJDIR doesn't seem to do anything. BUILDID breaks this. I have no idea why those variables even exist, the code in bsd.own.mk is messy at best and I don't think it justifies the changes to the Makefiles.

Re: CVS commit: src/lib/csu

2011-02-06 Thread Simon J. Gerraty
Making .PARSEDIR always absolute should fix this problem, but in the general case requires realpath(). Yes. Though it is worth noting that setting .PARSEDIR to .CURDIR when the makefile path contains no '/' may be sufficient for correct operation. However, I'm guessing that .PARSEDIR may not

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

2015-10-20 Thread Simon J. Gerraty
Thanks - fixed. > /work/src/usr.bin/make/var.c:2772:7: error: variable 'emsg' is used > uninitialized whenever 'if' condition is false > [-Werror,-Wsometimes-uninitialized] > if (wantit) > /work/src/usr.bin/make/var.c:2777:7: note: uninitialized use occurs here > if (emsg)

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

2015-12-01 Thread Simon J. Gerraty
Joerg Sonnenberger wrote: > > Log Message: > > Avoid calling brk_string() and hence Var_Export1() on > > empty strings. > > I'm not sure which change, but now I get fallout in the clang builds > from constructs like: Shouldn't this one since only affects exporting of

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

2016-06-04 Thread Simon J. Gerraty
Joerg Sonnenberger wrote: > > This improves the worst case performance (eg examining libc with > > nothing to do) by a factor of 4. > > ...except now build.sh on !NetBSD fails immediately due to missing > strlcpy. Gah, bmake provides strlcpy... sorry about that.

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

2016-06-04 Thread Simon J. Gerraty
Joerg Sonnenberger wrote: > > This improves the worst case performance (eg examining libc with > > nothing to do) by a factor of 4. > > ...except now build.sh on !NetBSD fails immediately due to missing > strlcpy. Should be fixed... Don't know if you want to get carried away with

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

2016-01-16 Thread Simon J. Gerraty
Joerg Sonnenberger wrote: > I suspect this change broke editors/xemacs-current, which is now failing > with: > > make[1]: make[1]: don't know how to make insert-data-in-exec. Stop I'm guessing you are talking about a makefile that comes with emacs? I don't see anything

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

2017-04-21 Thread Simon J. Gerraty
<co...@sdf.org> wrote: > On Tue, Apr 11, 2017 at 05:30:13PM +0000, Simon J. Gerraty wrote: > > Log Message: > > Str_Match: allow [^a-z] to behave as expected. > > % env A=NetBSD-7-x86_64 make -V '${A:MNetBSD-[^0-1]-i386}' > NetBSD-7-x86_64 Well that's interesting - thanks...

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

2017-04-21 Thread Simon J. Gerraty
Simon J. Gerraty <s...@juniper.net> wrote: > <co...@sdf.org> wrote: > > > On Tue, Apr 11, 2017 at 05:30:13PM +, Simon J. Gerraty wrote: > > > Log Message: > > > Str_Match: allow [^a-z] to behave as expected. > > > > % env A=NetBSD-7-

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

2018-05-13 Thread Simon J. Gerraty
J. Hannken-Illjes wrote: > After this commit parallel builds take much longer. Building > amd64 release with -j16 for example goes from 45 to 380 minutes. Interesting. Removing the sleep would help there - the busy waiting issue isn't new anyway.

CVS commit: src/usr.bin/make

2019-09-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Sep 26 21:09:55 UTC 2019 Modified Files: src/usr.bin/make: parse.c Log Message: Do not assume safe to pass NULL to realpath(3). PR: 54574 Reviewed by: buhrow To generate a diff of this commit: cvs rdiff -u -r1.232 -r1.233

CVS commit: src/usr.bin/make

2019-09-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Sep 26 21:09:55 UTC 2019 Modified Files: src/usr.bin/make: parse.c Log Message: Do not assume safe to pass NULL to realpath(3). PR: 54574 Reviewed by: buhrow To generate a diff of this commit: cvs rdiff -u -r1.232 -r1.233

CVS commit: src/sys/dev/filemon

2019-10-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Oct 30 18:35:06 UTC 2019 Modified Files: src/sys/dev/filemon: filemon.c Log Message: filemon_ioctl: check fd for write permission Reviewed by: christos Reported by: ivansprundel To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/filemon

2019-10-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Oct 30 18:35:06 UTC 2019 Modified Files: src/sys/dev/filemon: filemon.c Log Message: filemon_ioctl: check fd for write permission Reviewed by: christos Reported by: ivansprundel To generate a diff of this commit: cvs rdiff -u

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

2021-10-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Oct 19 15:59:26 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile varname-empty.exp Log Message: Replace ${.OBJDIR} with for consistent results. If we replace ${.OBJDIR} with some tests produce different results

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

2021-10-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Oct 19 15:59:26 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile varname-empty.exp Log Message: Replace ${.OBJDIR} with for consistent results. If we replace ${.OBJDIR} with some tests produce different results

CVS commit: src/usr.bin/make

2021-10-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Oct 24 18:45:46 UTC 2021 Modified Files: src/usr.bin/make: job.c meta.c Log Message: Do not ignore write failures. We should not ignore failure to write to cmdFILE, meta files and filemon. Reviewed by: rillig To generate a

CVS commit: src/usr.bin/make

2021-10-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Oct 24 18:45:46 UTC 2021 Modified Files: src/usr.bin/make: job.c meta.c Log Message: Do not ignore write failures. We should not ignore failure to write to cmdFILE, meta files and filemon. Reviewed by: rillig To generate a

CVS commit: src/usr.bin/make

2021-12-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Dec 12 16:41:39 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: ParseVarnameLong: minimize calls to LazyBuf_Get Reviewed by: rillig To generate a diff of this commit: cvs rdiff -u -r1.971 -r1.972

CVS commit: src/usr.bin/make

2021-12-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Dec 12 16:41:39 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: ParseVarnameLong: minimize calls to LazyBuf_Get Reviewed by: rillig To generate a diff of this commit: cvs rdiff -u -r1.971 -r1.972

CVS commit: src/usr.bin/make

2021-12-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Dec 12 20:45:48 UTC 2021 Modified Files: src/usr.bin/make: make.1 nonints.h suff.c var.c Log Message: Add .SUFFIXES as read-only variable. References to ${.SUFFIXES} are handled dynamically in ParseVarnameLong by calling

CVS commit: src/usr.bin/make

2021-12-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Dec 12 20:45:48 UTC 2021 Modified Files: src/usr.bin/make: make.1 nonints.h suff.c var.c Log Message: Add .SUFFIXES as read-only variable. References to ${.SUFFIXES} are handled dynamically in ParseVarnameLong by calling

CVS commit: src/usr.bin/make

2022-01-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 13 04:51:50 UTC 2022 Modified Files: src/usr.bin/make: make.1 meta.c Log Message: meta.c: add .MAKE.META.CMP_FILTER On rare occasions it is useful to be able to filter command lines before comparison. To generate a diff

CVS commit: src/usr.bin/make

2022-01-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 13 04:51:50 UTC 2022 Modified Files: src/usr.bin/make: make.1 meta.c Log Message: meta.c: add .MAKE.META.CMP_FILTER On rare occasions it is useful to be able to filter command lines before comparison. To generate a diff

CVS commit: src/usr.bin/make

2022-03-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Mar 4 23:17:16 UTC 2022 Modified Files: src/usr.bin/make: meta.c suff.c src/usr.bin/make/filemon: filemon_dev.c Log Message: Fix some unused warnings To generate a diff of this commit: cvs rdiff -u -r1.198 -r1.199

CVS commit: src/usr.bin/make

2022-03-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Mar 4 23:17:16 UTC 2022 Modified Files: src/usr.bin/make: meta.c suff.c src/usr.bin/make/filemon: filemon_dev.c Log Message: Fix some unused warnings To generate a diff of this commit: cvs rdiff -u -r1.198 -r1.199

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

2022-03-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Mar 2 19:32:16 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: depsrc-meta.mk meta-cmd-cmp.mk Log Message: Add nofilemon to meta mode tests The unit-tests for meta mode do not depend on filemon. Adding nofilemon to

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

2022-03-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Mar 2 19:32:16 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: depsrc-meta.mk meta-cmd-cmp.mk Log Message: Add nofilemon to meta mode tests The unit-tests for meta mode do not depend on filemon. Adding nofilemon to

CVS commit: src/usr.bin/make

2022-03-25 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Mar 25 21:16:04 UTC 2022 Modified Files: src/usr.bin/make: make.1 parse.c Log Message: Include posix.mk when .POSIX: first encountered Since .POSIX: is required to be the first non-comment line in a Makefile, including

CVS commit: src/usr.bin/make

2022-03-25 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Mar 25 21:16:04 UTC 2022 Modified Files: src/usr.bin/make: make.1 parse.c Log Message: Include posix.mk when .POSIX: first encountered Since .POSIX: is required to be the first non-comment line in a Makefile, including

CVS commit: src/usr.bin/make

2022-03-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Mar 26 15:39:58 UTC 2022 Modified Files: src/usr.bin/make: make.1 Log Message: Mention 'make -r' with .POSIX To generate a diff of this commit: cvs rdiff -u -r1.306 -r1.307 src/usr.bin/make/make.1 Please note that diffs are

CVS commit: src/usr.bin/make

2022-03-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Mar 26 15:39:58 UTC 2022 Modified Files: src/usr.bin/make: make.1 Log Message: Mention 'make -r' with .POSIX To generate a diff of this commit: cvs rdiff -u -r1.306 -r1.307 src/usr.bin/make/make.1 Please note that diffs are

CVS commit: src/usr.bin/make

2022-01-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jan 29 07:42:10 UTC 2022 Modified Files: src/usr.bin/make: make.1 Log Message: Document quirks of target local variable assignments To generate a diff of this commit: cvs rdiff -u -r1.302 -r1.303 src/usr.bin/make/make.1

CVS commit: src/usr.bin/make

2022-01-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jan 29 07:42:10 UTC 2022 Modified Files: src/usr.bin/make: make.1 Log Message: Document quirks of target local variable assignments To generate a diff of this commit: cvs rdiff -u -r1.302 -r1.303 src/usr.bin/make/make.1

CVS commit: src/usr.bin/make

2022-01-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jan 29 20:54:58 UTC 2022 Modified Files: src/usr.bin/make: make.1 Log Message: Tweak description of local variable assignments To generate a diff of this commit: cvs rdiff -u -r1.303 -r1.304 src/usr.bin/make/make.1 Please

CVS commit: src/usr.bin/make

2022-01-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jan 29 20:54:58 UTC 2022 Modified Files: src/usr.bin/make: make.1 Log Message: Tweak description of local variable assignments To generate a diff of this commit: cvs rdiff -u -r1.303 -r1.304 src/usr.bin/make/make.1 Please

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

2022-01-27 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 27 21:50:50 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: Makefile opt-debug-hash.exp Log Message: numEntries can vary To generate a diff of this commit: cvs rdiff -u -r1.301 -r1.302

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

2022-01-27 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 27 21:50:50 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: Makefile opt-debug-hash.exp Log Message: numEntries can vary To generate a diff of this commit: cvs rdiff -u -r1.301 -r1.302

CVS commit: src/usr.bin/make

2022-01-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 27 06:02:59 UTC 2022 Modified Files: src/usr.bin/make: main.c make.1 make.h meta.c parse.c var.c src/usr.bin/make/unit-tests: meta-cmd-cmp.exp meta-cmd-cmp.mk Log Message: Allow local variable assignments in

CVS commit: src/usr.bin/make

2022-01-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 27 06:02:59 UTC 2022 Modified Files: src/usr.bin/make: main.c make.1 make.h meta.c parse.c var.c src/usr.bin/make/unit-tests: meta-cmd-cmp.exp meta-cmd-cmp.mk Log Message: Allow local variable assignments in

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

2022-01-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 27 06:56:27 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: var-scope-local.exp var-scope-local.mk Log Message: Unit test for local variables To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2022-01-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 27 06:56:27 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: var-scope-local.exp var-scope-local.mk Log Message: Unit test for local variables To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/make

2022-02-08 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Feb 8 22:36:02 UTC 2022 Modified Files: src/usr.bin/make: meta.c Log Message: Use a variable to store command line to be filtered. This avoids any nasty side effects from content of command line. Reviewed by: rillig To

CVS commit: src/usr.bin/make

2022-02-08 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Feb 8 22:36:02 UTC 2022 Modified Files: src/usr.bin/make: meta.c Log Message: Use a variable to store command line to be filtered. This avoids any nasty side effects from content of command line. Reviewed by: rillig To

CVS commit: src/usr.bin/make

2022-02-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Feb 5 00:37:19 UTC 2022 Modified Files: src/usr.bin/make: parse.c Log Message: Ensure Parse_IsVar does not step off the end of input string. To generate a diff of this commit: cvs rdiff -u -r1.661 -r1.662

CVS commit: src/usr.bin/make

2022-02-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Feb 5 00:37:19 UTC 2022 Modified Files: src/usr.bin/make: parse.c Log Message: Ensure Parse_IsVar does not step off the end of input string. To generate a diff of this commit: cvs rdiff -u -r1.661 -r1.662

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

2022-01-14 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jan 14 19:31:44 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: meta-cmd-cmp.exp meta-cmd-cmp.mk Log Message: Add unit-test for .MAKE.META.CMP_FILTER To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2022-01-14 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jan 14 19:31:44 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: meta-cmd-cmp.exp meta-cmd-cmp.mk Log Message: Add unit-test for .MAKE.META.CMP_FILTER To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/make

2022-01-14 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jan 14 18:43:23 UTC 2022 Modified Files: src/usr.bin/make: meta.c Log Message: meta_cmd_cmp: use bool for once Just use Buf_Init() some mallocs will be inevitable. To generate a diff of this commit: cvs rdiff -u -r1.187

CVS commit: src/usr.bin/make

2022-01-14 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jan 14 18:43:23 UTC 2022 Modified Files: src/usr.bin/make: meta.c Log Message: meta_cmd_cmp: use bool for once Just use Buf_Init() some mallocs will be inevitable. To generate a diff of this commit: cvs rdiff -u -r1.187

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

2022-01-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 27 02:24:46 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: Makefile opt-where-am-i.mk Log Message: Do not allow /usr/obj to cause failure. To generate a diff of this commit: cvs rdiff -u -r1.300 -r1.301

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

2022-01-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 27 02:24:46 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: Makefile opt-where-am-i.mk Log Message: Do not allow /usr/obj to cause failure. To generate a diff of this commit: cvs rdiff -u -r1.300 -r1.301

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

2022-01-16 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jan 16 18:16:07 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: varname-makeflags.mk Log Message: Ensure make gets -r Apart from ensuring no influence from /usr/share/mk when bmake is built for the first time on a non-BSD

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

2022-01-16 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jan 16 18:16:07 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: varname-makeflags.mk Log Message: Ensure make gets -r Apart from ensuring no influence from /usr/share/mk when bmake is built for the first time on a non-BSD

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

2023-09-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Sep 10 16:25:32 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: opt-jobs.mk varname-dot-make-jobs.mk Log Message: make: skip -jC tests unless .MAKE.JOBS.C is yes To generate a diff of this commit: cvs rdiff -u -r1.4

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

2023-09-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Sep 10 16:25:32 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: opt-jobs.mk varname-dot-make-jobs.mk Log Message: make: skip -jC tests unless .MAKE.JOBS.C is yes To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/usr.bin/make

2023-09-08 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Sep 9 01:30:59 UTC 2023 Modified Files: src/usr.bin/make: main.c make.1 src/usr.bin/make/unit-tests: varname-dot-make-jobs.exp varname-dot-make-jobs.mk Log Message: make: allow -j to compute a multiple of

CVS commit: src/usr.bin/make

2023-09-08 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Sep 9 01:30:59 UTC 2023 Modified Files: src/usr.bin/make: main.c make.1 src/usr.bin/make/unit-tests: varname-dot-make-jobs.exp varname-dot-make-jobs.mk Log Message: make: allow -j to compute a multiple of

CVS commit: src/usr.bin/make

2023-09-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Sep 9 16:41:04 UTC 2023 Modified Files: src/usr.bin/make: main.c make.1 src/usr.bin/make/unit-tests: Makefile opt-debug-graph1.exp opt-debug-graph2.exp opt-debug-graph3.exp suff-main-several.exp

CVS commit: src/usr.bin/make

2023-09-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Sep 9 16:41:04 UTC 2023 Modified Files: src/usr.bin/make: main.c make.1 src/usr.bin/make/unit-tests: Makefile opt-debug-graph1.exp opt-debug-graph2.exp opt-debug-graph3.exp suff-main-several.exp

CVS commit: src/usr.bin/make

2023-08-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Aug 20 19:58:15 UTC 2023 Modified Files: src/usr.bin/make: make.1 Log Message: make.1: note that %s should only be used with :localtime To generate a diff of this commit: cvs rdiff -u -r1.367 -r1.368 src/usr.bin/make/make.1

CVS commit: src/usr.bin/make

2023-08-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Aug 20 19:58:15 UTC 2023 Modified Files: src/usr.bin/make: make.1 Log Message: make.1: note that %s should only be used with :localtime To generate a diff of this commit: cvs rdiff -u -r1.367 -r1.368 src/usr.bin/make/make.1

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

2023-08-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Aug 19 01:34:21 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-mtime.exp varmod-mtime.mk Log Message: varmod-mtime.mk: use :localtime for %s Add a comment to explain why ${%s:L:localtime} should be used to get a

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

2023-08-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Aug 19 01:34:21 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-mtime.exp varmod-mtime.mk Log Message: varmod-mtime.mk: use :localtime for %s Add a comment to explain why ${%s:L:localtime} should be used to get a

CVS commit: src/usr.bin/make

2023-08-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Aug 19 00:09:17 UTC 2023 Modified Files: src/usr.bin/make: meta.c Log Message: meta_ignore: check metaIgnorePaths on raw path Some path prefixes can trigger automount, if we want to ignore them it might be best to check

CVS commit: src/usr.bin/make

2023-08-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Aug 19 00:09:17 UTC 2023 Modified Files: src/usr.bin/make: meta.c Log Message: meta_ignore: check metaIgnorePaths on raw path Some path prefixes can trigger automount, if we want to ignore them it might be best to check

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

2022-07-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jul 26 19:32:25 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Pass MAKEOBJDIR to opt-m-include-dir Prevent makeing opt-m-include-dir.tmp in src tree. Reviewed by: rillig To generate a diff of

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

2022-07-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jul 26 19:32:25 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Pass MAKEOBJDIR to opt-m-include-dir Prevent makeing opt-m-include-dir.tmp in src tree. Reviewed by: rillig To generate a diff of

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

2022-04-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Apr 18 15:59:39 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: deptgt-posix.mk Log Message: Never 'rm -rf ${TMPDIR}' when you cannot be sure what it is Use a safer variable for a subdir of ${TMPDIR} that we know we can

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

2022-04-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Apr 18 15:59:39 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: deptgt-posix.mk Log Message: Never 'rm -rf ${TMPDIR}' when you cannot be sure what it is Use a safer variable for a subdir of ${TMPDIR} that we know we can

CVS commit: src/usr.bin/make

2022-04-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Apr 18 16:09:05 UTC 2022 Modified Files: src/usr.bin/make: parse.c Log Message: Comment on interaction of posix.mk with[out] -r To generate a diff of this commit: cvs rdiff -u -r1.669 -r1.670 src/usr.bin/make/parse.c Please

CVS commit: src/usr.bin/make

2022-04-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Apr 18 16:09:05 UTC 2022 Modified Files: src/usr.bin/make: parse.c Log Message: Comment on interaction of posix.mk with[out] -r To generate a diff of this commit: cvs rdiff -u -r1.669 -r1.670 src/usr.bin/make/parse.c Please

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

2022-09-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Sep 3 15:03:32 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Only update distrib/sets/lists/tests/mi with valid files sync-mi: use CVS/Entries to ensure we only update distrib/sets/lists/tests/mi

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

2022-09-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Sep 3 15:03:32 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Only update distrib/sets/lists/tests/mi with valid files sync-mi: use CVS/Entries to ensure we only update distrib/sets/lists/tests/mi

CVS commit: src/usr.bin/make

2022-09-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Sep 28 16:34:47 UTC 2022 Modified Files: src/usr.bin/make: main.c meta.c Log Message: Don't ignore return from snprintf or getcwd To generate a diff of this commit: cvs rdiff -u -r1.582 -r1.583 src/usr.bin/make/main.c cvs

CVS commit: src/usr.bin/make

2022-09-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Sep 28 16:34:47 UTC 2022 Modified Files: src/usr.bin/make: main.c meta.c Log Message: Don't ignore return from snprintf or getcwd To generate a diff of this commit: cvs rdiff -u -r1.582 -r1.583 src/usr.bin/make/main.c cvs

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

2022-09-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Sep 9 18:36:16 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: Makefile export.mk make-exported.mk Log Message: Handle deprecation of egrep To generate a diff of this commit: cvs rdiff -u -r1.324 -r1.325

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

2022-09-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Sep 9 18:36:16 UTC 2022 Modified Files: src/usr.bin/make/unit-tests: Makefile export.mk make-exported.mk Log Message: Handle deprecation of egrep To generate a diff of this commit: cvs rdiff -u -r1.324 -r1.325

CVS commit: src/usr.bin/make

2022-09-23 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Sep 23 22:58:15 UTC 2022 Modified Files: src/usr.bin/make: cond.c make.h parse.c Log Message: Cond_reset_depth just use cond_min_depth To avoid errors from unclosed conditionals on .break it is sufficient to just set cond_depth

CVS commit: src/usr.bin/make

2022-09-23 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Sep 23 22:58:15 UTC 2022 Modified Files: src/usr.bin/make: cond.c make.h parse.c Log Message: Cond_reset_depth just use cond_min_depth To avoid errors from unclosed conditionals on .break it is sufficient to just set cond_depth

CVS commit: src/usr.bin/make

2022-09-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Sep 2 16:24:31 UTC 2022 Modified Files: src/usr.bin/make: cond.c for.c make.1 make.h parse.c src/usr.bin/make/unit-tests: Makefile Added Files: src/usr.bin/make/unit-tests: directive-for-break.exp

CVS commit: src/usr.bin/make

2022-09-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Sep 2 16:24:31 UTC 2022 Modified Files: src/usr.bin/make: cond.c for.c make.1 make.h parse.c src/usr.bin/make/unit-tests: Makefile Added Files: src/usr.bin/make/unit-tests: directive-for-break.exp

CVS commit: src

2022-09-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Sep 2 18:54:25 UTC 2022 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make/unit-tests: Makefile Log Message: Enable make/unit-tests/directive-for-break Also ensure MAKE_VERSION is ignored. To generate

CVS commit: src

2022-09-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Sep 2 18:54:25 UTC 2022 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make/unit-tests: Makefile Log Message: Enable make/unit-tests/directive-for-break Also ensure MAKE_VERSION is ignored. To generate

CVS commit: src/usr.bin/make

2023-01-23 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jan 24 00:19:15 UTC 2023 Modified Files: src/usr.bin/make: var.c Log Message: make: log adjustments of var.readOnly To generate a diff of this commit: cvs rdiff -u -r1.1037 -r1.1038 src/usr.bin/make/var.c Please note that

CVS commit: src/usr.bin/make

2023-01-23 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jan 24 00:19:15 UTC 2023 Modified Files: src/usr.bin/make: var.c Log Message: make: log adjustments of var.readOnly To generate a diff of this commit: cvs rdiff -u -r1.1037 -r1.1038 src/usr.bin/make/var.c Please note that

CVS commit: src/usr.bin/make

2023-01-23 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jan 24 00:24:02 UTC 2023 Modified Files: src/usr.bin/make: dir.c dir.h main.c make.1 parse.c src/usr.bin/make/unit-tests: Makefile dir.mk opt-debug-graph1.exp opt-debug-graph2.exp opt-debug-graph3.exp

CVS commit: src/usr.bin/make

2023-01-23 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jan 24 00:24:02 UTC 2023 Modified Files: src/usr.bin/make: dir.c dir.h main.c make.1 parse.c src/usr.bin/make/unit-tests: Makefile dir.mk opt-debug-graph1.exp opt-debug-graph2.exp opt-debug-graph3.exp

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

2023-01-23 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jan 24 00:20:00 UTC 2023 Added Files: src/usr.bin/make/unit-tests: var-readonly.exp var-readonly.mk Log Message: Add the unit tests To generate a diff of this commit: cvs rdiff -u -r0 -r1.1

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

2023-01-23 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jan 24 00:20:00 UTC 2023 Added Files: src/usr.bin/make/unit-tests: var-readonly.exp var-readonly.mk Log Message: Add the unit tests To generate a diff of this commit: cvs rdiff -u -r0 -r1.1

CVS commit: src/usr.bin/make

2023-01-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 26 20:48:18 UTC 2023 Modified Files: src/usr.bin/make: main.c make.1 make.h var.c src/usr.bin/make/unit-tests: varname-dot-newline.exp varname-dot-newline.mk Log Message: make: some variables should be

CVS commit: src/usr.bin/make

2023-01-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 26 20:48:18 UTC 2023 Modified Files: src/usr.bin/make: main.c make.1 make.h var.c src/usr.bin/make/unit-tests: varname-dot-newline.exp varname-dot-newline.mk Log Message: make: some variables should be

CVS commit: src

2023-01-23 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jan 23 23:01:53 UTC 2023 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make: make.1 make.h parse.c var.c src/usr.bin/make/unit-tests: Makefile Log Message: make: .[NO]READONLY for control of

CVS commit: src

2023-01-23 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jan 23 23:01:53 UTC 2023 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make: make.1 make.h parse.c var.c src/usr.bin/make/unit-tests: Makefile Log Message: make: .[NO]READONLY for control of

CVS commit: src/usr.bin/make

2023-03-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Mar 18 22:20:12 UTC 2023 Modified Files: src/usr.bin/make: compat.c src/usr.bin/make/unit-tests: cmd-interrupt.exp cmd-interrupt.mk deptgt-delete_on_error.exp Log Message: make: handle .PHONY consitently on

CVS commit: src/usr.bin/make

2023-03-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Mar 18 22:20:12 UTC 2023 Modified Files: src/usr.bin/make: compat.c src/usr.bin/make/unit-tests: cmd-interrupt.exp cmd-interrupt.mk deptgt-delete_on_error.exp Log Message: make: handle .PHONY consitently on

  1   2   >