CVS commit: src/usr.bin/make

2015-10-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Oct 12 16:48:13 UTC 2015 Modified Files: src/usr.bin/make: var.c Log Message: The conditional expressions used with ':?' can be expensive eg. exists() does stat(2). If 'wantit' is FALSE, we are going to discard everything

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

2015-10-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Oct 12 17:09:29 UTC 2015 Modified Files: src/usr.bin/make/unit-tests: varmisc.exp varmisc.mk Log Message: Add unit-test for discarded :? To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2015-10-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Oct 12 17:09:29 UTC 2015 Modified Files: src/usr.bin/make/unit-tests: varmisc.exp varmisc.mk Log Message: Add unit-test for discarded :? To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2015-10-11 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Oct 11 06:32:15 UTC 2015 Modified Files: src/usr.bin/make/unit-tests: varmisc.exp varmisc.mk Log Message: Avoid echo -n in unit-tests To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2015-10-11 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Oct 11 06:32:15 UTC 2015 Modified Files: src/usr.bin/make/unit-tests: varmisc.exp varmisc.mk Log Message: Avoid echo -n in unit-tests To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/usr.bin/make

2015-10-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Oct 11 04:51:24 UTC 2015 Modified Files: src/usr.bin/make: arch.c compat.c cond.c for.c job.c main.c make.c meta.c nonints.h parse.c suff.c var.c src/usr.bin/make/unit-tests: varmisc.exp varmisc.mk Log

CVS commit: src/usr.bin/make

2015-10-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Oct 11 04:51:24 UTC 2015 Modified Files: src/usr.bin/make: arch.c compat.c cond.c for.c job.c main.c make.c meta.c nonints.h parse.c suff.c var.c src/usr.bin/make/unit-tests: varmisc.exp varmisc.mk Log

CVS commit: src/usr.bin/make

2015-10-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Oct 10 03:58:59 UTC 2015 Modified Files: src/usr.bin/make: meta.c Log Message: Do not hard-code ingnoring of makeDependfile To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/usr.bin/make/meta.c Please note

CVS commit: src/usr.bin/make

2015-10-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Oct 10 03:58:59 UTC 2015 Modified Files: src/usr.bin/make: meta.c Log Message: Do not hard-code ingnoring of makeDependfile To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/usr.bin/make/meta.c Please note

CVS commit: src/usr.bin/make

2015-09-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Sep 10 17:15:11 UTC 2015 Modified Files: src/usr.bin/make: main.c Log Message: Output Entering/Leaving messages for objdir when != srcdir and -w flag This helps ensure Emacs can find source of error. Reviewed by: christos To

CVS commit: src/usr.bin/make

2015-09-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Sep 10 17:15:11 UTC 2015 Modified Files: src/usr.bin/make: main.c Log Message: Output Entering/Leaving messages for objdir when != srcdir and -w flag This helps ensure Emacs can find source of error. Reviewed by: christos To

CVS commit: src/sys/dev/filemon

2015-06-16 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jun 17 02:17:00 UTC 2015 Modified Files: src/sys/dev/filemon: filemon.h Log Message: Bump version due to openat To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/filemon/filemon.h Please note that diffs

CVS commit: src/sys/dev/filemon

2015-06-16 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jun 17 02:17:00 UTC 2015 Modified Files: src/sys/dev/filemon: filemon.h Log Message: Bump version due to openat To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/filemon/filemon.h Please note that diffs

CVS commit: src/sys/dev/filemon

2015-06-15 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jun 15 18:11:36 UTC 2015 Modified Files: src/sys/dev/filemon: filemon_wrapper.c Log Message: Latest clang uses openat, filemon thus needs to handle it. For the simple cases where path is absolute or dirfd is for cwd we can

CVS commit: src/sys/dev/filemon

2015-06-15 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jun 15 18:11:36 UTC 2015 Modified Files: src/sys/dev/filemon: filemon_wrapper.c Log Message: Latest clang uses openat, filemon thus needs to handle it. For the simple cases where path is absolute or dirfd is for cwd we can

