CVS commit: src/sys/dev/filemon

2011-07-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jul 4 23:37:30 UTC 2011 Modified Files: src/sys/dev/filemon: filemon.c filemon.h Log Message: Set FILEMON_VERSION to 3 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/filemon/filemon.c cvs rdiff -u

CVS commit: src/usr.bin/make

2011-06-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jun 22 21:13:13 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: After each strsep(p) check that p is valid. If not the .meta file is corrupted (build interrupted?) issue a warning and declare target oodate. To

CVS commit: src/usr.bin/make

2011-06-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jun 22 21:13:13 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: After each strsep(p) check that p is valid. If not the .meta file is corrupted (build interrupted?) issue a warning and declare target oodate. To

CVS commit: src/usr.bin/make

2011-06-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 10 23:57:39 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: size_t on amd64 doesn't like %u, use a cast. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.bin/make/meta.c Please note

CVS commit: src/usr.bin/make

2011-06-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jun 11 02:10:48 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: Use %zu rather than cast To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.bin/make/meta.c Please note that diffs are not

CVS commit: src/usr.bin/make

2011-06-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 10 23:57:39 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: size_t on amd64 doesn't like %u, use a cast. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.bin/make/meta.c Please note

CVS commit: src/usr.bin/make

2011-06-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jun 11 02:10:48 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: Use %zu rather than cast To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.bin/make/meta.c Please note that diffs are not

CVS commit: src/lib/libc/gen

2011-06-08 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jun 9 05:11:17 UTC 2011 Modified Files: src/lib/libc/gen: getgrent.c Log Message: _gr_copy() can get called with fromgrp-gr_mem == NULL. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63

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

2011-06-06 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 7 00:10:21 UTC 2011 Modified Files: src/usr.bin/make/unit-tests: modts Log Message: Some systems (eg. MirBSD) use a ksh, with an echo which cannot be used for things containing \x: etc. Check for print or printf as builtin

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

2011-06-06 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 7 00:10:21 UTC 2011 Modified Files: src/usr.bin/make/unit-tests: modts Log Message: Some systems (eg. MirBSD) use a ksh, with an echo which cannot be used for things containing \x: etc. Check for print or printf as builtin

CVS commit: src/usr.bin/make

2011-06-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 3 21:10:42 UTC 2011 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: sysv test.exp Log Message: ApplyModifiers: if we parse a variable in the modifier list, do not consider it a nested modifier

CVS commit: src/usr.bin/make

2011-06-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 3 21:10:42 UTC 2011 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: sysv test.exp Log Message: ApplyModifiers: if we parse a variable in the modifier list, do not consider it a nested modifier

CVS commit: src/usr.bin/make

2011-05-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed May 4 20:38:32 UTC 2011 Modified Files: src/usr.bin/make: main.c make.1 make.h meta.c Log Message: Add .MAKE.META.BAILIWICK - to identify the scope of make's control. meta_oodate: if a file that was written or linked within our

CVS commit: src/usr.bin/make

2011-05-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed May 4 20:38:32 UTC 2011 Modified Files: src/usr.bin/make: main.c make.1 make.h meta.c Log Message: Add .MAKE.META.BAILIWICK - to identify the scope of make's control. meta_oodate: if a file that was written or linked within our

CVS commit: src/usr.bin/make

2011-04-11 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Apr 11 14:49:09 UTC 2011 Modified Files: src/usr.bin/make: var.c Log Message: If a long modifier name does not match, goto default case so SysV modifier can be tried. To generate a diff of this commit: cvs rdiff -u -r1.164

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

2011-04-11 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Apr 11 15:10:15 UTC 2011 Modified Files: src/usr.bin/make/unit-tests: modmisc test.exp Log Message: Add a test case for sysV modifier subst To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/usr.bin/make

2011-04-11 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Apr 11 14:49:09 UTC 2011 Modified Files: src/usr.bin/make: var.c Log Message: If a long modifier name does not match, goto default case so SysV modifier can be tried. To generate a diff of this commit: cvs rdiff -u -r1.164

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

