CVS commit: src/usr.bin/make

2020-07-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jul 18 21:37:38 UTC 2020 Modified Files: src/usr.bin/make: hash.c hash.h main.c make.1 make.h Log Message: Add -dh for DEBUG_HASH Allow tracking of max chain length, to see how well the hash tables are working. Pull the actual

CVS commit: src/usr.bin/make

2020-07-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jul 11 00:39:53 UTC 2020 Modified Files: src/usr.bin/make: meta.c Log Message: meta_oodate: if target is explicitly .META missing is oodate If a .meta file is missing for a target marked .META it is out-of-date To generate a

CVS commit: src/usr.bin/make

2020-07-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jul 11 00:39:53 UTC 2020 Modified Files: src/usr.bin/make: meta.c Log Message: meta_oodate: if target is explicitly .META missing is oodate If a .meta file is missing for a target marked .META it is out-of-date To generate a

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

2020-07-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jul 10 15:53:30 UTC 2020 Modified Files: src/usr.bin/make/filemon: filemon_dev.c Log Message: Use O_CLOEXEC and save a syscall. Reviewed by: riastradh To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2020-07-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jul 10 15:53:30 UTC 2020 Modified Files: src/usr.bin/make/filemon: filemon_dev.c Log Message: Use O_CLOEXEC and save a syscall. Reviewed by: riastradh To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2020-07-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jul 10 00:42:53 UTC 2020 Modified Files: src/usr.bin/make/filemon: filemon_dev.c Log Message: filemon_dev:filemon_open need FD_CLOEXEC We need to mark the fd for filemon FD_CLOEXEC so that when we call filemon_close() the

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

2020-07-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jul 10 00:42:53 UTC 2020 Modified Files: src/usr.bin/make/filemon: filemon_dev.c Log Message: filemon_dev:filemon_open need FD_CLOEXEC We need to mark the fd for filemon FD_CLOEXEC so that when we call filemon_close() the

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

2020-07-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jul 9 22:40:14 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Fix typo To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/usr.bin/make/unit-tests/Makefile Please note that diffs

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

2020-07-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jul 9 22:40:14 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Fix typo To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/usr.bin/make/unit-tests/Makefile Please note that diffs

CVS commit: src/usr.bin/make

2020-07-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jul 9 22:34:09 UTC 2020 Modified Files: src/usr.bin/make: cond.c src/usr.bin/make/unit-tests: cond-short.exp cond-short.mk Log Message: compare_expression: return after fetch lhs and rhs if !doEval Otherwise we end up

CVS commit: src/usr.bin/make

2020-07-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jul 9 22:34:09 UTC 2020 Modified Files: src/usr.bin/make: cond.c src/usr.bin/make/unit-tests: cond-short.exp cond-short.mk Log Message: compare_expression: return after fetch lhs and rhs if !doEval Otherwise we end up

CVS commit: src/usr.bin/make

2020-07-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jul 1 18:02:27 UTC 2020 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmisc.exp varmisc.mk Log Message: Fix parsing of nested variables during .for loop Recent change to cond.c to avoid eval of

CVS commit: src/usr.bin/make

2020-07-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jul 1 18:02:27 UTC 2020 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmisc.exp varmisc.mk Log Message: Fix parsing of nested variables during .for loop Recent change to cond.c to avoid eval of

CVS commit: src/usr.bin/make

2020-06-25 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jun 25 15:45:37 UTC 2020 Modified Files: src/usr.bin/make: meta.c Log Message: filemon_read: report error if lseek fails Reviewed by: riastradh To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82

CVS commit: src/usr.bin/make

2020-06-25 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jun 25 15:45:37 UTC 2020 Modified Files: src/usr.bin/make: meta.c Log Message: filemon_read: report error if lseek fails Reviewed by: riastradh To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82

CVS commit: src/usr.bin/make

2020-06-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jun 22 20:15:25 UTC 2020 Modified Files: src/usr.bin/make: main.c Log Message: dieQuietly: ignore OP_SUBMAKE Stick to OP_MAKE for deciding when to supress noise as OP_SUBMAKE can be too aggressive. Reviewed by: gson To

CVS commit: src/usr.bin/make