CVS commit: src/usr.bin/make

2015-06-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 5 05:37:42 UTC 2015 Modified Files: src/usr.bin/make: make.1 Log Message: Document .OBJDIR target. To generate a diff of this commit: cvs rdiff -u -r1.247 -r1.248 src/usr.bin/make/make.1 Please note that diffs are not

CVS commit: src/usr.bin/make

2015-06-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 5 05:37:42 UTC 2015 Modified Files: src/usr.bin/make: make.1 Log Message: Document .OBJDIR target. To generate a diff of this commit: cvs rdiff -u -r1.247 -r1.248 src/usr.bin/make/make.1 Please note that diffs are not

CVS commit: src/usr.bin/make

2015-05-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue May 5 21:51:09 UTC 2015 Modified Files: src/usr.bin/make: cond.c nonints.h var.c src/usr.bin/make/unit-tests: Makefile Added Files: src/usr.bin/make/unit-tests: cond2.exp cond2.mk Log Message: When evaluating

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

2015-05-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue May 5 21:51:48 UTC 2015 Modified Files: src/distrib/sets/lists/tests: mi Log Message: New unit-test for make To generate a diff of this commit: cvs rdiff -u -r1.617 -r1.618 src/distrib/sets/lists/tests/mi Please note that

CVS commit: src/usr.bin/make

2015-04-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Apr 11 05:24:30 UTC 2015 Modified Files: src/usr.bin/make: meta.c Log Message: Use separate vars to track cwd and last dir a process read. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/usr.bin/make/meta.c

CVS commit: src/usr.bin/make

2015-04-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Apr 11 05:24:30 UTC 2015 Modified Files: src/usr.bin/make: meta.c Log Message: Use separate vars to track cwd and last dir a process read. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/usr.bin/make/meta.c

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

2015-04-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 10 20:41:59 UTC 2015 Modified Files: src/usr.bin/make/unit-tests: export-all.exp export-all.mk varshell.exp varshell.mk Log Message: export-all.mk should be including export.mk sadly some shells do not grok named

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

2015-04-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 10 20:41:59 UTC 2015 Modified Files: src/usr.bin/make/unit-tests: export-all.exp export-all.mk varshell.exp varshell.mk Log Message: export-all.mk should be including export.mk sadly some shells do not grok named

CVS commit: src/usr.bin/make

2015-04-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 9 18:22:08 UTC 2015 Modified Files: src/usr.bin/make: make.1 Log Message: Forgot to tweak date To generate a diff of this commit: cvs rdiff -u -r1.244 -r1.245 src/usr.bin/make/make.1 Please note that diffs are not public

CVS commit: src/usr.bin/make

2015-04-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 9 18:21:01 UTC 2015 Modified Files: src/usr.bin/make: job.c make.1 Log Message: jobs mode handles '-' very differently to compat mode, but this is not reflected in make.1 Also fix handling to match the behavior described in

CVS commit: src/usr.bin/make

2015-04-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 9 18:21:01 UTC 2015 Modified Files: src/usr.bin/make: job.c make.1 Log Message: jobs mode handles '-' very differently to compat mode, but this is not reflected in make.1 Also fix handling to match the behavior described in

CVS commit: src/usr.bin/make

2015-04-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 9 18:22:08 UTC 2015 Modified Files: src/usr.bin/make: make.1 Log Message: Forgot to tweak date To generate a diff of this commit: cvs rdiff -u -r1.244 -r1.245 src/usr.bin/make/make.1 Please note that diffs are not public

CVS commit: src/usr.bin/make

2015-03-31 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Apr 1 01:03:55 UTC 2015 Modified Files: src/usr.bin/make: meta.c Log Message: Close child's reference to meta file. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/usr.bin/make/meta.c Please note that diffs

CVS commit: src/usr.bin/make