2011-04-11 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Apr 11 15:10:15 UTC 2011 Modified Files: src/usr.bin/make/unit-tests: modmisc test.exp Log Message: Add a test case for sysV modifier subst To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/usr.bin/make

2011-04-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Apr 11 01:44:15 UTC 2011 Modified Files: src/usr.bin/make: make.1 var.c Log Message: Add :localtime and :gmtime which use value as format string for strftime. To generate a diff of this commit: cvs rdiff -u -r1.186 -r1.187

CVS commit: src/usr.bin/make

2011-04-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Apr 11 01:44:15 UTC 2011 Modified Files: src/usr.bin/make: make.1 var.c Log Message: Add :localtime and :gmtime which use value as format string for strftime. To generate a diff of this commit: cvs rdiff -u -r1.186 -r1.187

CVS commit: src/usr.bin/make

2011-03-31 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Mar 31 06:28:42 UTC 2011 Modified Files: src/usr.bin/make: job.c Log Message: We must now call meta_job_finish() after meta_job_error() so that .ERROR_META_FILE is captured. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2011-03-31 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Mar 31 06:50:43 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: Call meta_job_finish() from meta_job_error(), so that if the .ERROR target copies the .meta file, it has been completed. meta_job_finish() is safe to

CVS commit: src/share/man/man4

2011-03-31 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 1 00:07:35 UTC 2011 Added Files: src/share/man/man4: filemon.4 Log Message: A man page for filemon(4) To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/share/man/man4/filemon.4 Please note that diffs are not

CVS commit: src/usr.bin/make

2011-03-31 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Mar 31 06:50:43 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: Call meta_job_finish() from meta_job_error(), so that if the .ERROR target copies the .meta file, it has been completed. meta_job_finish() is safe to

CVS commit: src/share/man/man4

2011-03-31 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 1 00:07:35 UTC 2011 Added Files: src/share/man/man4: filemon.4 Log Message: A man page for filemon(4) To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/share/man/man4/filemon.4 Please note that diffs are not

CVS commit: src/usr.bin/make

2011-03-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Mar 30 22:03:49 UTC 2011 Modified Files: src/usr.bin/make: meta.c meta.h Log Message: Add NetBSD tags To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.bin/make/meta.c cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/make

2011-03-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Mar 29 17:19:22 UTC 2011 Modified Files: src/usr.bin/make: cond.c Log Message: CondDoExists: Avoid use after free() To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/usr.bin/make/cond.c Please note that diffs

CVS commit: src/usr.bin/make

2011-03-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Mar 29 17:29:21 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: Check for extra commands as soon as we reach CWD, so we return faster (if oodate) and give a more accurate debug message. To generate a diff of

CVS commit: src/usr.bin/make

2011-03-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Mar 29 17:29:21 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: Check for extra commands as soon as we reach CWD, so we return faster (if oodate) and give a more accurate debug message. To generate a diff of

CVS commit: src/usr.bin/make

2011-03-27 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 27 19:39:21 UTC 2011 Modified Files: src/usr.bin/make: make.1 meta.c Log Message: When .MAKE.MODE inlcudes 'meta'; 'curdir=true' enables creating .meta files in .CURDIR - such as when running make in .OBJDIR with a generated

CVS commit: src/usr.bin/make

2011-03-27 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 27 19:47:46 UTC 2011 Modified Files: src/usr.bin/make: make.1 meta.c Log Message: Use curdirOk as the token To generate a diff of this commit: cvs rdiff -u -r1.184 -r1.185 src/usr.bin/make/make.1 cvs rdiff -u -r1.12 -r1.13

CVS commit: src/usr.bin/make

2011-03-27 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 27 19:39:21 UTC 2011 Modified Files: src/usr.bin/make: make.1 meta.c Log Message: When .MAKE.MODE inlcudes 'meta'; 'curdir=true' enables creating .meta files in .CURDIR - such as when running make in .OBJDIR with a generated

CVS commit: src/usr.bin/make

