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/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 src/usr.bin/make/unit-tests/modm

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 that

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: cv

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 co

CVS commit: src/usr.bin/make

2017-02-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Feb 1 18:39:27 UTC 2017 Modified Files: src/usr.bin/make: make.1 var.c Log Message: Since we are avoiding VAR_INTERNAL, allow the variable :_ stores to to be specified, also allows for multiple stages of modification to be stash

CVS commit: src/usr.bin/make

2017-02-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Feb 1 18:00:14 UTC 2017 Modified Files: src/usr.bin/make: var.c Log Message: Just have :_ use current ctxt, avoid need to force VAR_INTERNAL. To generate a diff of this commit: cvs rdiff -u -r1.211 -r1.212 src/usr.bin/make/var

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

2017-01-31 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jan 31 18:56:35 UTC 2017 Modified Files: src/usr.bin/make/unit-tests: varmisc.exp varmisc.mk Log Message: Add check to cmpv test to ensure that target specific vars with modifiers work as expected. To generate a diff of this co

CVS commit: src/usr.bin/make

2017-01-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jan 31 07:00:59 UTC 2017 Modified Files: src/usr.bin/make: var.c Log Message: Use VAR_INTERNAL when calling ApplyModifiers for VAR_{CMD,GLOBAL} only. To generate a diff of this commit: cvs rdiff -u -r1.210 -r1.211 src/usr.bin/m

CVS commit: src/usr.bin/make

2017-01-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jan 31 06:54:24 UTC 2017 Modified Files: src/usr.bin/make: dir.c main.c Log Message: Partially initialize Dir before MainParseArgs can be called. The rest can be done once curdir is finalized. To generate a diff of this commit

CVS commit: src/usr.bin/make

2017-01-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jan 30 02:46:20 UTC 2017 Modified Files: src/usr.bin/make: make.1 var.c src/usr.bin/make/unit-tests: varmisc.exp varmisc.mk Log Message: Add :range and :_ :range replaces var value with an integer sequence one per word

CVS commit: src/usr.bin/make

2017-01-14 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jan 14 22:58:04 UTC 2017 Modified Files: src/usr.bin/make: make.1 var.c src/usr.bin/make/unit-tests: varmisc.exp varmisc.mk Log Message: Allow providing a utc value to :{gm,local}time Reviewed by: christos To generate

CVS commit: src/usr.bin/make

2016-12-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Dec 9 22:56:21 UTC 2016 Modified Files: src/usr.bin/make: parse.c Log Message: Avoid coredump for (FOO) = fu reported by Ori Bernstein To generate a diff of this commit: cvs rdiff -u -r1.216 -r1.217 src/usr.bin/make/parse.c

CVS commit: src/usr.bin/make

2016-11-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Nov 10 23:41:58 UTC 2016 Modified Files: src/usr.bin/make: make.c Log Message: Report node name rather than (null) when modified before src To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/usr.bin/make/make.c

CVS commit: src/usr.bin/make

2016-08-17 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Aug 17 15:52:42 UTC 2016 Modified Files: src/usr.bin/make: meta.c Log Message: Refactor the handling of .MAKE.META.IGNORE_* to meta_ignore() so that we can call it before adding paths to missingFiles. Ie. do not track files we ha

CVS commit: src/usr.bin/make

2016-08-15 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Aug 15 19:20:17 UTC 2016 Modified Files: src/usr.bin/make: make.1 meta.c Log Message: Add .MAKE.META.IGNORE_FILTER to allow more complicated filtering of filemon data. The filter is applied to paths Read or Excuted, and if it e

CVS commit: src/usr.bin/make

2016-08-11 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Aug 11 19:53:18 UTC 2016 Modified Files: src/usr.bin/make: main.c Log Message: PR: 51405 Description: addErrorCMD: in compat mode, cmdp may be NULL, skip it and stop the calls (return 1). To generate a diff of this commit: cvs