2020-06-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jun 22 20:15:25 UTC 2020 Modified Files: src/usr.bin/make: main.c Log Message: dieQuietly: ignore OP_SUBMAKE Stick to OP_MAKE for deciding when to supress noise as OP_SUBMAKE can be too aggressive. Reviewed by: gson To

CVS commit: src/usr.bin/make

2020-06-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 19 21:17:48 UTC 2020 Modified Files: src/usr.bin/make: job.c main.c make.h Log Message: Avoid unnecessary noise when sub-make or sibling dies When analyzing a build log, the first 'stopped' output from make, is the end of

CVS commit: src/usr.bin/make

2020-06-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 19 21:17:48 UTC 2020 Modified Files: src/usr.bin/make: job.c main.c make.h Log Message: Avoid unnecessary noise when sub-make or sibling dies When analyzing a build log, the first 'stopped' output from make, is the end of

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

2020-06-08 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 9 01:48:17 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: modorder.exp modorder.mk Log Message: Add test case for :Or To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2020-06-08 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 9 01:48:17 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: modorder.exp modorder.mk Log Message: Add test case for :Or To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/make

2020-06-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 5 19:20:46 UTC 2020 Modified Files: src/usr.bin/make: make.1 var.c Log Message: make: add :Or for reverse sort :Or is more efficient than :O:[-1..1] Reviewed by: christos To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2020-06-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 5 19:20:46 UTC 2020 Modified Files: src/usr.bin/make: make.1 var.c Log Message: make: add :Or for reverse sort :Or is more efficient than :O:[-1..1] Reviewed by: christos To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2020-06-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 5 18:03:59 UTC 2020 Modified Files: src/usr.bin/make: dir.c Log Message: cached_stats: do not conflate stat and lstat While make uses lstat quite rarely, it does so for reason. Avoid confusing the results. Reviewed by:

CVS commit: src/usr.bin/make

2020-06-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 5 18:03:59 UTC 2020 Modified Files: src/usr.bin/make: dir.c Log Message: cached_stats: do not conflate stat and lstat While make uses lstat quite rarely, it does so for reason. Avoid confusing the results. Reviewed by:

CVS commit: src/usr.bin/make

2020-04-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 3 03:35:16 UTC 2020 Modified Files: src/usr.bin/make: make.h Log Message: Revert arraycount To generate a diff of this commit: cvs rdiff -u -r1.106 -r1.107 src/usr.bin/make/make.h Please note that diffs are not public

CVS commit: src/usr.bin/make

2020-04-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 3 03:35:16 UTC 2020 Modified Files: src/usr.bin/make: make.h Log Message: Revert arraycount To generate a diff of this commit: cvs rdiff -u -r1.106 -r1.107 src/usr.bin/make/make.h Please note that diffs are not public

CVS commit: src/usr.bin/make

2020-04-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 3 03:32:28 UTC 2020 Modified Files: src/usr.bin/make: make.h meta.c Log Message: CHECK_VALID_META is too agressive for CMD check. An empty CMD is perfectly valid. So using CHECK_VALID_META results in too much rebuilding.

CVS commit: src/usr.bin/make

2020-04-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 3 03:32:28 UTC 2020 Modified Files: src/usr.bin/make: make.h meta.c Log Message: CHECK_VALID_META is too agressive for CMD check. An empty CMD is perfectly valid. So using CHECK_VALID_META results in too much rebuilding.

CVS commit: src/usr.bin/make

2020-03-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Mar 30 02:41:06 UTC 2020 Modified Files: src/usr.bin/make: main.c make.h Log Message: make: fix -fno-common build debug was declared extern, but debug_file was not; correct this and define debug_file in main.c (as debug is) to

CVS commit: src/usr.bin/make

2020-03-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Mar 30 02:41:06 UTC 2020 Modified Files: src/usr.bin/make: main.c make.h Log Message: make: fix -fno-common build debug was declared extern, but debug_file was not; correct this and define debug_file in main.c (as debug is) to

CVS commit: src/usr.bin/make

2020-03-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Mar 18 23:53:02 UTC 2020 Modified Files: src/usr.bin/make: meta.c Log Message: Check for meta file corruption earlier and more often. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/usr.bin/make/meta.c

CVS commit: src/usr.bin/make

2020-03-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Mar 18 23:53:02 UTC 2020 Modified Files: src/usr.bin/make: meta.c Log Message: Check for meta file corruption earlier and more often. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/usr.bin/make/meta.c