2011-03-27 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 27 19:47:46 UTC 2011 Modified Files: src/usr.bin/make: make.1 meta.c Log Message: Use curdirOk as the token To generate a diff of this commit: cvs rdiff -u -r1.184 -r1.185 src/usr.bin/make/make.1 cvs rdiff -u -r1.12 -r1.13

CVS commit: src/sys/dev/filemon

2011-03-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 13 21:26:31 UTC 2011 Modified Files: src/sys/dev/filemon: filemon_wrapper.c Log Message: EJUSTRETURN is expected return from sys_execve() To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/dev/filemon

2011-03-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 13 21:26:31 UTC 2011 Modified Files: src/sys/dev/filemon: filemon_wrapper.c Log Message: EJUSTRETURN is expected return from sys_execve() To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/make

2011-03-06 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 6 17:41:11 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: Only need to getcwd() once To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/make/meta.c Please note that diffs are not

CVS commit: src/usr.bin/make

2011-03-06 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 6 17:41:11 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: Only need to getcwd() once To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/make/meta.c Please note that diffs are not

CVS commit: src/usr.bin/make

2011-03-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Mar 5 23:57:05 UTC 2011 Modified Files: src/usr.bin/make: dir.c Log Message: Treat some/dir/ the same as some/dir/. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/usr.bin/make/dir.c Please note that diffs

CVS commit: src/usr.bin/make

2011-03-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 6 00:02:15 UTC 2011 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: Makefile cond1 test.exp Added Files: src/usr.bin/make/unit-tests: misc sysv Log Message: Add unit tests to check that

CVS commit: src/usr.bin/make

2011-03-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 6 04:34:25 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: CWD should be compared against cwd To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/make/meta.c Please note that diffs are

CVS commit: src/usr.bin/make

2011-03-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Mar 5 23:57:05 UTC 2011 Modified Files: src/usr.bin/make: dir.c Log Message: Treat some/dir/ the same as some/dir/. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/usr.bin/make/dir.c Please note that diffs

CVS commit: src/usr.bin/make

2011-03-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 6 00:02:15 UTC 2011 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: Makefile cond1 test.exp Added Files: src/usr.bin/make/unit-tests: misc sysv Log Message: Add unit tests to check that

CVS commit: src/usr.bin/make

2011-03-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 6 04:34:25 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: CWD should be compared against cwd To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/make/meta.c Please note that diffs are

CVS commit: src/usr.bin/make

2011-03-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Mar 4 04:55:51 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: main.c now exports curdir[] so we can use it. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/meta.c Please note that

CVS commit: src/usr.bin/make

2011-03-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Mar 4 04:55:51 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: main.c now exports curdir[] so we can use it. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/meta.c Please note that

CVS commit: src/usr.bin/make

2011-02-25 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Feb 26 01:17:24 UTC 2011 Modified Files: src/usr.bin/make: make.1 Log Message: Fix rendering of :? example To generate a diff of this commit: cvs rdiff -u -r1.182 -r1.183 src/usr.bin/make/make.1 Please note that diffs are not

CVS commit: src/usr.bin/make

2011-02-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Feb 13 21:22:41 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: When making a target that involves creating itermediate dirs, realpath() will fail until after those dirs exist. Try to ensure the same meta file

CVS commit: src/usr.bin/make

2011-02-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Feb 13 21:24:43 UTC 2011 Modified Files: src/usr.bin/make: cond.c main.c Log Message: Mark unused args. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/usr.bin/make/cond.c cvs rdiff -u -r1.194 -r1.195

CVS commit: src/usr.bin/make

2011-02-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Feb 13 21:22:41 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: When making a target that involves creating itermediate dirs, realpath() will fail until after those dirs exist. Try to ensure the same meta file

CVS commit: src/usr.bin/make

2011-02-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Feb 13 21:24:43 UTC 2011 Modified Files: src/usr.bin/make: cond.c main.c Log Message: Mark unused args. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/usr.bin/make/cond.c cvs rdiff -u -r1.194 -r1.195

CVS commit: src/usr.bin/make

2011-02-07 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Feb 8 05:29:13 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: tmplen should be static To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/meta.c Please note that diffs are not public

