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

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

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

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

CVS commit: src/usr.bin/make

2015-03-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/unit-tests

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

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

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

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

2012-03-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Mar 24 20:28:42 UTC 2012 Modified Files: src/usr.bin/make: parse.c Log Message: Avoid the need to escape the # in :[#] when parsing conditionals. To generate a diff of this commit: cvs rdiff -u -r1.180 -r1.181 src/usr.bin/make/

CVS commit: src/usr.bin/make

2012-04-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Apr 20 05:33:42 UTC 2012 Modified Files: src/usr.bin/make: make.1 parse.c Log Message: Fix some typos in/around ParseGmakeExport. Remove the suppresssion of duplicate entries in .MAKE.MAKEFILES To generate a diff of this commit

CVS commit: src/usr.bin/make

2012-04-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 24 20:12:16 UTC 2012 Modified Files: src/usr.bin/make: make.1 parse.c Log Message: Restore previous behavior - supressing duplicate entries in .MAKE.MAKEFILES - it is more efficient. To generate a diff of this commit: cvs r

CVS commit: src/usr.bin/make

2012-04-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 24 20:26:58 UTC 2012 Modified Files: src/usr.bin/make: buf.c buf.h var.c Log Message: Var* are generally very liberal with memory, with the expectation that none of it persists for long. This isn't always true - for example a

CVS commit: src/usr.bin/make

2012-04-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 24 20:35:04 UTC 2012 Modified Files: src/usr.bin/make: main.c Log Message: Fix handling of -dF+/tmp/file To generate a diff of this commit: cvs rdiff -u -r1.198 -r1.199 src/usr.bin/make/main.c Please note that diffs are no

CVS commit: src/usr.bin/make

2012-05-17 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri May 18 02:28:17 UTC 2012 Modified Files: src/usr.bin/make: make_malloc.c var.c Log Message: Avoid nested extern declaration warnings To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/make_malloc.c cvs

CVS commit: src/usr.bin/make

2012-05-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon May 21 06:30:03 UTC 2012 Modified Files: src/usr.bin/make: cond.c Log Message: In meta mode, level 0 can legitimately see > 64 nested .if's To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/usr.bin/make/cond.c

CVS commit: src/usr.bin/make

2012-05-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed May 30 21:42:04 UTC 2012 Modified Files: src/usr.bin/make: compat.c Log Message: An empty command is quietly ignored in jobs mode, but causes a failure in compat mode. Just skip it. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/make

2012-05-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed May 30 21:54:23 UTC 2012 Modified Files: src/usr.bin/make: Makefile Log Message: Don't pass debug flags etc. to unit-tests To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/usr.bin/make/Makefile Please note tha

CVS commit: src/usr.bin/make

2012-06-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jun 3 04:29:40 UTC 2012 Modified Files: src/usr.bin/make: for.c Log Message: Handle "quoted strings" as items in a .for list To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/usr.bin/make/for.c Please note tha

CVS commit: src/usr.bin/make

2012-06-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jun 4 20:34:21 UTC 2012 Modified Files: src/usr.bin/make: make.h util.c var.c Log Message: Var_UnExport() and setenv() can both realloc environ. Use a common variable (savedEnv) to track that to avoid wasting memory. Also, if pr

CVS commit: src/usr.bin/make

2012-06-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jun 4 22:45:06 UTC 2012 Modified Files: src/usr.bin/make: util.c Log Message: Fix findenv() to fully match name To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/usr.bin/make/util.c Please note that diffs are

CVS commit: src/usr.bin/make

2012-06-04 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 5 06:11:51 UTC 2012 Modified Files: src/usr.bin/make: compat.c Log Message: Re-raising SIGINT etc, after running .INTERRUPT provides much more reliable shutdown on some systems. Based on CompatInterrupt in FreeBSD's make.

CVS commit: src/usr.bin/make

2012-06-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 5 17:31:04 UTC 2012 Modified Files: src/usr.bin/make: compat.c Log Message: kill(2) is more appropriate and more portable than raise(3) To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/usr.bin/make/compat.

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

2012-06-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 19 23:25:53 UTC 2012 Modified Files: src/usr.bin/make/unit-tests: Makefile test.exp Added Files: src/usr.bin/make/unit-tests: forloop Log Message: Add unit-tests for .for To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/make

2012-06-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jun 20 17:46:29 UTC 2012 Modified Files: src/usr.bin/make: make_malloc.c Log Message: Do not include make_malloc.h or declare progname, both are already done in make.h To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.1

CVS commit: src/sys/dev

2012-06-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jun 20 21:38:27 UTC 2012 Modified Files: src/sys/dev: Makefile Added Files: src/sys/dev/filemon: Makefile Log Message: Install filemon.h To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/dev/Makefile

CVS commit: src/usr.sbin/makefs