2015-03-31 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Apr 1 01:03:55 UTC 2015 Modified Files: src/usr.bin/make: meta.c Log Message: Close child's reference to meta file. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/usr.bin/make/meta.c Please note that diffs

CVS commit: src/usr.bin/make

2015-03-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Mar 26 22:20:42 UTC 2015 Modified Files: src/usr.bin/make: main.c Log Message: Move initialization of savederr to the block where it is used to avoid spurious warning from gcc 5 To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2015-03-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Mar 26 22:20:42 UTC 2015 Modified Files: src/usr.bin/make: main.c Log Message: Move initialization of savederr to the block where it is used to avoid spurious warning from gcc 5 To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2014-11-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Nov 6 01:36:57 UTC 2014 Modified Files: src/usr.bin/make: meta.c Log Message: Ensure -- filemon is at start of line To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/usr.bin/make/meta.c Please note that diffs

CVS commit: src/usr.bin/make

2014-11-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Nov 6 01:36:57 UTC 2014 Modified Files: src/usr.bin/make: meta.c Log Message: Ensure -- filemon is at start of line To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/usr.bin/make/meta.c Please note that diffs

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

2014-10-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Oct 20 23:21:11 UTC 2014 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Extract broken tests To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/usr.bin/make/unit-tests/Makefile Please note

CVS commit: src/usr.bin/make

2014-10-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Oct 20 23:22:57 UTC 2014 Modified Files: src/usr.bin/make: meta.c Log Message: Use read and fwrite rather than fgets and printf when reading filemon data. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35

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

2014-10-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Oct 20 23:21:11 UTC 2014 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Extract broken tests To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/usr.bin/make/unit-tests/Makefile Please note

CVS commit: src/usr.bin/make

2014-10-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Oct 20 23:22:57 UTC 2014 Modified Files: src/usr.bin/make: meta.c Log Message: Use read and fwrite rather than fgets and printf when reading filemon data. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35

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

2014-08-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Aug 30 22:21:08 UTC 2014 Modified Files: src/usr.bin/make/unit-tests: impsrc.mk posix1.exp posix1.mk suffixes.mk sysv.mk varmisc.mk Log Message: Replace use of $() with ${} $() means something special to the shell,

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

2014-08-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Aug 30 22:21:08 UTC 2014 Modified Files: src/usr.bin/make/unit-tests: impsrc.mk posix1.exp posix1.mk suffixes.mk sysv.mk varmisc.mk Log Message: Replace use of $() with ${} $() means something special to the shell,

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

2014-08-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Aug 29 15:55:44 UTC 2014 Modified Files: src/usr.bin/make/unit-tests: Makefile posix1.exp posix1.mk suffixes.mk Log Message: posix1.mk and suffixes.mk need to cleanup in order to achieve repeatable results. posix1.mk's lib.a

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

2014-08-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Aug 29 20:03:27 UTC 2014 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: *.rawout are out-of-date if ${TEST_MAKE} is newer. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

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

2014-08-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Aug 29 15:55:44 UTC 2014 Modified Files: src/usr.bin/make/unit-tests: Makefile posix1.exp posix1.mk suffixes.mk Log Message: posix1.mk and suffixes.mk need to cleanup in order to achieve repeatable results. posix1.mk's lib.a

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

2014-08-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Aug 29 20:03:27 UTC 2014 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: *.rawout are out-of-date if ${TEST_MAKE} is newer. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src/usr.bin/make

2014-08-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Aug 28 19:55:00 UTC 2014 Modified Files: src/usr.bin/make: make.1 Log Message: Enter/leave flag is -w not -dw To generate a diff of this commit: cvs rdiff -u -r1.233 -r1.234 src/usr.bin/make/make.1 Please note that diffs are

CVS commit: src/usr.bin/make

2014-08-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Aug 28 19:55:00 UTC 2014 Modified Files: src/usr.bin/make: make.1 Log Message: Enter/leave flag is -w not -dw To generate a diff of this commit: cvs rdiff -u -r1.233 -r1.234 src/usr.bin/make/make.1 Please note that diffs are