CVS commit: src/usr.bin/make

2011-02-07 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Feb 8 05:29:13 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: tmplen should be static To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/meta.c Please note that diffs are not public

Re: CVS commit: src/lib/csu

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

Re: CVS commit: src/lib/csu

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

CVS commit: src/usr.bin/make

2010-12-15 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Dec 15 23:03:36 UTC 2010 Modified Files: src/usr.bin/make: meta.c Log Message: Invalidate meta_fname when we finish a job, so that in compat mode, we do not report a previous .meta file as being involved in an error. To

CVS commit: src/usr.bin/make

2010-12-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Dec 9 22:30:17 UTC 2010 Modified Files: src/usr.bin/make: main.c meta.c nonints.h Log Message: meta_oodate(): we should track 'latestdir' on a per process basis. Also, only consider target out of date if a not-found file is

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

2010-12-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Dec 10 00:36:33 UTC 2010 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Need to export LC_ALL=C too To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/usr.bin/make/unit-tests/Makefile Please

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

2010-12-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Dec 10 00:37:24 UTC 2010 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: fix style To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/usr.bin/make/unit-tests/Makefile Please note that diffs

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

2010-12-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Dec 10 00:36:33 UTC 2010 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Need to export LC_ALL=C too To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/usr.bin/make/unit-tests/Makefile Please

CVS commit: src/usr.bin/make

2010-11-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Nov 27 05:02:35 UTC 2010 Modified Files: src/usr.bin/make: dir.c meta.c Log Message: When a source file moves, make will ignore the stale dependency, but if the file in question is one that needs to be compiled (.c or .cc), it

CVS commit: src/usr.bin/make

2010-11-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Nov 27 05:02:35 UTC 2010 Modified Files: src/usr.bin/make: dir.c meta.c Log Message: When a source file moves, make will ignore the stale dependency, but if the file in question is one that needs to be compiled (.c or .cc), it

CVS commit: src/usr.bin/make

2010-09-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Sep 13 15:36:58 UTC 2010 Modified Files: src/usr.bin/make: Makefile compat.c job.c job.h main.c make.1 make.c make.h parse.c Added Files: src/usr.bin/make: meta.c meta.h Log Message: Add meta.c which

CVS commit: src/usr.bin/make

2010-09-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Sep 13 16:32:00 UTC 2010 Modified Files: src/usr.bin/make: make.1 Log Message: Bump date To generate a diff of this commit: cvs rdiff -u -r1.180 -r1.181 src/usr.bin/make/make.1 Please note that diffs are not public domain;

CVS commit: src/usr.bin/make

2010-09-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Sep 13 20:34:21 UTC 2010 Modified Files: src/usr.bin/make: meta.c Log Message: We do not need filemon(9) to have a .meta file To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/meta.c Please note

CVS commit: src/usr.bin/make

2010-09-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Sep 13 21:31:59 UTC 2010 Modified Files: src/usr.bin/make: meta.c Log Message: tools/make/buildmake.sh compiles *.c, make sure meta.c does nothing unless USE_META is defined. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2010-09-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Sep 13 15:36:58 UTC 2010 Modified Files: src/usr.bin/make: Makefile compat.c job.c job.h main.c make.1 make.c make.h parse.c Added Files: src/usr.bin/make: meta.c meta.h Log Message: Add meta.c which

CVS commit: src/usr.bin/make

2010-09-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Sep 13 16:32:00 UTC 2010 Modified Files: src/usr.bin/make: make.1 Log Message: Bump date To generate a diff of this commit: cvs rdiff -u -r1.180 -r1.181 src/usr.bin/make/make.1 Please note that diffs are not public domain;

CVS commit: src/usr.bin/make

2010-09-13 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Sep 13 21:31:59 UTC 2010 Modified Files: src/usr.bin/make: meta.c Log Message: tools/make/buildmake.sh compiles *.c, make sure meta.c does nothing unless USE_META is defined. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys

2010-09-08 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Sep 9 00:10:16 UTC 2010 Added Files: src/sys/dev/filemon: filemon.c filemon.h filemon_wrapper.c mknod-sh src/sys/modules/filemon: Makefile Log Message: First cut of simple syscall wrapper, which make(1) can use to track

CVS commit: src/bin/pax

2010-08-25 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Aug 25 21:36:03 UTC 2010 Modified Files: src/bin/pax: options.c Log Message: Do not throw a usage message for -i followed by -t since 'cpio -itv' is a valid command. To generate a diff of this commit: cvs rdiff -u -r1.107

CVS commit: src/bin/pax

2010-08-25 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Aug 25 21:36:03 UTC 2010 Modified Files: src/bin/pax: options.c Log Message: Do not throw a usage message for -i followed by -t since 'cpio -itv' is a valid command. To generate a diff of this commit: cvs rdiff -u -r1.107

CVS commit: src/usr.bin/make

2010-08-07 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Aug 7 06:44:08 UTC 2010 Modified Files: src/usr.bin/make: compat.c job.c main.c nonints.h Log Message: wait[pid]() is called in several places. If we encounter an error and run the .ERROR target, we may reap a pid which jobs is

CVS commit: src/usr.bin/make

2010-08-07 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Aug 7 06:44:08 UTC 2010 Modified Files: src/usr.bin/make: compat.c job.c main.c nonints.h Log Message: wait[pid]() is called in several places. If we encounter an error and run the .ERROR target, we may reap a pid which jobs is

CVS commit: src/usr.bin/make

2010-08-07 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Aug 7 21:28:40 UTC 2010 Modified Files: src/usr.bin/make: job.c Log Message: In jobs mode, if we cannot make a target we die without any further clue. Call PrintOnError() before DieHorribly(). To generate a diff of this

CVS commit: src/usr.bin/make

2010-06-16 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jun 17 03:36:05 UTC 2010 Modified Files: src/usr.bin/make: job.c Log Message: JobFinish: call PrintOnError if we detected an error we are not ignoring. This gives the .ERROR target a chance to run at the first sign of trouble.

CVS commit: src/usr.bin/make

2010-06-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jun 6 01:13:12 UTC 2010 Modified Files: src/usr.bin/make: make.1 var.c Log Message: Add .export-env which tells make to export a variable to the environment but not to track it - as is done for .export This allows the variable

CVS commit: src/usr.bin/make

2010-06-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jun 6 01:13:12 UTC 2010 Modified Files: src/usr.bin/make: make.1 var.c Log Message: Add .export-env which tells make to export a variable to the environment but not to track it - as is done for .export This allows the variable

CVS commit: src/bin/ksh

2010-06-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jun 5 03:02:37 UTC 2010 Modified Files: src/bin/ksh: edit.c Log Message: PR: 39604 Reviewed by: add_glob: Do not stop scanning if we see '$' as it does more harm than good. For $HOME/tm we should return $HOME/tm* To generate

CVS commit: src/bin/ksh

2010-06-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jun 5 03:02:37 UTC 2010 Modified Files: src/bin/ksh: edit.c Log Message: PR: 39604 Reviewed by: add_glob: Do not stop scanning if we see '$' as it does more harm than good. For $HOME/tm we should return $HOME/tm* To generate

CVS commit: src/usr.bin/make

2010-06-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jun 3 15:40:16 UTC 2010 Modified Files: src/usr.bin/make: compat.c job.c main.c nonints.h util.c Log Message: We have required sigaction() for quite a while. Use bmake_signal() - a wrapper around sigaction() rather than

CVS commit: src/usr.bin/make

2010-06-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jun 3 15:40:16 UTC 2010 Modified Files: src/usr.bin/make: compat.c job.c main.c nonints.h util.c Log Message: We have required sigaction() for quite a while. Use bmake_signal() - a wrapper around sigaction() rather than

CVS commit: src/usr.bin/make

2010-05-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon May 24 21:04:49 UTC 2010 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: error Log Message: Don't missinterpret targets that start with .info To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2010-05-10 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon May 10 15:54:21 UTC 2010 Modified Files: src/usr.bin/make: main.c Log Message: PrintOnError: run .ERROR last, so even if it causes problems we still print MAKE_PRINT_VAR_ON_ERROR. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/make