CVS commit: src/usr.bin/make

2020-02-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Feb 12 16:50:37 UTC 2020 Modified Files: src/usr.bin/make: meta.c Log Message: meta_compat_parent check for USE_FILEMON patch from Soeren Tempel To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79

CVS commit: src/usr.bin/make

2020-02-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Feb 12 16:50:37 UTC 2020 Modified Files: src/usr.bin/make: meta.c Log Message: meta_compat_parent check for USE_FILEMON patch from Soeren Tempel To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79

CVS commit: src/usr.bin/make

2020-02-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Feb 6 01:13:19 UTC 2020 Modified Files: src/usr.bin/make: Makefile job.c meta.c Log Message: Fix meta_compat mode. We need to call meta_job_output() from meta_compat_parent() Also, the need for extra fds for meta mode only

CVS commit: src/usr.bin/make

2020-02-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Feb 6 01:13:19 UTC 2020 Modified Files: src/usr.bin/make: Makefile job.c meta.c Log Message: Fix meta_compat mode. We need to call meta_job_output() from meta_compat_parent() Also, the need for extra fds for meta mode only

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

2020-01-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jan 22 22:10:36 UTC 2020 Modified Files: src/usr.bin/make/filemon: filemon.h Log Message: Rename guard to avoid that already used by Linux filemon.h Reviewed by: riastradh To generate a diff of this commit: cvs rdiff -u -r1.1

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

2020-01-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jan 22 22:10:36 UTC 2020 Modified Files: src/usr.bin/make/filemon: filemon.h Log Message: Rename guard to avoid that already used by Linux filemon.h Reviewed by: riastradh To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/usr.bin/make

2020-01-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jan 22 21:04:29 UTC 2020 Modified Files: src/usr.bin/make: meta.c Log Message: Check for filemon valid. If meta_needed() returns FALSE, mfp and filemon will be NULL in which case we should not call filemon_*(). To generate a

CVS commit: src/usr.bin/make

2020-01-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jan 22 21:04:29 UTC 2020 Modified Files: src/usr.bin/make: meta.c Log Message: Check for filemon valid. If meta_needed() returns FALSE, mfp and filemon will be NULL in which case we should not call filemon_*(). To generate a

CVS commit: src/usr.bin/make

2020-01-21 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jan 22 00:26:45 UTC 2020 Modified Files: src/usr.bin/make: meta.c Log Message: meta.c: report OODATE value if not empty When a target is out-of-date per normal make rules .OODATE will be non-empty, report this in .meta file to

CVS commit: src/usr.bin/make

2020-01-21 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jan 22 00:26:45 UTC 2020 Modified Files: src/usr.bin/make: meta.c Log Message: meta.c: report OODATE value if not empty When a target is out-of-date per normal make rules .OODATE will be non-empty, report this in .meta file to

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

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/usr.bin/make

2019-04-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 9 18:28:10 UTC 2019 Modified Files: src/usr.bin/make: parse.c Log Message: ParseDoDependency: free paths rather than assert PR: 52737 Reviewed by: christos To generate a diff of this commit: cvs rdiff -u -r1.231 -r1.232

CVS commit: src/usr.bin/make

2019-04-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 9 18:28:10 UTC 2019 Modified Files: src/usr.bin/make: parse.c Log Message: ParseDoDependency: free paths rather than assert PR: 52737 Reviewed by: christos To generate a diff of this commit: cvs rdiff -u -r1.231 -r1.232

CVS commit: src/usr.bin/make

2018-12-21 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Dec 22 00:36:32 UTC 2018 Modified Files: src/usr.bin/make: parse.c Log Message: ParseVErrorInternal: use .PARSEDIR and apply realpath(3) if not absolute, and use .PARSEFILE for consitent results. Reviewed by: christos To

CVS commit: src/usr.bin/make

2018-12-21 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Dec 22 00:36:32 UTC 2018 Modified Files: src/usr.bin/make: parse.c Log Message: ParseVErrorInternal: use .PARSEDIR and apply realpath(3) if not absolute, and use .PARSEFILE for consitent results. Reviewed by: christos To

CVS commit: src/usr.bin/make