CVS commit: src/usr.bin/make

2016-08-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Aug 10 23:49:12 UTC 2016 Modified Files: src/usr.bin/make: main.c make.1 Log Message: Set .ERROR_CMD if we can To generate a diff of this commit: cvs rdiff -u -r1.248 -r1.249 src/usr.bin/make/main.c cvs rdiff -u -r1.259 -r1.260

CVS commit: src/usr.bin/make

2016-08-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Aug 10 18:49:40 UTC 2016 Modified Files: src/usr.bin/make: meta.c Log Message: Use Lst_FindFrom and Lst_Succ(ln) to find next entry in missingFiles. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/usr.bin/make

CVS commit: src/usr.bin/make

2016-08-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Aug 10 18:25:00 UTC 2016 Modified Files: src/usr.bin/make: meta.c Log Message: Linux filemon only records D some/dir for rm -rf rather than D entries for each file removed. Thus we need a loop to remove all matching missingFiles

CVS commit: src/usr.bin/make

2016-06-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jun 29 22:10:08 UTC 2016 Modified Files: src/usr.bin/make: meta.c Log Message: meta_compat_parent: fflush each line To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/usr.bin/make/meta.c Please note that diffs a

CVS commit: src/usr.bin/make

2016-06-14 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 14 18:16:06 UTC 2016 Modified Files: src/usr.bin/make: meta.c Log Message: meta_oodate: set needOODATE if oodate due to missing .meta file. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/usr.bin/make/meta

CVS commit: src/usr.bin/make

2016-06-06 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 7 00:40:00 UTC 2016 Modified Files: src/usr.bin/make: dir.c hash.h make.h meta.c Log Message: Extend the mtimes cache used by dir.c so it can be used by others. We store both st_mtime and st_mode, since some callers care ab

CVS commit: src/usr.bin/make

2016-06-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jun 5 00:48:58 UTC 2016 Modified Files: src/usr.bin/make: main.c Log Message: Avoid breaking !NetBSD build To generate a diff of this commit: cvs rdiff -u -r1.245 -r1.246 src/usr.bin/make/main.c Please note that diffs are not

CVS commit: src/usr.bin/make

2016-06-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jun 4 22:17:14 UTC 2016 Modified Files: src/usr.bin/make: meta.c Log Message: meta_oodate even when missing-meta is true, we do not make a target in .CURDIR out of date just because of a missing meta file. Also we can only be m

CVS commit: src/usr.bin/make

2016-06-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 3 01:21:59 UTC 2016 Modified Files: src/usr.bin/make: main.c make.h meta.c nonints.h var.c Log Message: Add cached_realpath() realpath(3) is expensive, and meta mode at least uses it extensively. We use cached_realpath() to

CVS commit: src/usr.bin/make

2016-06-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 3 01:16:27 UTC 2016 Modified Files: src/usr.bin/make: make.1 meta.c Log Message: Refactor the logic for deciding when a .meta file is needed. Both meta_create() and meta_oodate() now share meta_needed() to indicate if a .me

CVS commit: src/usr.bin/make

2016-05-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu May 12 20:28:34 UTC 2016 Modified Files: src/usr.bin/make: compat.c job.c meta.c meta.h Log Message: Propagate errors from filemon. If we encounter errors producing a .meta file, we should not consider the target completed succe

CVS commit: src/usr.bin/make

2016-05-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue May 10 23:45:45 UTC 2016 Modified Files: src/usr.bin/make: make.1 meta.c Log Message: Allow for ignoring paths that match a set of patterns. This can be expensive, so use with caution. To generate a diff of this commit: cvs rdi

CVS commit: src/usr.bin/make

2016-05-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue May 10 00:02:31 UTC 2016 Modified Files: src/usr.bin/make: meta.c Log Message: Apply realpath() to p before matching against metaIgnorePaths. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/usr.bin/make/meta.c

CVS commit: src/usr.bin/make