2010-05-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed May 5 07:05:33 UTC 2010 Modified Files: src/usr.bin/make: util.c Log Message: gcc defines __svr4__ SunPro compiler defines __SVR4 We need to check both to ensure that on SunOS signal is hooked into sigaction - otherwise we do

CVS commit: src/usr.bin/make

2010-05-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed May 5 07:05:33 UTC 2010 Modified Files: src/usr.bin/make: util.c Log Message: gcc defines __svr4__ SunPro compiler defines __SVR4 We need to check both to ensure that on SunOS signal is hooked into sigaction - otherwise we do

CVS commit: src/usr.bin/make

2010-04-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 29 23:12:21 UTC 2010 Modified Files: src/usr.bin/make: main.c parse.c Log Message: fflush stdout, before writing to stderr. To generate a diff of this commit: cvs rdiff -u -r1.183 -r1.184 src/usr.bin/make/main.c cvs rdiff

CVS commit: src/usr.bin/make

2010-04-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 29 23:12:21 UTC 2010 Modified Files: src/usr.bin/make: main.c parse.c Log Message: fflush stdout, before writing to stderr. To generate a diff of this commit: cvs rdiff -u -r1.183 -r1.184 src/usr.bin/make/main.c cvs rdiff

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

2010-04-23 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 23 15:43:28 UTC 2010 Modified Files: src/usr.bin/make/unit-tests: modmisc test.exp Log Message: PR: 42850 Reviewed by: Reduced the expected to exist dirs in path to just / /bin and /tmp and change the not expected to exist

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

2010-04-23 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 23 15:43:28 UTC 2010 Modified Files: src/usr.bin/make/unit-tests: modmisc test.exp Log Message: PR: 42850 Reviewed by: Reduced the expected to exist dirs in path to just / /bin and /tmp and change the not expected to exist

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

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

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

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

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

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

CVS commit: src/usr.bin/make

2010-04-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 22 19:11:17 UTC 2010 Modified Files: src/usr.bin/make: job.c main.c make.h Log Message: Just because $TMPDIR is set does not mean it is valid. Add a central function for creating temp files so we have one place to audit.

CVS commit: src/usr.bin/make

2010-04-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 22 19:15:24 UTC 2010 Modified Files: src/usr.bin/make: Makefile make.1 src/usr.bin/make/unit-tests: Makefile modmisc test.exp Log Message: PR: 42850 Reviewed by: modmisc: since we apply an exists() test to $paths,

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

2010-04-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 22 21:41:11 UTC 2010 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Force LANG=C to ensure sort(1) behaves as expected To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/usr.bin/make

2010-04-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 23 00:18:50 UTC 2010 Modified Files: src/usr.bin/make: compat.c job.c main.c make.h Log Message: On darwin at least, vfork() fails in child of vfork(). It probably shouldn't work anyway, so avoid this. We use the macro

CVS commit: src/usr.bin/make

2010-04-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 22 19:11:17 UTC 2010 Modified Files: src/usr.bin/make: job.c main.c make.h Log Message: Just because $TMPDIR is set does not mean it is valid. Add a central function for creating temp files so we have one place to audit.

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

2010-04-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 22 21:41:11 UTC 2010 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Force LANG=C to ensure sort(1) behaves as expected To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/usr.bin/make

2010-04-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 23 00:18:50 UTC 2010 Modified Files: src/usr.bin/make: compat.c job.c main.c make.h Log Message: On darwin at least, vfork() fails in child of vfork(). It probably shouldn't work anyway, so avoid this. We use the macro

CVS commit: src/usr.bin/make

2010-04-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 20 17:18:08 UTC 2010 Modified Files: src/usr.bin/make: main.c Log Message: On some systems realpath will prefix make with cwd, so make sure we can stat(2) the value for .MAKE To generate a diff of this commit: cvs rdiff -u

<    3   4   5   6   7   8   9   >