2018-12-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Dec 21 05:50:19 UTC 2018 Modified Files: src/usr.bin/make: var.c Log Message: unexport-env: avoid SEGFAULT if MAKELEVEL not in env To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221 src/usr.bin/make/var.c Please

CVS commit: src/usr.bin/make

2018-12-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Dec 21 05:50:19 UTC 2018 Modified Files: src/usr.bin/make: var.c Log Message: unexport-env: avoid SEGFAULT if MAKELEVEL not in env To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221 src/usr.bin/make/var.c Please

CVS commit: src/usr.bin/make

2018-05-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun May 13 22:13:28 UTC 2018 Modified Files: src/usr.bin/make: job.c Log Message: Just skip polling job token pipe. The sigchld pipe ensures no busy wait. PR: 53285 Reviewed by: To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2018-05-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun May 13 22:13:28 UTC 2018 Modified Files: src/usr.bin/make: job.c Log Message: Just skip polling job token pipe. The sigchld pipe ensures no busy wait. PR: 53285 Reviewed by: To generate a diff of this commit: cvs rdiff -u

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

2018-05-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat May 12 18:17:04 UTC 2018 Modified Files: src/usr.bin/make: job.c Log Message: Skip setting wantToken. polling the job token pipe adds a lot of overhead for little gain. For now, just leave wantToken=0 And avoid busy waiting

CVS commit: src/usr.bin/make

2018-05-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat May 12 18:17:04 UTC 2018 Modified Files: src/usr.bin/make: job.c Log Message: Skip setting wantToken. polling the job token pipe adds a lot of overhead for little gain. For now, just leave wantToken=0 And avoid busy waiting

CVS commit: src/usr.bin/make

2018-02-21 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Feb 22 01:59:28 UTC 2018 Modified Files: src/usr.bin/make: parse.c Log Message: Avoid calling sysconf for every file loaded. At start of a meta build this can be measurable overhead. Patch from bdrewery at freebsd.org To

CVS commit: src/usr.bin/make

2018-02-21 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Feb 22 01:59:28 UTC 2018 Modified Files: src/usr.bin/make: parse.c Log Message: Avoid calling sysconf for every file loaded. At start of a meta build this can be measurable overhead. Patch from bdrewery at freebsd.org To

CVS commit: src/usr.bin/make

2018-02-17 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Feb 18 00:52:42 UTC 2018 Modified Files: src/usr.bin/make: var.c Log Message: Var_Set: avoid SIGSEGV if val is NULL A NULL val is handled gracefully (by VarAdd) when var is not previously set, so we ought not crash the second

CVS commit: src/usr.bin/make

2018-02-17 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Feb 18 00:52:42 UTC 2018 Modified Files: src/usr.bin/make: var.c Log Message: Var_Set: avoid SIGSEGV if val is NULL A NULL val is handled gracefully (by VarAdd) when var is not previously set, so we ought not crash the second

CVS commit: src/usr.bin/make

2018-02-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Feb 13 19:37:31 UTC 2018 Modified Files: src/usr.bin/make: meta.c Log Message: Avoid unused variable warning To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/usr.bin/make/meta.c Please note that diffs are not

CVS commit: src/usr.bin/make

2018-02-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Feb 13 19:37:31 UTC 2018 Modified Files: src/usr.bin/make: meta.c Log Message: Avoid unused variable warning To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/usr.bin/make/meta.c Please note that diffs are not

CVS commit: src/usr.bin/make

2018-02-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Feb 12 21:38:09 UTC 2018 Modified Files: src/usr.bin/make: make.h parse.c Log Message: Do not treat .info as warning for -W Reported by: lwhsu at FreeBSD.org To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104

CVS commit: src/usr.bin/make

2018-02-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Feb 12 21:38:09 UTC 2018 Modified Files: src/usr.bin/make: make.h parse.c Log Message: Do not treat .info as warning for -W Reported by: lwhsu at FreeBSD.org To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104

CVS commit: src/usr.bin/make

2017-12-07 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Dec 8 03:36:42 UTC 2017 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varcmd.exp varcmd.mk Log Message: Ensure VAR+=val on command line is handled correctly If VAR is not previously set, call

CVS commit: src/usr.bin/make

2017-12-07 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Dec 8 03:36:42 UTC 2017 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varcmd.exp varcmd.mk Log Message: Ensure VAR+=val on command line is handled correctly If VAR is not previously set, call

