The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.67 / (download) - annotate - [select for diffs], Tue Mar 5 22:01:43 2013 UTC (19 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, 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, agc-symver-base, agc-symver, HEAD
Changes since 1.66: +9 -7 lines
Diff to previous 1.66 (colored)

Add a .STALE special target that gets invoked when dependency files contain
stail entries.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Mar 5 02:04:10 2013 UTC (19 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.65: +6 -5 lines
Diff to previous 1.65 (colored)

Keep track of the location where a dependency is defined, so we can report
about it.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jun 12 19:21:50 2012 UTC (2 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, dholland-make-base
Branch point for: tls-maxphys
Changes since 1.64: +6 -6 lines
Diff to previous 1.64 (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.64 / (download) - annotate - [select for diffs], Sat Apr 7 18:29:08 2012 UTC (2 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.63: +18 -17 lines
Diff to previous 1.63 (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.63 / (download) - annotate - [select for diffs], Sat Mar 5 23:57:05 2011 UTC (3 years, 7 months ago) by sjg
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, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.62: +13 -3 lines
Diff to previous 1.62 (colored)

Treat some/dir/ the same as some/dir/.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Nov 27 05:02:35 2010 UTC (3 years, 10 months ago) by sjg
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.61: +28 -3 lines
Diff to previous 1.61 (colored)

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 still hands the bogus name to the compiler.

If Dir_MTime() cannot find such a file (gn->iParents is not empty),
see if the basename can be found via .PATH, and if so set gn->path to
the found file.   This prevents the stale path being given to the
compiler.

In meta_oodate(), if a referenced file no longer exists, consider the
target out-of-date.

Also, if meta_oodate() decides a target is out-of-date, and it
it uses .OODATE in its commands, we need .OODATE recomputed.
Undo our call to Make_DoAllVar() so that the call from Make_OODate()
will do the right thing.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Jan 24 10:59:09 2009 UTC (5 years, 8 months ago) by dsl
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.60: +11 -11 lines
Diff to previous 1.60 (colored)

Don't cast 'time_t' to 'void *' and back it will lose precision.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jan 23 21:58:27 2009 UTC (5 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.59: +8 -8 lines
Diff to previous 1.59 (colored)

Sprinkle some const.
In particular for Lst_Find() and Lst_FindFrom().
Remove some unneeded casts and some now-undeeded UNCONST().

Revision 1.59 / (download) - annotate - [select for diffs], Fri Jan 23 21:26:30 2009 UTC (5 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.58: +14 -14 lines
Diff to previous 1.58 (colored)

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

Revision 1.58 / (download) - annotate - [select for diffs], Sun Dec 28 18:32:54 2008 UTC (5 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.57: +14 -3 lines
Diff to previous 1.57 (colored)

if mtime == 0, make it 1 because the code expects 0 time to mean that the
file does not exist

Revision 1.57 / (download) - annotate - [select for diffs], Sat Dec 13 15:19:29 2008 UTC (5 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.56: +28 -28 lines
Diff to previous 1.56 (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.56 / (download) - annotate - [select for diffs], Mon Oct 6 22:09:21 2008 UTC (6 years ago) by joerg
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, 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-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, 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
Changes since 1.55: +18 -18 lines
Diff to previous 1.55 (colored)

Don't use emalloc and friends directly, but call them consistently
bmake_malloc and friends. Implement them via macros for the native case
and provide fallback implementations otherwise. Avoid polluting the
namespace by not defining enomem globally. Don't bother to provide
strdup and strndup, they were only used for the estrdup and estrndup
comapt code.

This addresses the presence of emalloc in system libraries on A/UX and
resulted strange issues as reported by Timothy E. Larson.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Feb 15 21:29:50 2008 UTC (6 years, 8 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, mjf-devfs2-base, mjf-devfs2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Changes since 1.54: +9 -11 lines
Diff to previous 1.54 (colored)

back all changes out until I fix it properly.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Feb 14 22:11:20 2008 UTC (6 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: christos-broken
Changes since 1.53: +14 -12 lines
Diff to previous 1.53 (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.53 / (download) - annotate - [select for diffs], Mon Jan 1 21:31:51 2007 UTC (7 years, 9 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.52: +8 -4 lines
Diff to previous 1.52 (colored)

Remove 'else' after 'return', and similar whitspace changes.
Extra debug on where files are actually found.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Dec 16 08:51:12 2006 UTC (7 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.51: +6 -6 lines
Diff to previous 1.51 (colored)

Fix a comment that has been wrong since rev 1.1, minor layout fix.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Oct 27 21:00:18 2006 UTC (7 years, 11 months ago) by dsl
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: wrstuden-fixsa, netbsd-4
Changes since 1.50: +22 -22 lines
Diff to previous 1.50 (colored)

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

Revision 1.50 / (download) - annotate - [select for diffs], Sun Oct 15 08:38:21 2006 UTC (8 years ago) by dsl
Branch: MAIN
Changes since 1.49: +35 -36 lines
Diff to previous 1.49 (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.49 / (download) - annotate - [select for diffs], Sat Apr 22 18:47:10 2006 UTC (8 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

Coverity CID 528: Avoid NULL deref.

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

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

Revision 1.47 / (download) - annotate - [select for diffs], Fri Aug 5 00:53:18 2005 UTC (9 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.46: +5 -5 lines
Diff to previous 1.46 (colored)

More KNF cleanups from Max Okumoto

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

Whitespace KNF cleanup from Max Okumoto

Revision 1.45 / (download) - annotate - [select for diffs], Wed Feb 16 15:11:52 2005 UTC (9 years, 8 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.44: +75 -75 lines
Diff to previous 1.44 (colored)

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

Revision 1.44 / (download) - annotate - [select for diffs], Wed Dec 29 00:43:02 2004 UTC (9 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

Dir_MTime did not search for a file using the correct parh; i.e. it was
ignoring suffix-specific path search. So if a node was marked .MADE,
then suffix rules would not be applied to it, and we would look for
the file only in the default path, not the suffix-specific path.

XXX: Now that we looked for the suffix, we can save it in the GNode,
but we don't do this yet.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jul 1 20:38:09 2004 UTC (10 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.42: +6 -15 lines
Diff to previous 1.42 (colored)

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

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jul 1 04:39:30 2004 UTC (10 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.41: +13 -3 lines
Diff to previous 1.41 (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.41 / (download) - annotate - [select for diffs], Fri May 7 00:04:38 2004 UTC (10 years, 5 months ago) by ross
Branch: MAIN
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (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.40 / (download) - annotate - [select for diffs], Tue Feb 3 19:25:29 2004 UTC (10 years, 8 months ago) by chuck
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.39: +86 -3 lines
Diff to previous 1.39 (colored)

add parent directory search for make as discussed on tech-toolchain.
 - new dir.c function: Dir_FindHereOrAbove:
      Search for a path in the current directory and then all the directories
      above it in turn until the path is found or we reach the root ("/").
 - add hooks to use it in main.c for -m and syspath (compiled in
      _PATH_DEFSYSPATH and $MAKESYSPATH).
 - updated man page

Revision 1.39 / (download) - annotate - [select for diffs], Sun Jan 11 12:22:40 2004 UTC (10 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.38: +26 -41 lines
Diff to previous 1.38 (colored)

Change DEBUG(DIR) traces to indent subsequent filenames instead of
generating very long lines (basically changes "..." into " ...\n   ").

Revision 1.38 / (download) - annotate - [select for diffs], Tue Sep 9 14:44:35 2003 UTC (11 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.37: +3 -9 lines
Diff to previous 1.37 (colored)

Remove some code which makes file lookup rely on the fact that
the first two directory entries are "." and "..".
This behaviour is not required by applicable standards, and
actually not provided by "coda".
Now we get the "." and ".." into the per-directiry hash tables,
but this should not hurt.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Aug 7 11:14:49 2003 UTC (11 years, 2 months ago) by agc
Branch: MAIN
Changes since 1.36: +34 -3 lines
Diff to previous 1.36 (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.36 / (download) - annotate - [select for diffs], Mon Jul 14 18:19:11 2003 UTC (11 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.35: +38 -36 lines
Diff to previous 1.35 (colored)

Pass WARNS=3

Revision 1.35 / (download) - annotate - [select for diffs], Tue Nov 26 06:12:59 2002 UTC (11 years, 10 months ago) by sjg
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.34: +112 -20 lines
Diff to previous 1.34 (colored)

Whenever we update .PATH, set the variable ${.PATH} to reflect the
search list that will be used.  Thus 'dot' and 'cur' will appear in
${.PATH} either at the start or end depending on .DOTLAST even though
they are not strictly in dirSearchPath.

When .CURDIR is assigned to - re-set the 'cur' Path.

Finally, when checking subdirs, look in 'dot' and 'cur' (first or last
depending on .DOTLAST) just as we do in other situations.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jun 15 18:24:56 2002 UTC (12 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.33: +105 -96 lines
Diff to previous 1.33 (colored)

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

Revision 1.33 / (download) - annotate - [select for diffs], Sun Feb 3 20:08:30 2002 UTC (12 years, 8 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.32: +7 -4 lines
Diff to previous 1.32 (colored)

Resurrect revision 1.23: no need to stat .PHONY targets.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jan 31 12:38:34 2002 UTC (12 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.31: +164 -102 lines
Diff to previous 1.31 (colored)

Fix the bug addressed in revision 1.27 properly. Analysis of the problem
(see also PR#15179):

  When looking up names which directory components (i.e. having slashes,
  except when of the form `./name'), FindFile()/DirLookup() first looks
  the final filename component in the cache for each directory on the search
  path and then proceeds to match the prefixed directory components by
  comparing them to the trailing directory components of the the search
  path being probed.

  This is not correct. When looking for `bar/target' in a path `.../src/foo',
  you want it to come up with `.../src/foo/bar/target' (if it exists). There's
  no point in comparing the the `bar' prefix on the target to the `foo' suffix
  on the search path. Indeed, this will cause a false match if those prefix
  and suffix components are actually equal and search path itself also has a
  file called `target'. For example, looking for `foo/target' in `.../src/foo'
  will spuriously match `.../src/foo/target', not `.../src/foo/foo/target'.

  This last bug prompted the change in dir.c, rev 1.27, which happens
  to partially workaround it by avoiding the above matching code in the
  case of the `curdir' search path entry (at the cost of incurring an
  exorbitant amount of cache misses). The situation is unchanged however,
  when processing other entries on the search path (e.g. those other than
  `dot' and `cur').

Drop the prefix matching code in DirLookup() entirely and use DirFindDot()
and DirLookup() only for names without proper directory components (i.e.
`target' and `./target). Otherwise, non-absolute names are dealt with by
DirLookupSubdir(), while absolute names can be checked for an exact match
of the directory components prefix against the directories on the current
search path. This allows for the use of the file cache to check the
existence of the file and additionally, provides a shortcut out of
Dir_FindFile() if we have the prefix match but not a cache entry (this
is especially beneficial for searches in .CURDIR when it's not equal
to `dot').

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jan 27 01:50:54 2002 UTC (12 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.30: +11 -12 lines
Diff to previous 1.30 (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.30 / (download) - annotate - [select for diffs], Sat Jan 26 22:36:41 2002 UTC (12 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.29: +9 -8 lines
Diff to previous 1.29 (colored)

Don't bother to lookup for files in `.' that start with a `/'. Cuts in the
number of NAMI's from 1344 -> 830 in a full build of /usr/src/usr.bin/make.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jan 18 19:18:23 2002 UTC (12 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.28: +5 -4 lines
Diff to previous 1.28 (colored)

In Dir_FindFile() add a missing Lst_Close() and move another one to the
proper place.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Nov 12 21:58:17 2001 UTC (12 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.27: +40 -21 lines
Diff to previous 1.27 (colored)

Redo the hashtable for "." if .OBJDIR changes.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Nov 11 21:36:06 2001 UTC (12 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.26: +4 -5 lines
Diff to previous 1.26 (colored)

Fix long-standing bug where, if an objdir exists, searching the .PATH for a
file will strip any leading path on the filename when searching ${.CURDIR}.

This bug manifested itself more prominently with xsrc/xfree/xc/lib/GL/GL,
since we now always search ${.CURDIR} as an alternative to ${.OBJDIR}
(PR bin/14499).

Revision 1.26 / (download) - annotate - [select for diffs], Sun Apr 16 23:24:04 2000 UTC (14 years, 6 months ago) by christos
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, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.25: +8 -3 lines
Diff to previous 1.25 (colored)

Don't core-dump when the current working directory is not readable

Revision 1.25 / (download) - annotate - [select for diffs], Thu Nov 25 22:34:16 1999 UTC (14 years, 10 months ago) by mrg
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.24: +5 -7 lines
Diff to previous 1.24 (colored)

back out rev 1.23 (don't stat PHONY targets).  it broken the libcrypto
build by causing everything to be remade everytime.  this fixes PR#8419.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Sep 15 08:43:22 1999 UTC (15 years, 1 month ago) by mycroft
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.23: +5 -3 lines
Diff to previous 1.23 (colored)

Don't bother iterating through all the data structures to free(3) everything
right before exiting.
(The code is still present, `#ifdef CLEANUP', in case someone needs it...)

Revision 1.23 / (download) - annotate - [select for diffs], Wed Sep 15 05:56:33 1999 UTC (15 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.22: +7 -5 lines
Diff to previous 1.22 (colored)

Fix another case where we stat(2)ed .PHONY targets.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 12 17:29:32 1999 UTC (15 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

Correct an inverse initialization of a variable, which caused all .PATHs
to be treated as .DOTLAST.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jul 11 02:06:57 1999 UTC (15 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +112 -41 lines
Diff to previous 1.20 (colored)

Add a mechanism for specifying that ${.CURDIR} will be searched last
in the presence of .PATH directives by specifying:

.PATH: .DOTLAST

This will be used to fixup the build system to work with both crypto-us
and crypto-intl sub-trees.

Make(1) changes by Christos Zoulas, after much badgering by me :-)

Revision 1.20 / (download) - annotate - [select for diffs], Sun Sep 28 03:31:02 1997 UTC (17 years ago) by lukem
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, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.19: +6 -2 lines
Diff to previous 1.19 (colored)

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

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

Add WARNS=1
RCSID police

Revision 1.18 / (download) - annotate - [select for diffs], Fri May 9 17:05:59 1997 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.17: +163 -111 lines
Diff to previous 1.17 (colored)

Change the way curdir is handled [this started at the previous version]...
Instead of adding it in .PATH, handle it specially the same way as "." is
handled.

Revision 1.17 / (download) - annotate - [select for diffs], Thu May 8 21:24:41 1997 UTC (17 years, 5 months ago) by gwr
Branch: MAIN
Changes since 1.16: +41 -15 lines
Diff to previous 1.16 (colored)

Add the new .NOPATH feature which can be used to disable .PATH search
for particular targets, i.e. .depend, objects, etc.  (from Christos).

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

Don't do a VPATH or .PATH search for .PHONY targets.  (From Christos.)

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

Make used to add every directory where it found files in the search path.
I.e. if you had a line in your Makefile:
	../foo.o: foo.c
`..' would be added in the search path. The addition of such paths has
been now disabled. If a pathname contains a slash, then the directory
where such a file is found is not added to the search path. Of course
this eliminates most (all?) use of this function.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Mar 29 16:51:26 1997 UTC (17 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.13: +3 -8 lines
Diff to previous 1.13 (colored)

Don't disable wildcards completely; they are used by other Makefiles.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 27 17:20:18 1997 UTC (17 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.12: +30 -4 lines
Diff to previous 1.12 (colored)

- Disable globbing for targets/dependencies when POSIX is defined.
- Fix globbing so that patterns that don't have a matching number of [] or {}
  don't get expanded. (before the [ case got expanded to nothing!) This is
  disabled.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Nov 6 17:59:04 1996 UTC (17 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.11: +42 -42 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Tue Aug 13 16:42:02 1996 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.10: +11 -11 lines
Diff to previous 1.10 (colored)

Add estrdup(), a checked version of strdup and use it.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Feb 4 22:20:38 1996 UTC (18 years, 8 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.9: +4 -4 lines
Diff to previous 1.9 (colored)

fix pr/1421 and pr/1997

Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 22 17:40:05 1995 UTC (18 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

Updates for POSIX/SVR4 compiling:

arch.c:		 Don't require ranlib stuff. Not everybody has it.
dir.c:		 SunOS-4 != Solaris; change #ifdef sun to #if sun && !__svr4__
job.c, compat.c: Don't use 'union wait', use int and the W*() macros.
main.c: 	 Check for uname() == -1; some unames return > 0...
util.c, job.c:	 Add signal() with BSD semantics for svr4, don't use bsd
		 sigmask and friends.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 14 15:19:07 1995 UTC (19 years, 4 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.7: +7 -2 lines
Diff to previous 1.7 (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.7 / (download) - annotate - [select for diffs], Sat Dec 24 16:54:24 1994 UTC (19 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

a few casts, for peace and quiet.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 6 22:45:25 1994 UTC (20 years, 4 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.5: +57 -21 lines
Diff to previous 1.5 (colored)

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

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

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

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

Include appropriate header files to bring prototypes into scope.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Dec 8 00:37:37 1993 UTC (20 years, 10 months ago) by jtc
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

Update to use <dirent.h>.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 18:11:51 1993 UTC (21 years, 2 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, 7 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>