2016-04-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 5 04:25:43 UTC 2016 Modified Files: src/usr.bin/make: main.c Log Message: Skip looking for .MAKE.JOBS if either of compatMake or forceJob is true. If -B compatMake will be true and should be honored. If -j forceJobs will be

CVS commit: src/usr.bin/make

2016-03-15 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Mar 16 00:19:01 UTC 2016 Modified Files: src/usr.bin/make: make.1 Log Message: Fix syntax To generate a diff of this commit: cvs rdiff -u -r1.255 -r1.256 src/usr.bin/make/make.1 Please note that diffs are not public domain; th

CVS commit: src/usr.bin/make

2016-03-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Mar 11 07:01:21 UTC 2016 Modified Files: src/usr.bin/make: meta.c Log Message: Handle missing file for Read the same as for Write, since if it is Deleted we don't care. Patch from Bryan Drewery. To generate a diff of this comm

CVS commit: src/usr.bin/make

2016-03-07 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Mar 7 20:20:35 UTC 2016 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: modts.exp modts.mk Log Message: For :ts numeric escapes \x* is hex, anything else is octal. To generate a diff of this commit

CVS commit: src/usr.bin/make

2016-02-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Feb 27 00:13:21 UTC 2016 Modified Files: src/usr.bin/make: meta.c Log Message: Let makefiles decide if depend file gets a meta file To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/usr.bin/make/meta.c Please n

CVS commit: src/usr.bin/make

2016-02-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Feb 20 01:19:03 UTC 2016 Modified Files: src/usr.bin/make: make.1 var.c Log Message: Add a knob .MAKE.SAVE_DOLLARS to control the behavior of $$ during := If TRUE '$$' are not consumed (saved). If FALSE '$$' becomes '$' just lik

CVS commit: src/usr.bin/make

2016-02-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Feb 19 06:19:06 UTC 2016 Modified Files: src/usr.bin/make: parse.c Log Message: Initialize curFile->depending in Parse_SetInput. To generate a diff of this commit: cvs rdiff -u -r1.211 -r1.212 src/usr.bin/make/parse.c Please n

CVS commit: src/usr.bin/make

2016-02-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Feb 19 00:11:45 UTC 2016 Modified Files: src/usr.bin/make: main.c Log Message: getBoolean: We need :U to ensure we get an empty string if knob isn't set. To generate a diff of this commit: cvs rdiff -u -r1.240 -r1.241 src/usr.b

CVS commit: src/usr.bin/make

2016-02-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Feb 18 23:33:25 UTC 2016 Modified Files: src/usr.bin/make: var.c Log Message: Delete :@ loop iterator when done with it To generate a diff of this commit: cvs rdiff -u -r1.203 -r1.204 src/usr.bin/make/var.c Please note that di

CVS commit: src/usr.bin/make

2016-02-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Feb 18 20:33:41 UTC 2016 Modified Files: src/usr.bin/make: Makefile meta.c Log Message: Adapt to changed Var_Subst() To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/usr.bin/make/Makefile cvs rdiff -u -r1.46 -r

CVS commit: src/usr.bin/make

2016-02-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Feb 18 20:25:09 UTC 2016 Modified Files: src/usr.bin/make: main.c make.1 nonints.h var.c src/usr.bin/make/unit-tests: export-env.exp export-env.mk Log Message: Add .export-literal to avoid the need for $$ dance when tryin

CVS commit: src/usr.bin/make

2016-02-17 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Feb 18 06:18:58 UTC 2016 Modified Files: src/usr.bin/make: make.1 Log Message: It's 2016 To generate a diff of this commit: cvs rdiff -u -r1.250 -r1.251 src/usr.bin/make/make.1 Please note that diffs are not public domain; the

CVS commit: src/usr.bin/make

2016-02-17 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Feb 18 05:40:50 UTC 2016 Modified Files: src/usr.bin/make: meta.c Log Message: Actually FALSE as last arg to Var_Subst makes more sense To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/usr.bin/make/meta.c Plea