CVS commit: src/usr.bin/make

2017-11-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Nov 18 22:34:05 UTC 2017 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varcmd.exp varcmd.mk Log Message: Do not append to variable set on command line POSIX requires that variables set on the

CVS commit: src/usr.bin/make

2017-11-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Nov 18 22:34:05 UTC 2017 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varcmd.exp varcmd.mk Log Message: Do not append to variable set on command line POSIX requires that variables set on the

CVS commit: src/usr.bin/make

2017-10-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Oct 28 21:54:54 UTC 2017 Modified Files: src/usr.bin/make: main.c Log Message: Ignore empty MAKEOBJDIR Otherwise we end up with .OBJDIR = ${.CURDIR}/ which is quivalent, but fails the typial .if ${.OBJDIR} == ${.CURDIR} To

CVS commit: src/usr.bin/make

2017-10-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Oct 28 21:54:54 UTC 2017 Modified Files: src/usr.bin/make: main.c Log Message: Ignore empty MAKEOBJDIR Otherwise we end up with .OBJDIR = ${.CURDIR}/ which is quivalent, but fails the typial .if ${.OBJDIR} == ${.CURDIR} To

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

2017-10-08 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Oct 8 20:44:19 UTC 2017 Modified Files: src/usr.bin/make/unit-tests: dotwait.exp dotwait.mk Log Message: Ensure consistent results on different platforms. With cycle.1.99 being written to stdout and make: Graph cycles through

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

2017-10-08 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Oct 8 20:44:19 UTC 2017 Modified Files: src/usr.bin/make/unit-tests: dotwait.exp dotwait.mk Log Message: Ensure consistent results on different platforms. With cycle.1.99 being written to stdout and make: Graph cycles through

CVS commit: src/usr.bin/make

2017-08-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Aug 10 21:07:48 UTC 2017 Modified Files: src/usr.bin/make: meta.c Log Message: Avoid full path meta file names for subdir of .OBJDIR To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/usr.bin/make/meta.c Please

CVS commit: src/usr.bin/make

2017-08-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Aug 10 21:07:48 UTC 2017 Modified Files: src/usr.bin/make: meta.c Log Message: Avoid full path meta file names for subdir of .OBJDIR To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/usr.bin/make/meta.c Please

CVS commit: src/usr.bin/make

2017-07-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jul 20 19:29:54 UTC 2017 Modified Files: src/usr.bin/make: compat.c job.c make.h Log Message: Make compat.c handle SIGINT etc more like job.c If there is a running child, pass the signal on, and wait for it to exit before we

CVS commit: src/usr.bin/make

2017-07-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jul 20 19:29:54 UTC 2017 Modified Files: src/usr.bin/make: compat.c job.c make.h Log Message: Make compat.c handle SIGINT etc more like job.c If there is a running child, pass the signal on, and wait for it to exit before we

CVS commit: src/usr.bin/make

2017-07-08 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jul 9 04:54:00 UTC 2017 Modified Files: src/usr.bin/make: meta.c Log Message: Ensure that command output is always followed by newline, even when filemon is not being used. Tweak MAKE_META_IGNORE_PATTERNS matching to avoid

CVS commit: src/usr.bin/make

2017-07-08 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jul 9 04:54:00 UTC 2017 Modified Files: src/usr.bin/make: meta.c Log Message: Ensure that command output is always followed by newline, even when filemon is not being used. Tweak MAKE_META_IGNORE_PATTERNS matching to avoid

CVS commit: src/usr.bin/make

2017-05-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed May 10 22:26:14 UTC 2017 Modified Files: src/usr.bin/make: main.c Log Message: Main_SetObjdir: ensure buf2 is in scope To generate a diff of this commit: cvs rdiff -u -r1.264 -r1.265 src/usr.bin/make/main.c Please note that

CVS commit: src/usr.bin/make

2017-05-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed May 10 22:26:14 UTC 2017 Modified Files: src/usr.bin/make: main.c Log Message: Main_SetObjdir: ensure buf2 is in scope To generate a diff of this commit: cvs rdiff -u -r1.264 -r1.265 src/usr.bin/make/main.c Please note that

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-

CVS commit: src/usr.bin/make