2012-06-21 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jun 22 06:15:18 UTC 2012 Modified Files: src/usr.sbin/makefs: ffs.c makefs.8 makefs.c makefs.h Log Message: Add -Z to enable sparse files - for ffs at least. Based on a patch from shesha at juniper. To generate a diff of this c

CVS commit: src/usr.bin/make

2012-06-27 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jun 27 17:22:58 UTC 2012 Modified Files: src/usr.bin/make: meta.c Log Message: gcc 4.2 doesn't like externs inside functions To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/make/meta.c Please note tha

CVS commit: src/usr.bin/make

2012-07-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jul 3 21:03:41 UTC 2012 Modified Files: src/usr.bin/make: job.c Log Message: An X!= command, can cause Shell_Init() to be called before Job_ParseShell(). Job_ParseShell() should call Shell_Init() again if needed to ensure shellP

CVS commit: src/usr.bin/make

2012-08-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Aug 30 21:17:05 UTC 2012 Modified Files: src/usr.bin/make: main.c nonints.h Log Message: Add a knob to control whether -V fully expands a plain variable by default. The default retains the traditional NetBSD behavior, but the kno

CVS commit: src/usr.bin/make

2012-08-30 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Aug 30 22:09:58 UTC 2012 Modified Files: src/usr.bin/make: make.1 Log Message: Add a knob to control whether -V fully expands a plain variable by default. The default retains the traditional NetBSD behavior, but the knob can be s

CVS commit: src/usr.bin/make

2012-08-31 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Aug 31 07:00:36 UTC 2012 Modified Files: src/usr.bin/make: main.c Log Message: Cast sizeof() to int, which is sufficent and consistent with other use within make. To generate a diff of this commit: cvs rdiff -u -r1.202 -r1.203

CVS commit: src/usr.bin/make

2012-09-16 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Sep 17 01:23:46 UTC 2012 Modified Files: src/usr.bin/make: make.1 Log Message: Document the fact that lack of shell meta chars in a command results in direct exec in compat mode. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2012-10-07 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Oct 7 19:17:31 UTC 2012 Modified Files: src/usr.bin/make: compat.c Log Message: Treat empty commands same as jobs mode To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/usr.bin/make/compat.c Please note that d

CVS commit: src/usr.bin/make

2012-11-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Nov 3 02:25:13 UTC 2012 Modified Files: src/usr.bin/make: cond.c Log Message: Allow cond_state[] to grow. The need is rare, but real. Reviewed by: christos To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/usr

CVS commit: src/usr.bin/make

2012-11-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Nov 9 18:53:05 UTC 2012 Modified Files: src/usr.bin/make: make.c Log Message: Do not stop looking for children, just because one has a .ORDER dependency. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/usr.bi

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

2012-11-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Nov 9 19:08:29 UTC 2012 Modified Files: src/usr.bin/make/unit-tests: Makefile test.exp Added Files: src/usr.bin/make/unit-tests: order Log Message: Add a unit-test for .ORDER To generate a diff of this commit: cvs rdif

CVS commit: src/sys/dev/filemon

2012-11-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Nov 19 22:20:10 UTC 2012 Modified Files: src/sys/dev/filemon: filemon.c filemon.h filemon_wrapper.c Log Message: filemon_pid_check: Avoid recursion, and hold a reader lock on p_reflock while we check for filemon, and until we hav

CVS commit: src/usr.bin/make

2013-01-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Jan 19 04:23:37 UTC 2013 Modified Files: src/usr.bin/make: meta.c Log Message: meta_oodate: rename ignoreOODATE to needOODATE. if target uses ${.OODATE} in its script; 1. we canno compare commands 2. if we decide it is out-of-dat

CVS commit: src/usr.bin/make

2013-01-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jan 25 02:01:11 UTC 2013 Modified Files: src/usr.bin/make: compat.c job.c main.c Log Message: Remove Check_Cwd - it is no longer needed. To generate a diff of this commit: cvs rdiff -u -r1.90 -r1.91 src/usr.bin/make/compat.c cv

CVS commit: src/usr.bin/make

2013-01-27 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jan 27 18:52:02 UTC 2013 Modified Files: src/usr.bin/make: make.1 Log Message: In SHELL COMMANDS section, provide some clues about different behavior in jobs vs non-jobs mode. Move the comment about when shell is skipped to this

CVS commit: src/usr.bin/make

2013-03-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Mar 22 16:07:59 UTC 2013 Modified Files: src/usr.bin/make: parse.c Log Message: ParseGmakeExport: terminate variable at '=', or setenv(3) will fail on some systems. To generate a diff of this commit: cvs rdiff -u -r1.187 -r1.18

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

2013-03-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Mar 22 16:36:46 UTC 2013 Modified Files: src/usr.bin/make/unit-tests: Makefile test.exp Added Files: src/usr.bin/make/unit-tests: export-env Log Message: Add unit-test for export-env and gmake export To generate a diff

CVS commit: src/usr.bin/make