CVS commit: src/usr.bin/make

2016-02-17 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Feb 18 05:02:49 UTC 2016 Modified Files: src/usr.bin/make: make.1 parse.c Log Message: Add support for .dinclude Like .sinclude missing file will be ignored. Like .depend stale dependencies will be ignored. Allows better impleme

CVS commit: src/usr.bin/make

2016-02-17 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Feb 18 05:01:39 UTC 2016 Modified Files: src/usr.bin/make: meta.c Log Message: Adapt to new Var_Subst prototype To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/usr.bin/make/meta.c Please note that diffs are n

CVS commit: src/usr.bin/make

2015-12-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Dec 20 22:44:10 UTC 2015 Modified Files: src/usr.bin/make: suff.c Log Message: Suff_ClearSuffixes() needs to re-initialize suffNull, otherwise its children retain old suffixes. Have Suff_Init() call Suff_ClearSuffixes() for consi

CVS commit: src/usr.bin/make

2015-12-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Dec 2 00:28:24 UTC 2015 Modified Files: src/usr.bin/make: cond.c src/usr.bin/make/unit-tests: cond2.mk Log Message: Fix evaluation of defined(FOO) and ${FOO} > 0 add a unit-test to catch it. To generate a diff of this

CVS commit: src/usr.bin/make

2015-12-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Dec 1 07:26:08 UTC 2015 Modified Files: src/usr.bin/make: var.c Log Message: Avoid calling brk_string() and hence Var_Export1() on empty strings. To generate a diff of this commit: cvs rdiff -u -r1.199 -r1.200 src/usr.bin/make

CVS commit: src/usr.bin/make

2015-11-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Nov 30 23:37:56 UTC 2015 Modified Files: src/usr.bin/make: meta.c Log Message: Use lstat(2) if we have a link, incase it is a symlink. Patch from bdrewery at FreeBSD.org To generate a diff of this commit: cvs rdiff -u -r1.40 -

CVS commit: src/usr.bin/make

2015-11-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Nov 30 23:15:43 UTC 2015 Modified Files: src/usr.bin/make: cond.c Log Message: Avoid accessing beyond end of empty string. Detected by Address Sanitizer - dim at FreeBSD.org To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/usr.bin/make

2015-11-25 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Nov 26 00:23:04 UTC 2015 Modified Files: src/usr.bin/make: parse.c Log Message: ParseTrackInput: do not access beyond end of buffer. Detected by Address Sanitizer - dim at FreeBSD.org To generate a diff of this commit: cvs rdi

CVS commit: src/usr.bin/make

2015-10-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Oct 25 05:24:44 UTC 2015 Modified Files: src/usr.bin/make: main.c src/usr.bin/make/unit-tests: doterror.exp Log Message: PrintOnError: fflush stdout before running .ERROR produces more consistent results in unit-tests.

CVS commit: src/usr.bin/make

2015-10-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Oct 20 21:30:58 UTC 2015 Modified Files: src/usr.bin/make: var.c Log Message: Ensure emsg initialized To generate a diff of this commit: cvs rdiff -u -r1.198 -r1.199 src/usr.bin/make/var.c Please note that diffs are not public

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 src/usr.bin/make/unit-tests/va

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 anyway,

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

2015-10-10 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 src/usr.bin/make/unit-tests/varmi

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 Message

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 that

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 g

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 a

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 handl

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 pub

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 dif

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 con

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 P

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

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-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 src/usr.bi

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 th

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, so

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

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 targ

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 n

CVS commit: src/usr.bin/make

2014-06-19 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: i

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 di

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 comm

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 commit

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 src/usr.bin/make/lst.lib/lstMember.

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 t

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 Please

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 f

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 src/us

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

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

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 Plea

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 rdi

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 rd

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 consi

<    1   2   3   4   >