2017-04-21 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 21 22:15:44 UTC 2017 Modified Files: src/usr.bin/make: str.c src/usr.bin/make/unit-tests: modmatch.exp modmatch.mk Log Message: Str_Match: fix closure tests for [^] and add unit-test. To generate a diff of this

CVS commit: src/usr.bin/make

2017-04-21 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 21 22:15:44 UTC 2017 Modified Files: src/usr.bin/make: str.c src/usr.bin/make/unit-tests: modmatch.exp modmatch.mk Log Message: Str_Match: fix closure tests for [^] and add unit-test. To generate a diff of this

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

CVS commit: src/usr.bin/make

2017-04-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 20 03:57:27 UTC 2017 Modified Files: src/usr.bin/make: main.c Log Message: We cannot tollerate things like trailing /.. etc in .CURDIR so only accept -C arg "as is" if it contains no relative components. To generate a diff

CVS commit: src/usr.bin/make

2017-04-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 20 03:57:27 UTC 2017 Modified Files: src/usr.bin/make: main.c Log Message: We cannot tollerate things like trailing /.. etc in .CURDIR so only accept -C arg "as is" if it contains no relative components. To generate a diff

CVS commit: src/usr.bin/make

2017-04-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Apr 19 04:54:17 UTC 2017 Modified Files: src/usr.bin/make: main.c Log Message: We cannot use buf as both src and destination for snprintf. To generate a diff of this commit: cvs rdiff -u -r1.262 -r1.263 src/usr.bin/make/main.c

CVS commit: src/usr.bin/make

2017-04-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Apr 19 04:54:17 UTC 2017 Modified Files: src/usr.bin/make: main.c Log Message: We cannot use buf as both src and destination for snprintf. To generate a diff of this commit: cvs rdiff -u -r1.262 -r1.263 src/usr.bin/make/main.c

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

2017-04-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 13 16:23:39 UTC 2017 Modified Files: src/usr.bin/make/unit-tests: modmatch.exp modmatch.mk Log Message: Add test case for :M[^A-Z] To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2017-04-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 13 16:23:39 UTC 2017 Modified Files: src/usr.bin/make/unit-tests: modmatch.exp modmatch.mk Log Message: Add test case for :M[^A-Z] To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/make

2017-04-11 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 11 17:30:13 UTC 2017 Modified Files: src/usr.bin/make: str.c Log Message: Str_Match: allow [^a-z] to behave as expected. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/usr.bin/make/str.c Please note

CVS commit: src/usr.bin/make

2017-04-11 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 11 17:30:13 UTC 2017 Modified Files: src/usr.bin/make: str.c Log Message: Str_Match: allow [^a-z] to behave as expected. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/usr.bin/make/str.c Please note

CVS commit: src/usr.bin/make

2017-03-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 26 17:16:04 UTC 2017 Modified Files: src/usr.bin/make: main.c Log Message: When we change .OBJDIR we should delete any cached realpath results for relative paths. Reviewed by: christos To generate a diff of this commit:

CVS commit: src/usr.bin/make

2017-03-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 26 17:16:04 UTC 2017 Modified Files: src/usr.bin/make: main.c Log Message: When we change .OBJDIR we should delete any cached realpath results for relative paths. Reviewed by: christos To generate a diff of this commit:

CVS commit: src/usr.bin/make

2017-03-11 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Mar 11 23:59:02 UTC 2017 Modified Files: src/usr.bin/make: main.c Log Message: Do not consider using -C arg "as is" for .CURDIR unless it starts with '/'. Reviewed by: christos To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2017-03-11 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Mar 11 23:59:02 UTC 2017 Modified Files: src/usr.bin/make: main.c Log Message: Do not consider using -C arg "as is" for .CURDIR unless it starts with '/'. Reviewed by: christos To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2017-03-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Mar 1 16:39:49 UTC 2017 Modified Files: src/usr.bin/make: parse.c Log Message: loadfile: in the mmap case ensures that the buffer ends with \n do the same for the non-mmap case - avoids core dump. To generate a diff of this

CVS commit: src/usr.bin/make

2017-03-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Mar 1 16:39:49 UTC 2017 Modified Files: src/usr.bin/make: parse.c Log Message: loadfile: in the mmap case ensures that the buffer ends with \n do the same for the non-mmap case - avoids core dump. To generate a diff of this

<    1   2   3   4   5   6   7   8   9   >