The NetBSD Project

CVS log for src/usr.bin/make/make.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / make

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.91 / (download) - annotate - [select for diffs], Sat Oct 18 08:33:30 2014 UTC (2 months ago) by snj
Branch: MAIN
CVS Tags: HEAD
Changes since 1.90: +4 -4 lines
Diff to previous 1.90 (colored)

src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

Revision 1.90 / (download) - annotate - [select for diffs], Sun Sep 7 20:55:34 2014 UTC (3 months, 1 week ago) by joerg
Branch: MAIN
Changes since 1.89: +18 -80 lines
Diff to previous 1.89 (colored)

Revert all make changes except the unit tests to the state of three
weeks ago. Individual changes can be reapplied after review.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Aug 23 15:05:40 2014 UTC (3 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.88: +83 -21 lines
Diff to previous 1.88 (colored)

PR/46096: Jarmo Jaakkola: fix many problems with dependencies (PR 49086)

Quite extensive rewrite of the Suff module.  Some ripple effects into
Parse and Targ modules too.

Dependency searches in general were made to honor explicit rules so
implicit and explicit sources are no longer applied on targets that
do not invoke a transformation rule.

Archive member dependency search was rewritten.  Explicit rules now
work properly and $(.TARGET) is set correctly.  POSIX semantics for
lib(member.o) and .s1.a rules are supported.

.SUFFIXES list maintenance was rewritten so that scanning of existing
rules works when suffixes are added and that clearing the suffix list
removes single suffix rules too.  Transformation rule nodes are now
mixed with regular nodes so they are available as regular targets too
if needed (especially after the known suffixes are cleared).

The .NULL target was documented in the manual page, especially to
warn against using it when a single suffix rule would work.
A deprecation warning was also added to the manual and make also
warns the user if it encounters .NULL.

Search for suffix rules no longer allows the explicit dependencies
to override the selected transformation rule.  A check is made in
the search that the transformation that would be tried does not
already exist in the chain.  This prevents getting stuck in an infinite
loop under specific circumstances.  Local variables are now set
before node's children are expanded so dynamic sources work in
multi-stage transformations.  Make_HandleUse() no longer expands
the added children for transformation nodes, preventing triple
expansion and allowing the Suff module to properly postpone their
expansion until proper values are set for the local variables.

Directory prefix is no longer removed from $(.PREFIX) if the target
is found via directory search.

The last rule defined is now used instead of the first one (POSIX
requirement) in case a rule is defined multiple times.  Everything
defined in the first instance is undone, but things added "globally"
are honored.  To implement this, each node tracks attribute bits
which have been set by special targets (global) instead of special
sources (local).  They also track dependencies that were added by
a rule with commands (local) instead of rule with no commands (global).

New attribute, OP_FROM_SYS_MK is introduced.  It is set on all targets
found in system makefiles so that they are not eligible to become
the main target.  We cannot just set OP_NOTMAIN because it is one of
the attributes inherited from transformation and .USE rules and would
make any eligible target that uses a built-in inference rule ineligible.

The $(.IMPSRC) local variable now works like in gmake: it is set to
the first prerequisite for explicit rules.  For implicit rules it
is still the implied source.

The manual page is improved regarding the fixed features.  Test cases
for the fixed problems are added.

Other improvements in the Suff module include:
  - better debug messages for transformation rule search (length of
    the chain is now visualized by indentation)
  - Suff structures are created, destroyed and moved around by a set
    of maintenance functions so their reference counts are easier
    to track (this also gets rid of a lot of code duplication)
  - some unreasonably long functions were split into smaller ones
  - many local variables had their names changed to describe their
    purpose instead of their type

Revision 1.88 / (download) - annotate - [select for diffs], Fri Nov 9 18:53:05 2012 UTC (2 years, 1 month ago) by sjg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-7, dholland-make-base, agc-symver-base, agc-symver
Changes since 1.87: +5 -5 lines
Diff to previous 1.87 (colored)

Do not stop looking for children, just because one has a .ORDER dependency.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Jun 12 19:21:51 2012 UTC (2 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.86: +6 -6 lines
Diff to previous 1.86 (colored)

Replace __dead, __unused and the various printf format attributes
with versions prefixed by MAKE_ATTR_* to avoid modifying the
implementation namespace. Make sure they are available in all places
using nonints.h to fix bootstrap on Linux.

Revision 1.86 / (download) - annotate - [select for diffs], Thu May 10 19:53:26 2012 UTC (2 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5
Changes since 1.85: +4 -4 lines
Diff to previous 1.85 (colored)

Don't use the cache when building nodes that might have changed since the
last exec.

Revision 1.85 / (download) - annotate - [select for diffs], Sat Apr 7 18:29:08 2012 UTC (2 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.84: +7 -7 lines
Diff to previous 1.84 (colored)

Remove recheck hackery that caused extra stats, and explicitly ask for
recheck when needed. Before it used to be the case that we could only
use the cached entry once. Once the cached entry was used, we removed
it from the cache. Now it is kept forever.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Sep 16 15:38:04 2011 UTC (3 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.83: +4 -4 lines
Diff to previous 1.83 (colored)

Use __dead consistently. If it doesn't exist, define it away.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Nov 25 21:31:09 2010 UTC (4 years ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.82: +20 -19 lines
Diff to previous 1.82 (colored)

Instead of keeping around the mtime of the youngest child, keep a pointer
to it, so that we can print it when we do the out of date determination.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Sep 13 15:36:57 2010 UTC (4 years, 3 months ago) by sjg
Branch: MAIN
Changes since 1.81: +9 -3 lines
Diff to previous 1.81 (colored)

Add meta.c which implements "meta" mode for make.
In this mode, a .meta file is created for each target, capturing
the expanded commands used, any command output, and if filemon(9)
is available, a record of system calls which are of interest.
Not enabled unless USE_META=yes is set when building make.
Also, if FILEMON_H exists, meta.c will be compiled to use filemon(9).

Revision 1.81 / (download) - annotate - [select for diffs], Tue Jul 6 03:56:59 2010 UTC (4 years, 5 months ago) by dholland
Branch: MAIN
Changes since 1.80: +0 -1 lines
Diff to previous 1.80 (colored)

Revert 1.80, which somehow manages to produce different (wrong)
behavior with -jN. Unfixes PR 43534. Need a different approach...

Revision 1.80 / (download) - annotate - [select for diffs], Wed Jun 30 00:25:04 2010 UTC (4 years, 5 months ago) by dholland
Branch: MAIN
Changes since 1.79: +4 -3 lines
Diff to previous 1.79 (colored)

Set .PREFIX early the same place .TARGET is set. This makes sure it's
defined even in cases where the suffix search logic is skipped, such
as .PHONY targets, and fixes PR 43534.

Note: because .PHONY targets do not get suffix searching, .PREFIX will
not have any suffixes removed. This seems vaguely logical, although
it's not the only reasonable interpretation.

We may also want to reconsider whether suffix rules are skipped for
phony targets, too. That behavior is somewhat counterintuitive.

Revision 1.79 / (download) - annotate - [select for diffs], Wed Apr 7 00:11:27 2010 UTC (4 years, 8 months ago) by sjg
Branch: MAIN
Changes since 1.78: +7 -3 lines
Diff to previous 1.78 (colored)

Add:

.error "message"
.warning "message"
	based on FreeBSD implementation.
	add .info while were at it.

.ERROR:	a target to run on error.
	We pass the failing GNode to PrintOnError so it can set
	.ERROR_TARGET.

.MAKE.MAKEFILE_PREFERENCE
	As a means to control make's list of prefered makefile names.
	(Default: "makefile Makefile")

.MAKE.DEPENDFILE
	Names the file to read dependencies from
	(Default ".depend")

.MAKE.MODE
	Processed after all makefiles are read.
	Can put make into "compat" mode (more to come).

Fix:

compat.c: Error code should not be sent to debug_file.
Make_DoAllVar: use DONE_ALLSRC to avoid processing a node multiple times.
ReadMakefile: we can simply use doing_depend to control setting MAKEFILE.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Jan 23 21:26:30 2009 UTC (5 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.77: +25 -25 lines
Diff to previous 1.77 (colored)

Change 'ClientData' to 'void *' so that relevant parameters can
be made 'const void *'.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Dec 13 15:19:29 2008 UTC (6 years ago) by dsl
Branch: MAIN
Changes since 1.76: +18 -18 lines
Diff to previous 1.76 (colored)

Use NULL instead of -1 cast to the relavant type (usually via NIL).
This was a suggestion from christos - so blame him if there is a deep
reason for using -1 :-)

Revision 1.76 / (download) - annotate - [select for diffs], Fri Feb 15 21:29:50 2008 UTC (6 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Changes since 1.75: +0 -2 lines
Diff to previous 1.75 (colored)

back all changes out until I fix it properly.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Feb 14 22:11:20 2008 UTC (6 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: christos-broken
Changes since 1.74: +5 -3 lines
Diff to previous 1.74 (colored)

- use pid_t/size_t as appropriate instead of int.
- use %ld to print pids.
- fix a bit of lint.
- WARNS=4

Revision 1.74 / (download) - annotate - [select for diffs], Mon Jan 1 21:42:42 2007 UTC (7 years, 11 months ago) by dsl
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, matt-armv6, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Changes since 1.73: +9 -6 lines
Diff to previous 1.73 (colored)

Request the 'verbose' node print when aborting and scheduling nodes.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Jan 1 21:39:58 2007 UTC (7 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.72: +6 -6 lines
Diff to previous 1.72 (colored)

Add the other half of the fix to stop stuff that depends on .WAIT nodes
being always rebuilt.

Revision 1.72 / (download) - annotate - [select for diffs], Mon Jan 1 21:35:40 2007 UTC (7 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.71: +4 -4 lines
Diff to previous 1.71 (colored)

Don't force things that have dependencies against .WAIT nodes to be rebuilt.
This is what causes all of ksh to be built every time through.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Dec 21 20:05:37 2006 UTC (7 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.70: +5 -4 lines
Diff to previous 1.70 (colored)

Fix breakage of previous commit.

Revision 1.70 / (download) - annotate - [select for diffs], Wed Dec 20 20:46:35 2006 UTC (8 years ago) by dsl
Branch: MAIN
Changes since 1.69: +31 -20 lines
Diff to previous 1.69 (colored)

Fix detection and reporting of dependency loops in parallel makes.
make's unit_tests should now run again.

Revision 1.69 / (download) - annotate - [select for diffs], Mon Dec 18 15:06:16 2006 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.68: +4 -4 lines
Diff to previous 1.68 (colored)

From Anon Ymous:
Removed two "(void)&" constructs as there is no setjmp() or vfork() insight.
Flagged a few parameters __unused so this will compile with -Wextra now.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Nov 17 22:07:39 2006 UTC (8 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: wrstuden-fixsa, netbsd-4
Changes since 1.67: +454 -165 lines
Diff to previous 1.67 (colored)

A rather large rototil in the way the parallel make code schedules jobs.
This gives a considerable speedup in the processing of .WAIT and .ORDER.
Both .WAIT and .ORDER stop both the commands of the node, and its dependant
nodes being built until the LH nodes are complete.
.WAIT only applies to the dependency line on which it appears, whereas
.ORDER applies globally between the two nodes.
In both cases dependant nodes can be built because other targets need them.
make now processes the target list left to right, scheduling child nodes
as they are needed to make other nodes (instead of attempting to generate
a bottom-up dependency graph at the start).  This means that 'make -j1'
will tend to build in the same order as a non-parallel make.
Note that:
    all: x y
    x: a .WAIT b
    y: b .WAIT a
does not generate a dependency loop.
But
    x: y
    .ORDER y x
does (unless something elswhere causes 'y' to be built).

Revision 1.67 / (download) - annotate - [select for diffs], Fri Oct 27 21:00:19 2006 UTC (8 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.66: +19 -19 lines
Diff to previous 1.66 (colored)

Since 'ClientData' is 'void *', nuke almost all the (ClientData) casts.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Oct 15 08:38:22 2006 UTC (8 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.65: +25 -25 lines
Diff to previous 1.65 (colored)

Output all debug trace output through 'debug_file' defaulting to 'stdout'.
(Almost all the debug output went there, but some went to stderr.)
Split the parsing of -d (debug flags) out into its own routine.
Allow the output filename to be changed by specifying -dF<file> to create
a log file, or -dF+<file> to append to it. <file> may be stdout or stderr.
Also change so that -d-<flags> acts on <flags> locally but doesn't copy
them to MAKEFLAGS so they aren't inherited by child makes.
I'm not 100% happy with the command line syntax for the above, so they are
currently undocumented.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Oct 11 07:01:44 2006 UTC (8 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.64: +3 -4 lines
Diff to previous 1.64 (colored)

There is no need to resize the pollfd array, it can only ever have 2+maxJobs
entries, so allocate at startup.
Use an 'int jobPipe[2]' within the job structure, and create pipes directly
into it.  Common up the code that creates all the pipes - making them all
non-block on the read side in the process.
Call Job_CatchChildren() directly from Job_CatchOutput() so that it only
gets called when a child actually exits.
NB: Something causes a 'pregnant pause' if (for example) you call 'nbmake obj'
in src/tools.  Introduced between netbsd 3 and 4.

Revision 1.64 / (download) - annotate - [select for diffs], Mon Oct 9 14:36:41 2006 UTC (8 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.63: +4 -4 lines
Diff to previous 1.63 (colored)

Rip out the code for the undocumented -P (don't use pipes for command
output) option.  I'm sure it is baggage from the past.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Sep 23 20:51:28 2006 UTC (8 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.62: +4 -4 lines
Diff to previous 1.62 (colored)

Complete revamp of the way make handles job control signals.
- Send each type of signal to its own handler.
- Only call JobFinish when a process exits, in particular don't 'fake up'
  'exitstatus' for jobs being continued, nor call it for suspends.
- When a job is stopped, use an entire variable to remember the fact, so
  we know we need to send a SIGCONT.  Don't change any other state.
- In order to report '*** [job3] Suspended' before we suspend ourselves we
  have to call waitpid() from the signal handler - where we don't want to
  process job termination events. Save the exit status and process later.
The code now handles:
- jobs that suspend themselves
- jobs exiting while suspended
- jobs that don't actually suspend at all
Hoewever it still does printfs() from the signal handler, and I haven't yet
stopped it thrashing the signal mask.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Mar 31 21:05:34 2006 UTC (8 years, 8 months ago) by dsl
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored)

There is no need to count jobs and job tokens.
If we don't create the job pipe, use the '-j n' option to limit the number
of tokens we will remove from the pipe.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Feb 11 20:59:49 2006 UTC (8 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.60: +7 -3 lines
Diff to previous 1.60 (colored)

Add some more debug prints.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Feb 11 18:37:36 2006 UTC (8 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.59: +12 -9 lines
Diff to previous 1.59 (colored)

Debug trace all the targets we are actually intending making.
De-optimise the getting of a job token so we don't re-order the job
list when there are no tokens.
This might have helped etc/Makefile, but isn't enough.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Jan 4 21:16:53 2006 UTC (8 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.58: +11 -5 lines
Diff to previous 1.58 (colored)

For parallel makes, don't recycle the job token when we decide not to
run anything.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Aug 8 16:42:54 2005 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.57: +14 -14 lines
Diff to previous 1.57 (colored)

From Max Okumoto:
- Remove casts to NULL.
- Remove space between cast and object.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jul 25 22:55:58 2005 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.56: +26 -26 lines
Diff to previous 1.56 (colored)

Whitespace KNF cleanup from Max Okumoto

Revision 1.56 / (download) - annotate - [select for diffs], Wed Feb 16 15:11:52 2005 UTC (9 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.55: +57 -57 lines
Diff to previous 1.55 (colored)

PR/29203, PR/29204: Max Okumoto: KNF changes to make [no functional changes]

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jul 1 20:38:09 2004 UTC (10 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.54: +4 -8 lines
Diff to previous 1.54 (colored)

Change to use __unused instead and provide a compat definition in make.h if
not already defined from cdefs.h

Revision 1.54 / (download) - annotate - [select for diffs], Thu Jul 1 04:39:31 2004 UTC (10 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.53: +7 -3 lines
Diff to previous 1.53 (colored)

Add some checks for gcc around a few function declarations and note the
unused variables. Also fix a few other warnings that PR#22118 shows when
trying to compile bmake on non-NetBSD hosts

Revision 1.53 / (download) - annotate - [select for diffs], Fri May 7 00:04:39 2004 UTC (10 years, 7 months ago) by ross
Branch: MAIN
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored)

Simplify build, no functional changes.

Instead of adding MAKE_BOOTSTRAP for hosted environments, i.e., when
you want things simple, instead add MAKE_NATIVE to get those hugely
important features like __RCSID().

It's now possible to build make on some hosts with: cc *.c */*.c

Revision 1.52 / (download) - annotate - [select for diffs], Fri Nov 14 22:32:44 2003 UTC (11 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.51: +12 -11 lines
Diff to previous 1.51 (colored)

Don't create targets if dependant files marked .OPTIONAL are missing.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Aug 7 11:14:54 2003 UTC (11 years, 4 months ago) by agc
Branch: MAIN
Changes since 1.50: +33 -3 lines
Diff to previous 1.50 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jun 15 18:24:57 2002 UTC (12 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.49: +78 -54 lines
Diff to previous 1.49 (colored)

Remove !__STDC__ stuff, de-__P(), ANSIfy, and de-register.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Mar 21 11:42:21 2002 UTC (12 years, 9 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.48: +4 -5 lines
Diff to previous 1.48 (colored)

Darn.. remove test code from previous commit.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Mar 21 11:34:17 2002 UTC (12 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.47: +11 -7 lines
Diff to previous 1.47 (colored)

When looking at predecessor/successor dependencies, we need to consult a
cohort's centurion as well.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Mar 20 18:10:31 2002 UTC (12 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.46: +48 -22 lines
Diff to previous 1.46 (colored)

Xref: parse.c, rev 1.46; make.c, rev 1.23

In these revisions `::' dependency handling was simplified by not linking
the cohort nodes into the dependency graph. This broke dependency checking
on all but the first instance of a `::' target since all of the cohort nodes
now just form a collection of disconnected dependency graphs.

Fix this by keeping a back-reference in each cohort to its leader (the
first instance of a :: node with the same name) and a count of the number
of cohorts that need to be made before dependent nodes are scheduled.

Classically, we'd need six centurions for cohort, but in this case one
suffices...

Revision 1.46 / (download) - annotate - [select for diffs], Tue Mar 12 23:52:35 2002 UTC (12 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.45: +5 -4 lines
Diff to previous 1.45 (colored)

MakeAddAllSrc(): check for empty .ALLSRC variable before using its value.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Mar 8 23:22:38 2002 UTC (12 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.44: +15 -6 lines
Diff to previous 1.44 (colored)

Propagate a .JOIN node's .ALLSRC contents to the parent's .ALLSRC.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Feb 18 12:13:59 2002 UTC (12 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.43: +84 -60 lines
Diff to previous 1.43 (colored)

Make{_}HandleUse(): update comments and layout, re-arrange to avoid some
code duplication.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Feb 18 00:33:40 2002 UTC (12 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.42: +22 -22 lines
Diff to previous 1.42 (colored)

The use of OP_MARK in the MakeHandleUse() list callback function prevents
the removal of .USE nodes from a node's children list in case a given .USE
nodes appears multiple times on that list, preventing the target from ever
making it on the `to be made' queue.

Since the suffix rule processing code deals itself with removing the
transformation nodes from the parents to which it applies them, arrange
for doing the same for .USE nodes in MakeHandleUse() instead of in
Make_HandleUse(), and still use the OP_MARK stuff to avoid duplication
of commands.

Also, since Make_HandleUse() is not a list callback function and its
return value is no longer used, make its return type void.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Feb 7 16:48:23 2002 UTC (12 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.41: +24 -11 lines
Diff to previous 1.41 (colored)

When making a node which is the source of both a .MADE target and a
normal target (the latter dependency being the reason why it's made),
the .MADE parent should not be put on the `toBeMade' list again (in
Make_Update()) since it was already put on it in Make_ExpandUse().
Doing so would cause the rules for the .MADE target to be executed
(at least) twice, and also mess up the unmade children count of _its_
parent, resulting in spurious graph cylce detection.

To achieve this, make sure the unmade children count of the .MADE target
is set to zero before enqueueing it on the `toBeMade' list in
Make_ExpandUse(). Then, in Make_Update(), check if the parent has the
.MADE attribute before diddling with the queue.

For the same reason the status of a node must not be set to UPTODATE
unconditionally in compat mode, since that will prevent the node from
being built even if it is the source of a normal target. Instead,
check both its state and the type of the parent to decide whether to
continue on behalf of the current parent.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Feb 3 19:58:15 2002 UTC (12 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.40: +5 -4 lines
Diff to previous 1.40 (colored)

Don't bother to apply suffix rules to find sources for a target marked
as .MADE.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jan 27 01:50:55 2002 UTC (12 years, 10 months ago) by reinoud
Branch: MAIN
Changes since 1.39: +3 -4 lines
Diff to previous 1.39 (colored)

Fix major bug in make(1) ... due to shadowing of the dotLast path used for
the .DOTLAST primitive by a boolean variable with the same name, this whole
mechanism was broken ... it doesn't save much stat calls but it was wrong.

Thanks to Jason Thorpe for the other shadow-variable fixing patches he
made.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Jul 3 18:08:51 2001 UTC (13 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.38: +28 -17 lines
Diff to previous 1.38 (colored)

add .USEBEFORE Attribute

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jun 12 23:36:17 2001 UTC (13 years, 6 months ago) by sjg
Branch: MAIN
Changes since 1.37: +11 -11 lines
Diff to previous 1.37 (colored)

Add 4th arg (flags) to Var_Set so that VarLoopExpand can tell it not
to export interator variables when using context VAR_CMD.

Reviewed: christos

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jun 11 01:50:58 2001 UTC (13 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

Fix various misspellings of compatible/compatibility.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Mar 5 16:20:33 2001 UTC (13 years, 9 months ago) by sjg
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

Test for non-existant LIB was incorrect (using cmtime cf. mtime).

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jan 15 22:17:09 2001 UTC (13 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.34: +5 -4 lines
Diff to previous 1.34 (colored)

.PHONY gnode's don't get a PREFIX, so don't try to set the parent's prefixes
on a parallel make.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jan 1 15:47:37 2001 UTC (13 years, 11 months ago) by sommerfeld
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

Delete forceSerial; just use compatMake for that.
Add -N flag to *really* not execute any commands (useful when using
the -d flags to debug usr/src/Makefile)
Document -N
Update documentation of -n to mention that it still executes commands
for targets marked .MAKE so that the -N/-n distinction is clear.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Dec 30 15:58:34 2000 UTC (13 years, 11 months ago) by sommerfeld
Branch: MAIN
Changes since 1.32: +4 -5 lines
Diff to previous 1.32 (colored)

Fix token accounting for .BEGIN/.END jobs

Revision 1.32 / (download) - annotate - [select for diffs], Sat Dec 30 02:05:21 2000 UTC (13 years, 11 months ago) by sommerfeld
Branch: MAIN
Changes since 1.31: +11 -5 lines
Diff to previous 1.31 (colored)

Add a token-passing scheme to allow a recursive make to successfully
use -j; all make's in a recursive build cooperate to limit the total
number of jobs, using a token-passing scheme.

The current token passing algorithm is similar to the one implemented
by gmake; there is a single pipe which is inherited through the entire
process hierarchy; tokens are obtained by reading a byte from the
"read end" of the pipe, and are returned by writing them to the "write
end".  This exact algorithm is likely to change in the future.

Implementation details:
 - Use the new trace facility to allow measurement of the
effectiveness of different token-passing schemes
 - Get a token in MakeStartJobs(), return it in Make_Update()
 - Eliminate Job_Full() and the jobFull global since they are
redundant with token system.
 - Add an "internal" -J option (to pass the token pipe fd's down to
submakes) and a -T option for tracing.
 - Change how compatMake is forced so that -j means something when
inherited by submakes.
 - When waiting for a token, poll the token-passing pipe as well as
the output pipes of existing jobs.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jun 11 07:39:52 2000 UTC (14 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.30: +37 -12 lines
Diff to previous 1.30 (colored)

Readd optimization last night.  Problems earlier were partially due to the
arguments names on one function being swapped (by a previous author).

Do not do any duplicate suppression when a source list is created.  Instead:
* OP_MADE protects against trying to make the source multiple times.
* A new OP_MARK flag is introduced to suppress duplicates while expanding
  the .ALLSRC variable and .USE targets.
This turns the O(n^2) insertion into O(n) in most cases.

This is tested with a `make build' and some special test cases.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jun 10 22:28:33 2000 UTC (14 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.29: +12 -35 lines
Diff to previous 1.29 (colored)

Back out last night's optimization for now.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jun 10 22:24:21 2000 UTC (14 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.28: +13 -11 lines
Diff to previous 1.28 (colored)

Don't use OP_MARK when attaching suffix transformations.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jun 10 21:44:08 2000 UTC (14 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +29 -8 lines
Diff to previous 1.27 (colored)

Introduce an OP_MARK bit, and use it to suppress duplicates during .ALLSRC
and .USE expansion.  Also, remove some more Lst_Member() checks that are now
redundant.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Feb 29 22:00:02 2000 UTC (14 years, 9 months ago) by sjg
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)

Fixed the oodate test to include the check of gn->cmtime == 0 without
breaking the original intent.

PR: 9503

Revision 1.26 / (download) - annotate - [select for diffs], Tue Feb 15 04:41:45 2000 UTC (14 years, 10 months ago) by sjg
Branch: MAIN
Changes since 1.25: +6 -6 lines
Diff to previous 1.25 (colored)

Non-existent libs are always out of date.
This was not handled correctly on ELF where libs do not have T.O.C.

PR: 9393
Reviewed by: christos

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jan 31 13:21:20 2000 UTC (14 years, 10 months ago) by sjg
Branch: MAIN
Changes since 1.24: +5 -4 lines
Diff to previous 1.24 (colored)

You cannot meaningfully test if a non-existent file has a correct
archive header, so don't try - just believe gn->type & OP_LIB.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Sep 16 00:54:14 1999 UTC (15 years, 3 months ago) by mycroft
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

Some minor cleanup of :: tests.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Sep 15 10:47:38 1999 UTC (15 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +10 -3 lines
Diff to previous 1.22 (colored)

Rework how :: dependencies are handled.
Build a list of `cohorts' as before, but do *not* link each one into all the
parent nodes; instead, copy the `cohort' lists into the stream of targets to
be built inside Make_ExpandUse().  Also do the attribute propagation as a
separate pass after parsing.
This eliminates several O(n^2) algorithms.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Nov 11 19:37:06 1998 UTC (16 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.21: +123 -89 lines
Diff to previous 1.21 (colored)

This patch fixes the problem introduced in the previous commit where
parents would be get remade, even if children were not really updated
by the commands executed for them. It also makes all the children have
the real modification time set if possible, so it should fix some other
timing weirdnesses...

- collapse childMade and make fields into flags and convert them to bits
  CHILDMADE and REMAKE
- introduce FORCE flag that gets set in all the parents of a child that
  has no sources and does not exist.
- set oodate if the FORCE flag is set, and not if CHILDMADE
- centralize the RECHECK into Make_Recheck() and use this in make.c and compat.c
- use Make_TimeStamp for all child -> parent timestamp propagations

Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 11 11:25:43 1998 UTC (16 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.20: +11 -8 lines
Diff to previous 1.20 (colored)

PR/6426: Jim Bernard: make sometimes does not make directories on top of
	a union mount.

	eg.
	src: FORCE

	FORCE is a fake target that does not have sources. When FORCE is
	considered made it gets updated with the current timestamp. If the
	directory happens to have the same timestamp too, then it will not
	be made because it is considered to be up-to-date with respect to
	the child. This can happen because the time resolution is only in
	seconds. It is more likely to happen on a union filesystem where
	the timestamps take longer to update.

	The fix is to consider the parent unmade when children have been
	updated.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 26 19:20:37 1998 UTC (16 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

PR/5210: Hauke Fath: make core dumps with .SHELL
Unfortunately this revealed a deeper problem with the brk_string code.
To fix it:
	- remove sharing of the buffer between brk_string invocations
	- change the semantics of brk_string so that the argument array
	  starts with 0, and return the buffer where the strings are
	  stored

Revision 1.19 / (download) - annotate - [select for diffs], Sun Sep 28 03:31:07 1997 UTC (17 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.18: +6 -2 lines
Diff to previous 1.18 (colored)

wrap #include <sys/cdefs.h>, __RCSID(...) stuff in #ifndef MAKE_BOOTSTRAP

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jul 1 21:17:31 1997 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

Add WARNS=1
RCSID police

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jun 7 16:41:09 1997 UTC (17 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.16: +20 -3 lines
Diff to previous 1.16 (colored)

Deal with archive.a(member.o) nodes when expanding .USE dependencies or
adding children to .OODATE.

Revision 1.16 / (download) - annotate - [select for diffs], Tue May 6 23:51:31 1997 UTC (17 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)

Make sure `-n' is actually disabled for targets with the .MAKE attribute.

Revision 1.15 / (download) - annotate - [select for diffs], Fri May 2 14:24:27 1997 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.14: +5 -11 lines
Diff to previous 1.14 (colored)

- Target searching addition:
	Make used to only use the search path for nodes that were pure
	sources (not targets of other sources). This has been corrected
	and now gnu-autoconf generated Makefiles work in directories other
	than the source one.

- Suffix transformation rescanning:
	Suffix transformations (.c.o:; cc ...) were only recognized in
	the past when both suffixes were members of the suffix list.
	Thus a sequence like:
		.z.b:
			echo ${.TARGET}
		.SUFFIXES: .z
	would cause .z.b: to be inserted as a regular target (and the main
	target in this case). Other make programs always add rules that
	start with a period in the transformation list and never consider
	them as targets. We cannot do that (consider .depend files) so we
	resort to scanning the list of the current targets every time a
	suffix gets added, and we mutate existing targets that are now
	valid transformation rules into transformation rules. If the
	transformed target was also the main target, we set the main target
	to be the next target in the targets list.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Mar 28 22:31:21 1997 UTC (17 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.13: +15 -7 lines
Diff to previous 1.13 (colored)

Make sure that the children of nodes that are marked .MADE, are marked
UPTODATE and their timestamps are consistent.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 23 01:25:29 1997 UTC (17 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.12: +29 -3 lines
Diff to previous 1.12 (colored)

Locate all the children of a node marked as MADE.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 10 21:19:56 1997 UTC (17 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Add a .MADE directive to indicated that the children of a target are
up-to-date, even when they are not. This is to simulate our current
make install behavior with proper dependencies.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 20 16:51:48 1997 UTC (17 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.10: +77 -28 lines
Diff to previous 1.10 (colored)

Reported by cgd: fix .USE directive problems:
    1. ${.*} variables did not get expanded in dependencies.
    2. expanded ${.*} variables in .USE dependencies can cause tree
       restructuring; handle it.
    3. in compat mode, expand .USE before evaluating the list of targets,
       instead of doing .USE expansions on demand, because they can cause
       tree restructuring.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 6 17:59:15 1996 UTC (18 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.9: +24 -24 lines
Diff to previous 1.9 (colored)

- Merge in FreeBSD and Lite2 changes.
- Fix bug where a non-archive target with a .a suffix would always
  be considered to be out of date, since it does not have a TOC.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 30 23:21:10 1996 UTC (18 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.8: +11 -4 lines
Diff to previous 1.8 (colored)

Fix bug reported by Greg Hudson where leaf (source only) nodes were
referenced only by their basename and not by their full pathname. This
breaks when .PATH or MAKEOBJDIR are used. There might be Makefiles around
that try to work around this bug by prepending ${.CURDIR} to the sources,
and they should be found and fixed. Also a lot of the gunk in suff.c that
was attempting to work around the same problem could be removed.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 15 21:52:37 1996 UTC (18 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-BETA
Branch point for: netbsd-1-2
Changes since 1.7: +5 -3 lines
Diff to previous 1.7 (colored)

Add PHONY attribute and target. This is the first step to cleanup the
xinstall and xlint crud.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 14 15:19:40 1995 UTC (19 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.6: +7 -2 lines
Diff to previous 1.6 (colored)

- $NetBSD$ rcsids
- Fixed so that .[A-Z]* targets that do not match keywords are ignored as
  Posix mandates
- Added .PHONY target keyword

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 6 19:57:29 1995 UTC (19 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.5: +8 -2 lines
Diff to previous 1.5 (colored)

Fixes from Paul Borman (prb@bsdi.com)
1. Honor environment variable $MACHINE if set over uname.machine
2. archives with :: are always out of date, even when they have no children.
3. VAR= a b c     # comment, gets the trailing blanks trimmed, unless
   escaped by \. I'll have to read the posix manul to make sure that it
   is ok to handle escapes here.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 6 22:45:34 1994 UTC (20 years, 6 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.4: +63 -27 lines
Diff to previous 1.4 (colored)

Fixes from Christos Zoulas, who used purify, objectcenter and testcenter
to find memory leaks and illegal memory accesses.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 5 00:34:58 1994 UTC (20 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.3: +15 -4 lines
Diff to previous 1.3 (colored)

fixes/improvements from Christos Zoulas <christos@deshaw.com>.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 13 21:01:57 1994 UTC (20 years, 11 months ago) by jtc
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Include appropriate header files to bring prototypes into scope.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 18:11:46 1993 UTC (21 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Add RCS identifiers.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (21 years, 9 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>