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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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;

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;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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;

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;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<    1   2   3   4   5   6   7   8   9   >