CVS commit: src/usr.bin/make

2014-06-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 20 06:13:45 UTC 2014 Modified Files: src/usr.bin/make: var.c Log Message: Return varNoError rather than var_Error for ::?= etc. To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/usr.bin/make/var.c Please

CVS commit: src/usr.bin/make

2014-06-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 20 06:13:45 UTC 2014 Modified Files: src/usr.bin/make: var.c Log Message: Return varNoError rather than var_Error for ::?= etc. To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/usr.bin/make/var.c Please

CVS commit: src/usr.bin/make

2014-05-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon May 19 22:09:58 UTC 2014 Modified Files: src/usr.bin/make: var.c Log Message: Var_Parse: endc only counts when at the correct nesting depth. This ensures we correctly detect errors like: .if empty(VAR !empty(FOO) Var_Subst: if

CVS commit: src/usr.bin/make

2014-05-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon May 19 22:09:58 UTC 2014 Modified Files: src/usr.bin/make: var.c Log Message: Var_Parse: endc only counts when at the correct nesting depth. This ensures we correctly detect errors like: .if empty(VAR !empty(FOO) Var_Subst: if

CVS commit: src/usr.bin/make

2014-02-15 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Feb 15 18:55:30 UTC 2014 Modified Files: src/usr.bin/make: make.1 Log Message: Put .INCLUDEDFROM* in the right section To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230 src/usr.bin/make/make.1 Please note that

CVS commit: src/usr.bin/make

2014-02-15 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Feb 15 18:55:30 UTC 2014 Modified Files: src/usr.bin/make: make.1 Log Message: Put .INCLUDEDFROM* in the right section To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230 src/usr.bin/make/make.1 Please note that

CVS commit: src/usr.bin/make

2014-02-11 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Feb 12 01:35:56 UTC 2014 Modified Files: src/usr.bin/make: str.c Log Message: Reduce the calls to realloc from brk_string by basing initial argmax guess on length of input. Reviewed by: christos To generate a diff of this

CVS commit: src/usr.bin/make

2014-02-11 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Feb 12 01:35:56 UTC 2014 Modified Files: src/usr.bin/make: str.c Log Message: Reduce the calls to realloc from brk_string by basing initial argmax guess on length of input. Reviewed by: christos To generate a diff of this

CVS commit: src/usr.bin/make

2014-01-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jan 3 00:02:01 UTC 2014 Modified Files: src/usr.bin/make: compat.c Log Message: Treat '~' as a meta char requiring a shell. Patch from Steve McIntyre 93sam at debian.org Reviewed by: christos To generate a diff of this

CVS commit: src/usr.bin/make

2014-01-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jan 3 00:02:01 UTC 2014 Modified Files: src/usr.bin/make: compat.c Log Message: Treat '~' as a meta char requiring a shell. Patch from Steve McIntyre 93sam at debian.org Reviewed by: christos To generate a diff of this

CVS commit: src/usr.bin/make/lst.lib

2013-11-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Nov 14 00:01:28 UTC 2013 Modified Files: src/usr.bin/make/lst.lib: lstMember.c Log Message: Don't SEGV when passed NULL for list. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/usr.bin/make

2013-11-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Nov 14 00:27:05 UTC 2013 Modified Files: src/usr.bin/make: hash.c Log Message: Don't SEGV when Hash_Table is uninitialized To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/usr.bin/make/hash.c Please note that

CVS commit: src/usr.bin/make/lst.lib

2013-11-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Nov 14 00:01:28 UTC 2013 Modified Files: src/usr.bin/make/lst.lib: lstMember.c Log Message: Don't SEGV when passed NULL for list. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/usr.bin/make

2013-11-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Nov 14 00:27:05 UTC 2013 Modified Files: src/usr.bin/make: hash.c Log Message: Don't SEGV when Hash_Table is uninitialized To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/usr.bin/make/hash.c Please note that

CVS commit: src/usr.bin/make

2013-10-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Oct 1 05:37:17 UTC 2013 Modified Files: src/usr.bin/make: meta.c Log Message: meta_oodate: 'L'ink and 'M'ove entries need extra processing. The src of a Link should be treated as a file Read while the target a file Written. The

CVS commit: src/usr.bin/make

2013-10-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Oct 1 05:37:17 UTC 2013 Modified Files: src/usr.bin/make: meta.c Log Message: meta_oodate: 'L'ink and 'M'ove entries need extra processing. The src of a Link should be treated as a file Read while the target a file Written. The

CVS commit: src/usr.bin/make

2013-09-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Sep 4 15:38:26 UTC 2013 Modified Files: src/usr.bin/make: main.c make.h var.c Log Message: Add VAR_INTERNAL as a context for variables set by make itself, which should not override those set by makefiles. Currently MAKEFILE is

CVS commit: src/usr.bin/make

2013-09-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Sep 2 19:26:42 UTC 2013 Modified Files: src/usr.bin/make: compat.c Log Message: Do not apply shellErrFlag unless errCheck is true. To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/usr.bin/make/compat.c

CVS commit: src/usr.bin/make

2013-09-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Sep 2 19:26:42 UTC 2013 Modified Files: src/usr.bin/make: compat.c Log Message: Do not apply shellErrFlag unless errCheck is true. To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/usr.bin/make/compat.c

CVS commit: src/usr.bin/make

2013-08-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Aug 28 21:56:50 UTC 2013 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: Makefile test.exp Added Files: src/usr.bin/make/unit-tests: sunshcmd Log Message: Fix parsing of SUNSHCMD style :sh

CVS commit: src/usr.bin/make

2013-08-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Aug 28 21:56:50 UTC 2013 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: Makefile test.exp Added Files: src/usr.bin/make/unit-tests: sunshcmd Log Message: Fix parsing of SUNSHCMD style :sh

CVS commit: src/usr.bin/make

2013-08-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Aug 10 21:20:03 UTC 2013 Modified Files: src/usr.bin/make: parse.c Log Message: ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't. Consume up to next newline, and issue a parse warning. If no newline

CVS commit: src/usr.bin/make

2013-08-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Aug 10 21:20:03 UTC 2013 Modified Files: src/usr.bin/make: parse.c Log Message: ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't. Consume up to next newline, and issue a parse warning. If no newline

CVS commit: src/usr.bin/make

2013-08-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Aug 4 16:48:15 UTC 2013 Modified Files: src/usr.bin/make: job.c main.c Log Message: Move the call to Job_SetPrefix() to Job_Init() so that makefiles have had a chance to set .MAKE.JOB.PREFIX To generate a diff of this commit:

CVS commit: src/usr.bin/make

2013-08-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Aug 4 16:48:15 UTC 2013 Modified Files: src/usr.bin/make: job.c main.c Log Message: Move the call to Job_SetPrefix() to Job_Init() so that makefiles have had a chance to set .MAKE.JOB.PREFIX To generate a diff of this commit:

CVS commit: src/usr.bin/make

2013-07-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jul 30 19:09:57 UTC 2013 Modified Files: src/usr.bin/make: job.c make.1 Log Message: Allow an empty .MAKE.JOB.PREFIX to supress output of --- job --- tokens To generate a diff of this commit: cvs rdiff -u -r1.174 -r1.175

CVS commit: src/usr.bin/make

2013-07-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jul 30 19:09:57 UTC 2013 Modified Files: src/usr.bin/make: job.c make.1 Log Message: Allow an empty .MAKE.JOB.PREFIX to supress output of --- job --- tokens To generate a diff of this commit: cvs rdiff -u -r1.174 -r1.175

CVS commit: src/usr.bin/make

2013-07-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jul 18 15:31:49 UTC 2013 Modified Files: src/usr.bin/make: main.c Log Message: From bmake: move decl of pwd nearer to where it is used so the whole thing can be ifdef'd out without causing unused variable errors. To generate a

CVS commit: src/usr.bin/make

2013-07-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jul 18 15:31:49 UTC 2013 Modified Files: src/usr.bin/make: main.c Log Message: From bmake: move decl of pwd nearer to where it is used so the whole thing can be ifdef'd out without causing unused variable errors. To generate a

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

2013-07-16 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jul 16 19:59:29 UTC 2013 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Fix unit-tests to cope with recent change to progname To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/usr.bin/make

2013-07-16 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jul 16 20:00:56 UTC 2013 Modified Files: src/usr.bin/make: var.c Log Message: When a var is set in the CMD context, it prevents the same name being set in GLOBAL context. We should also delete any such variable in GLOBAL

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

2013-07-16 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jul 16 19:59:29 UTC 2013 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Fix unit-tests to cope with recent change to progname To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/usr.bin/make

2013-07-16 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jul 16 20:00:56 UTC 2013 Modified Files: src/usr.bin/make: var.c Log Message: When a var is set in the CMD context, it prevents the same name being set in GLOBAL context. We should also delete any such variable in GLOBAL

CVS commit: src/usr.bin/make

2013-07-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jul 9 18:13:14 UTC 2013 Modified Files: src/usr.bin/make: main.c Log Message: Set .MAKE.LEVEL.ENV to the name of the env variable used to communicate the recursion level to sub-makes. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/make

2013-07-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jul 9 18:44:41 UTC 2013 Modified Files: src/usr.bin/make: main.c Log Message: For .MAKE.LEVEL.ENV use VAR_CMD so updates are ignored To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218 src/usr.bin/make/main.c

CVS commit: src/usr.bin/make

2013-07-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jul 9 18:13:14 UTC 2013 Modified Files: src/usr.bin/make: main.c Log Message: Set .MAKE.LEVEL.ENV to the name of the env variable used to communicate the recursion level to sub-makes. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/make

2013-07-06 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jul 6 18:19:17 UTC 2013 Modified Files: src/usr.bin/make: main.c var.c Log Message: If using gmake's MAKELEVEL; use it the same way To generate a diff of this commit: cvs rdiff -u -r1.215 -r1.216 src/usr.bin/make/main.c cvs

CVS commit: src/usr.bin/make

2013-07-06 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jul 6 18:19:17 UTC 2013 Modified Files: src/usr.bin/make: main.c var.c Log Message: If using gmake's MAKELEVEL; use it the same way To generate a diff of this commit: cvs rdiff -u -r1.215 -r1.216 src/usr.bin/make/main.c cvs

CVS commit: src/usr.bin/make

2013-07-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jul 5 22:14:56 UTC 2013 Modified Files: src/usr.bin/make: compat.c job.c job.h Log Message: If commandShell hasErrCtl is true, set shellErrFlag for use by CompatRunCommand() so that behavior in jobs and compat mode remains

CVS commit: src/usr.bin/make

2013-07-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jul 5 22:14:56 UTC 2013 Modified Files: src/usr.bin/make: compat.c job.c job.h Log Message: If commandShell hasErrCtl is true, set shellErrFlag for use by CompatRunCommand() so that behavior in jobs and compat mode remains

CVS commit: src/usr.bin/make

2013-06-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jun 24 21:16:02 UTC 2013 Modified Files: src/usr.bin/make: meta.c Log Message: Ignore any files in /proc/ To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.bin/make/meta.c Please note that diffs are not

CVS commit: src/usr.bin/make

2013-06-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 25 00:20:54 UTC 2013 Modified Files: src/usr.bin/make: make.1 meta.c Log Message: Add .MAKE.META.IGNORE_PATHS to facilitate local additions to the paths which should be ignored by meta_oodate(). To generate a diff of this

CVS commit: src/usr.bin/make

2013-06-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jun 24 21:16:02 UTC 2013 Modified Files: src/usr.bin/make: meta.c Log Message: Ignore any files in /proc/ To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.bin/make/meta.c Please note that diffs are not

CVS commit: src/usr.bin/make

2013-06-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 25 00:20:54 UTC 2013 Modified Files: src/usr.bin/make: make.1 meta.c Log Message: Add .MAKE.META.IGNORE_PATHS to facilitate local additions to the paths which should be ignored by meta_oodate(). To generate a diff of this

CVS commit: src/usr.bin/make

2013-06-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 18 19:31:27 UTC 2013 Modified Files: src/usr.bin/make: parse.c Log Message: Fix use after free bug. Parse_SetInput: curFile-fname was using the buffer passed to it - which ReadMakefile frees. This change makes the comment in

CVS commit: src/usr.bin/make

2013-06-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 18 20:06:09 UTC 2013 Modified Files: src/usr.bin/make: main.c make.h var.c Log Message: Use a #define for the variable name we put in environment to pass .MAKE.LEVEL in case we don't want to use gmake's MAKELEVEL in a

CVS commit: src/usr.bin/make

2013-06-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 18 20:06:09 UTC 2013 Modified Files: src/usr.bin/make: main.c make.h var.c Log Message: Use a #define for the variable name we put in environment to pass .MAKE.LEVEL in case we don't want to use gmake's MAKELEVEL in a

CVS commit: src/usr.bin/make

2013-06-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 18 19:31:27 UTC 2013 Modified Files: src/usr.bin/make: parse.c Log Message: Fix use after free bug. Parse_SetInput: curFile-fname was using the buffer passed to it - which ReadMakefile frees. This change makes the comment in

CVS commit: src/usr.bin/make

2013-06-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jun 5 03:59:44 UTC 2013 Modified Files: src/usr.bin/make: job.c Log Message: JobCreatePipe: do fcntl() *after* any fiddling of fd's to avoid leaking descriptors. Job_ServerStart: set closed on exec for jp_0 and jp_1. To

CVS commit: src/usr.bin/make

2013-06-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jun 5 03:59:44 UTC 2013 Modified Files: src/usr.bin/make: job.c Log Message: JobCreatePipe: do fcntl() *after* any fiddling of fd's to avoid leaking descriptors. Job_ServerStart: set closed on exec for jp_0 and jp_1. To

CVS commit: src/usr.bin/make

2013-05-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed May 29 00:23:31 UTC 2013 Modified Files: src/usr.bin/make: var.c Log Message: Clean up some left overs To generate a diff of this commit: cvs rdiff -u -r1.174 -r1.175 src/usr.bin/make/var.c Please note that diffs are not

CVS commit: src/usr.bin/make

2013-05-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed May 29 00:23:31 UTC 2013 Modified Files: src/usr.bin/make: var.c Log Message: Clean up some left overs To generate a diff of this commit: cvs rdiff -u -r1.174 -r1.175 src/usr.bin/make/var.c Please note that diffs are not

CVS commit: src/usr.bin/make

2013-05-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat May 18 13:13:34 UTC 2013 Modified Files: src/usr.bin/make: suff.c Log Message: We cannot skip all Suff processing for .PHONY targets, else, srcs which are wildcards do not get expanded as needed. To generate a diff of this

CVS commit: src/usr.bin/make

2013-05-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat May 18 13:12:45 UTC 2013 Modified Files: src/usr.bin/make: var.c Log Message: Var_Delete: expand name if needed. To generate a diff of this commit: cvs rdiff -u -r1.173 -r1.174 src/usr.bin/make/var.c Please note that diffs

CVS commit: src/usr.bin/make

2013-05-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat May 18 13:13:34 UTC 2013 Modified Files: src/usr.bin/make: suff.c Log Message: We cannot skip all Suff processing for .PHONY targets, else, srcs which are wildcards do not get expanded as needed. To generate a diff of this

<    1   2   3   4   5   6   7   8   9   >