2013-03-22 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Mar 23 05:31:29 UTC 2013 Modified Files: src/usr.bin/make: main.c make.1 meta.c meta.h Log Message: If built with filemon support, set .MAKE.PATH_FILEMON to _PATH_FILEMON so that makefiles can test for it. To generate a diff of

CVS commit: src/usr.bin/make

2013-03-23 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Mar 23 23:39:47 UTC 2013 Modified Files: src/usr.bin/make: meta.c Log Message: After removing an entry from missingFiles, set ln=NULL after Lst_Remove() to make it clear we won't use it after this point. To generate a diff of t

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

2010-04-06 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Apr 7 00:11:28 UTC 2010 Modified Files: src/usr.bin/make: compat.c job.c main.c make.1 make.c make.h nonints.h parse.c Log Message: Add: .error "message" .warning "message" based on FreeBSD implementation.

CVS commit: src/usr.bin/make

2010-04-08 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 8 17:41:29 UTC 2010 Modified Files: src/usr.bin/make: main.c parse.c src/usr.bin/make/unit-tests: Makefile test.exp Added Files: src/usr.bin/make/unit-tests: doterror error Log Message: Process .ERROR the sam

CVS commit: src/usr.bin/make

2010-04-14 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Apr 14 16:16:18 UTC 2010 Modified Files: src/usr.bin/make: main.c Log Message: If argv[0] is not an absolute path, attempt to resolve it using realpath() for setting .MAKE To generate a diff of this commit: cvs rdiff -u -r1.177

CVS commit: src/usr.bin/make

2010-04-14 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Apr 15 03:48:39 UTC 2010 Modified Files: src/usr.bin/make: make.1 var.c Log Message: Add :tA to attempt to resolve to absoute path using realpath(). To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170 src/usr.bin/ma

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

CVS commit: src/usr.bin/make

2010-04-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Apr 20 17:48:16 UTC 2010 Modified Files: src/usr.bin/make: var.c Log Message: Behavior of realpath() appears to vary. To ensure consistent results, use stat(2) as a final check for success. To generate a diff of this commit: cv

CVS commit: src/usr.bin/make

2010-04-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Apr 21 04:25:28 UTC 2010 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: export-all test.exp Log Message: If we do .export (all) and have any variables that involve :sh we will hit an error (var is re

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

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

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

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

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 exis

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

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

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

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

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

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-08-06 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 commi

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

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

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

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 that

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

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 se

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 a

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 src/lib/libc/gen/getgrent.

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 that

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 publi

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 g

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

CVS commit: src/usr.bin/make

2011-08-17 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Aug 18 00:00:21 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: If a target is explicitly flagged .META, a missing .meta file means it is out-of-date. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/usr.bin/make/PSD.doc

2011-08-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Aug 18 15:19:30 UTC 2011 Modified Files: src/usr.bin/make/PSD.doc: tutorial.ms Log Message: Fix formatting of Notes to work with groff. Patch from Andrew O. Shadoura. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.1

CVS commit: src/usr.bin/make

2011-08-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Aug 18 15:36:51 UTC 2011 Modified Files: src/usr.bin/make: make.1 Log Message: Make some dashes em-dashes (based on patch from Andrew O. Shadoura). Note behavior of .META flag wrt out-of-date. To generate a diff of this commit:

CVS commit: src/usr.bin/make

2011-08-27 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Aug 28 03:54:07 UTC 2011 Modified Files: src/usr.bin/make: job.c make.1 meta.c Log Message: In meta mode, we create .meta files for most targets. These capture all the interesting data - useful for debugging. In such cases there

CVS commit: src/usr.bin/make

2011-09-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Sep 2 16:26:21 UTC 2011 Modified Files: src/usr.bin/make: meta.c Log Message: meta_oodate should ignore makeDependfile To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.bin/make/meta.c Please note that dif

CVS commit: src/sys/dev/filemon

2011-09-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Sep 24 18:08:15 UTC 2011 Modified Files: src/sys/dev/filemon: filemon.h filemon_wrapper.c Log Message: For files opened O_RDWR, output an R record as well as W so that clients that only care about files read can ignore W. Bump ve

CVS commit: src/share/man/man4

2011-09-26 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Sep 26 19:02:39 UTC 2011 Modified Files: src/share/man/man4: filemon.4 Log Message: Update description for V4. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/filemon.4 Please note that diffs are

CVS commit: src

2011-09-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Sep 29 17:40:19 UTC 2011 Modified Files: src/distrib/sets/lists/modules: md.evbppc mi src/sys/modules: Makefile Log Message: Add filemon to the modules we build. To generate a diff of this commit: cvs rdiff -u -r1.10 -r

CVS commit: src

2011-09-29 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Sep 29 23:35:48 UTC 2011 Modified Files: src/distrib/sets/lists/man: mi src/share/man/man4: Makefile Log Message: Install the man page for filemon(4). To generate a diff of this commit: cvs rdiff -u -r1.1343 -r1.1344 sr

  1   2   3   4   >