Up to [cvs.netbsd.org] / src / usr.bin / make
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.62.4.1 / (download) - annotate - [select for diffs], Wed May 23 10:08:25 2012 UTC (2 days, 22 hours ago) by yamt
Branch: yamt-pagecache
Changes since 1.62: +4 -4
lines
Diff to previous 1.62 (colored) next main 1.63 (colored)
sync with head.
Revision 1.63 / (download) - annotate - [select for diffs], Mon May 21 06:30:02 2012 UTC (5 days, 1 hour ago) by sjg
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
HEAD
Changes since 1.62: +4 -4
lines
Diff to previous 1.62 (colored)
In meta mode, level 0 can legitimately see > 64 nested .if's
Revision 1.62 / (download) - annotate - [select for diffs], Tue Mar 29 17:19:22 2011 UTC (13 months, 4 weeks ago) by sjg
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.61: +7 -7
lines
Diff to previous 1.61 (colored)
CondDoExists: Avoid use after free()
Revision 1.60.2.1 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:56 2011 UTC (15 months, 1 week ago) by bouyer
Branch: bouyer-quota2
Changes since 1.60: +10 -10
lines
Diff to previous 1.60 (colored) next main 1.61 (colored)
Sync with HEAD
Revision 1.61 / (download) - annotate - [select for diffs], Sun Feb 13 21:24:42 2011 UTC (15 months, 1 week ago) by sjg
Branch: MAIN
CVS Tags: bouyer-quota2-nbase,
bouyer-quota2-base
Changes since 1.60: +10 -10
lines
Diff to previous 1.60 (colored)
Mark unused args.
Revision 1.60 / (download) - annotate - [select for diffs], Fri Nov 6 19:44:06 2009 UTC (2 years, 6 months ago) by dsl
Branch: MAIN
CVS Tags: matt-premerge-20091211,
matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.59: +28 -24
lines
Diff to previous 1.59 (colored)
Change enum values so that TOK_FALSE is 0 and TOK_TRUE is 1. Use this fact to remove loads of ? : clauses.
Revision 1.59 / (download) - annotate - [select for diffs], Fri Jan 30 23:07:17 2009 UTC (3 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.58: +69 -68
lines
Diff to previous 1.58 (colored)
Rename all the members of 'enum Token' to TOK_FOO. Makes it rather more obvious wherethey belong - especially since two of them were 'True' and 'False' (and not 1 and 0 either).
Revision 1.58 / (download) - annotate - [select for diffs], Fri Jan 30 22:35:10 2009 UTC (3 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.57: +48 -36
lines
Diff to previous 1.57 (colored)
Treat .ifdef ${foo} as .if defined(${foo}) not .if "${foo}" != "".
(and similarly for the other .ifxxx).
Do comparison against "" or 0 for .if "foo" and .if <numeric> directly
instead of faking up the operator string.
Rename error: to done: and use it for more exit paths.
Elucidate and correct some comments.
Fixes problems with makefiles that do:
.for var in var_1 var_2
.ifdef ${var}
...
which used to check whether var_1 was defined - because the .ifdef saw the
literal var_1, not a variable expansion due to the way .for loop variables
were substituted.
Revision 1.57 / (download) - annotate - [select for diffs], Thu Jan 29 07:48:39 2009 UTC (3 years, 3 months ago) by enami
Branch: MAIN
Changes since 1.56: +4 -4
lines
Diff to previous 1.56 (colored)
Avoid infinite loop.
Revision 1.56 / (download) - annotate - [select for diffs], Wed Jan 28 21:38:12 2009 UTC (3 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.55: +67 -46
lines
Diff to previous 1.55 (colored)
Allow for () in the argument to .ifdef et al.
Save/restore current values of global data across expression evaluation
to give ${foo:? ...} a change of working inside another .if.
Revision 1.55 / (download) - annotate - [select for diffs], Fri Jan 23 21:58:27 2009 UTC (3 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.54: +19 -19
lines
Diff to previous 1.54 (colored)
Sprinkle some const. In particular for Lst_Find() and Lst_FindFrom(). Remove some unneeded casts and some now-undeeded UNCONST().
Revision 1.54 / (download) - annotate - [select for diffs], Fri Jan 23 21:26:30 2009 UTC (3 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.53: +6 -6
lines
Diff to previous 1.53 (colored)
Change 'ClientData' to 'void *' so that relevant parameters can be made 'const void *'.
Revision 1.53 / (download) - annotate - [select for diffs], Fri Jan 23 20:22:50 2009 UTC (3 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.52: +6 -40
lines
Diff to previous 1.52 (colored)
There is no point in saving the last character of a NUL-terminated string in order to overwrite with a NUL, then restore the original value! Remove and simplify the CondDoFoo() functions.
Revision 1.52 / (download) - annotate - [select for diffs], Sun Jan 18 17:30:19 2009 UTC (3 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.51: +7 -12
lines
Diff to previous 1.51 (colored)
Revert previous - cause grief with .ifdef (foo) Instead return False for exists(), defined(), make() etc when the argument has length zero.
Revision 1.51 / (download) - annotate - [select for diffs], Sun Jan 18 12:50:15 2009 UTC (3 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.50: +16 -17
lines
Diff to previous 1.50 (colored)
Only terminate a conditional function argument on ')' if we expect the
argument to be exclosed in (...).
'.if exists()' is parsed as '.ifdef exists()' and the ')' must not be
left over at the end.
I have no idea why any of my recent changes have affected this.
But pkgsrc/mk/compiler/gcc.mk (line 488) does .if exists(${FCPATH})
even though FCPATH is only set when the file exists.
Revision 1.50 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:37 2009 UTC (3 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.49: +19 -19
lines
Diff to previous 1.49 (colored)
Change 'Buffer' so that it is the actual struct, not a pointer to it. Saves having to malloc/free a fixed size structure. Buf_Init() now takes ptr to Buffer to initialiase. Change Buf_Destroy() to return ptr to string when not freed. Remove large number of casts to (Byte) and (Byte *) - 'Byte' is 'char' here. Buf_AddByte[s] guarantees that the data is 0 termininated, so never add '\0'. Keep 'count' not 'left' and 'inPtr', code is simplier with only one update. Fix fallou, no functional change.
Revision 1.49 / (download) - annotate - [select for diffs], Sat Dec 13 15:19:29 2008 UTC (3 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.48: +6 -6
lines
Diff to previous 1.48 (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.48 / (download) - annotate - [select for diffs], Sat Nov 29 14:42:21 2008 UTC (3 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.47: +22 -5
lines
Diff to previous 1.47 (colored)
Before deciding to use the default function in a .if, check whether the token that follows the argument might be '==' or '!='. If so then treat as a string comparison instead. Fixes bin/15233 and bin/30967 provided some whitespace is present. ".if A==A" remains a check for defined(A==A) since make places no restrictions on the names of variables!
Revision 1.47 / (download) - annotate - [select for diffs], Sat Nov 29 14:12:48 2008 UTC (3 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.46: +142 -190
lines
Diff to previous 1.46 (colored)
Common up parsing .if defined() make() exists() target() commands() and empty()
Add a check for the '(' following the function name, if absent then treat
as if the function name is unknown - usually leading to a syntax error.
No other functional changes intended.
Revision 1.46 / (download) - annotate - [select for diffs], Sun Nov 23 10:52:58 2008 UTC (3 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.45: +30 -40
lines
Diff to previous 1.45 (colored)
Do a string compare if the rh argument doesn't completely convert to a number (instead of silently ignoring the chars that failed to convert). Use strtoul() instead of homebrew copy. Only use strtod() if strtoul() fails because the value is too large or contains '.', 'e' or 'E'. Do a compare for strings that start '-' or '+' as well as digits.
Revision 1.45 / (download) - annotate - [select for diffs], Sat Nov 22 23:42:16 2008 UTC (3 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.44: +4 -4
lines
Diff to previous 1.44 (colored)
Fix conversion of hex numerics in comparisons. Broken by a fix from christos 14 years ago.
Revision 1.44 / (download) - annotate - [select for diffs], Sat Nov 22 18:47:47 2008 UTC (3 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.43: +323 -311
lines
Diff to previous 1.43 (colored)
Move two great chunks of code out of a switch statement and into separate functions. No functional change.
Revision 1.43 / (download) - annotate - [select for diffs], Sat Nov 22 18:05:13 2008 UTC (3 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.42: +25 -11
lines
Diff to previous 1.42 (colored)
If there is a syntax error in a .if expression then ignore the entire conditional block (ie down to the matching .endif) instead of passing the input line back to the normal parsing code. Do the same if the maximum .if nesting (64 levels) is breached.
Revision 1.42 / (download) - annotate - [select for diffs], Wed Oct 29 15:37:08 2008 UTC (3 years, 6 months ago) by sjg
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
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
Changes since 1.41: +12 -3
lines
Diff to previous 1.41 (colored)
If Parse_Error is called after curFile is invalid, set it to a dummy
to avoid seg-fault. Also the NULL filename will cause ParseVErrorInternal
to skip trying to report file and line number info.
If CondToken is called outside the context of a .if etc, variables in
the expression being parsed will already be expanded, so allow for
an unqouted number to jump us back into the compare logic.
This allows ${${SomeNumber:U42} > 0:?True:False} to work anywhere.
Job_Finish should process postCommands if it has commands or children.
Revision 1.37.4.1 / (download) - annotate - [select for diffs], Sun Mar 23 00:49:02 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.37: +16 -8
lines
Diff to previous 1.37 (colored) next main 1.38 (colored)
sync with HEAD
Revision 1.41 / (download) - annotate - [select for diffs], Fri Feb 15 21:29:50 2008 UTC (4 years, 3 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-mips64-base2,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base
Changes since 1.40: +5 -6
lines
Diff to previous 1.40 (colored)
back all changes out until I fix it properly.
Revision 1.40 / (download) - annotate - [select for diffs], Thu Feb 14 22:11:20 2008 UTC (4 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: christos-broken
Changes since 1.39: +9 -8
lines
Diff to previous 1.39 (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.39 / (download) - annotate - [select for diffs], Thu Feb 7 00:49:38 2008 UTC (4 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.38: +10 -5
lines
Diff to previous 1.38 (colored)
Print the complain about random stuff after empty only once.
Revision 1.38 / (download) - annotate - [select for diffs], Wed Feb 6 18:26:37 2008 UTC (4 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.37: +10 -7
lines
Diff to previous 1.37 (colored)
Warn for constructs like .if empty xxx(foo) which are interpreted as .if empty(foo) or .if empty (foo) This is based on rillig's commit to pkgsrc/devel/bmake, but doesn't warn for the third case. Discussed with sjg.
Revision 1.35.2.1.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:05:28 2007 UTC (4 years, 8 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.35.2.1: +26 -12
lines
Diff to previous 1.35.2.1 (colored) next main 1.35.2.2 (colored)
Sync w/ NetBSD-4-RC_1
Revision 1.35.2.2 / (download) - annotate - [select for diffs], Tue Jun 5 20:53:28 2007 UTC (4 years, 11 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0
Changes since 1.35.2.1: +26 -12
lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)
Apply patch (requested by tron in ticket #696): usr.bin/make/compat.c patch usr.bin/make/cond.c patch usr.bin/make/dir.c patch usr.bin/make/for.c patch usr.bin/make/main.c patch usr.bin/make/make.1 patch usr.bin/make/make.c patch usr.bin/make/make.h patch usr.bin/make/nonints.h patch usr.bin/make/parse.c patch usr.bin/make/str.c patch usr.bin/make/targ.c patch usr.bin/make/util.c patch usr.bin/make/var.c patch Synchronize make(1) with HEAD branch to increase perfomance and improve stability.
Revision 1.37 / (download) - annotate - [select for diffs], Sun Feb 4 19:23:49 2007 UTC (5 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf
Branch point for: matt-armv6
Changes since 1.36: +26 -12
lines
Diff to previous 1.36 (colored)
Add code to ensure that .if/.endif are correctly nested with .for/.endfor and also include files don't have mismatched .if/.endif It has been suggested that make used to have this test, but I can't remember removing any code that might have performed it.
Revision 1.35.2.1 / (download) - annotate - [select for diffs], Wed Dec 20 22:42:11 2006 UTC (5 years, 5 months ago) by bouyer
Branch: netbsd-4
Branch point for: wrstuden-fixsa
Changes since 1.35: +126 -142
lines
Diff to previous 1.35 (colored)
Pull up following revision(s) (requested by dsl in ticket #285): usr.bin/make/cond.c: revision 1.36 usr.bin/make/parse.c: revision 1.121-1.124 usr.bin/make/make.h: revision 1.65 usr.bin/make/targ.c: revision 1.46 usr.bin/make/main.c: revision 1.138-1.139 Simplify the code that processes .if lines. It doesn't need a two-dimensional array to remember the states of .if lines. It would be even simpler if we didn't try to detect .else and .elif lines that follow .else lines. Unfortunately this isn't the code that is stupendously slow... Unknot this code slightly by avoiding 'break/return; else' and by putting the short parts of some conditionals first. First step towards speeding up the parsing of makefiles (esp. the unwanted parts of .if clauses). There should be no changes to the logic. There really is no point calling estrdup() to get a copy of the makefile name into every 'gnode' (aka target), instead just copy a pointer to the string and avoid freeing the original name when we close the file. I can't imagine any makefile set where this gives a larger footprint! Add anewline to the end of the error message output when the debug log file cannot be opened. Put the big block of code that was common to ParseDoInclude() and ParseTraditionalInclude() into a separate routine. Fix the 'use after free' and 'free on item not malloced' that got added to ParseTraditionalInclude() in Feb 2006 (rev 1.111). Kill the 'PTR' struct and put both its members into IFile. Remove the parameter from ParseEOF(), 1 of the 3 calls passed the wrong value! Fortunately another test stopped anything nasty happening, we'll use that test instead. Revert part of a recent commit. ParseEOF() shouldn't close the original file. Some minor changes: - Only test 'printVars' once. Has side effect of not trying to find the 'main' target for '-V varname'. - Only reap the single child process in Cmd_Exec(), I think this is for 'xx != cmd' so probobably no other children should exist. - Don't read and parse .depend if '-r' and '-V varname' are set. I suspect that .depend shouldn't affect the output of any -V command...
Revision 1.36 / (download) - annotate - [select for diffs], Sat Dec 2 15:50:45 2006 UTC (5 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.35: +126 -142
lines
Diff to previous 1.35 (colored)
Simplify the code that processes .if lines. It doesn't need a two-dimensional array to remember the states of .if lines. It would be even simpler if we didn't try to detect .else and .elif lines that follow .else lines. Unfortunately this isn't the code that is stupendously slow...
Revision 1.35 / (download) - annotate - [select for diffs], Fri Oct 27 21:00:18 2006 UTC (5 years, 6 months ago) by dsl
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.34: +4 -4
lines
Diff to previous 1.34 (colored)
Since 'ClientData' is 'void *', nuke almost all the (ClientData) casts.
Revision 1.34 / (download) - annotate - [select for diffs], Sun Oct 15 08:38:21 2006 UTC (5 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.33: +6 -6
lines
Diff to previous 1.33 (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.33 / (download) - annotate - [select for diffs], Fri Jul 28 17:07:33 2006 UTC (5 years, 9 months ago) by sjg
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.32: +7 -3
lines
Diff to previous 1.32 (colored)
Add debug output for CondDoExists() - the results can be surprising.
Revision 1.32 / (download) - annotate - [select for diffs], Sat Apr 22 18:53:32 2006 UTC (6 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: chap-midi-nbase,
chap-midi-base,
chap-midi
Changes since 1.31: +14 -15
lines
Diff to previous 1.31 (colored)
Coverity CID 526: Check for condTop < 0 where we decrement it, not later when the damage is already done.
Revision 1.31 / (download) - annotate - [select for diffs], Sun Apr 2 00:15:53 2006 UTC (6 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.30: +6 -7
lines
Diff to previous 1.30 (colored)
Remove bogus debugging code I accidentally committed.
Revision 1.30 / (download) - annotate - [select for diffs], Fri Mar 31 21:58:08 2006 UTC (6 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.29: +46 -31
lines
Diff to previous 1.29 (colored)
Add some coverity allocation comments, and change the way the allocator functions work. When they allocate storage that needs to be freed, instead of setting a boolean, set the pointer to be freed. Plug some more memory leaks found by inspection.
Revision 1.29 / (download) - annotate - [select for diffs], Mon Aug 8 16:42:54 2005 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.28: +9 -9
lines
Diff to previous 1.28 (colored)
From Max Okumoto: - Remove casts to NULL. - Remove space between cast and object.
Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 25 22:55:58 2005 UTC (6 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.27: +5 -5
lines
Diff to previous 1.27 (colored)
Whitespace KNF cleanup from Max Okumoto
Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 2 02:03:19 2005 UTC (6 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.26: +4 -3
lines
Diff to previous 1.26 (colored)
appease gcc -Wuninitialized
Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 1 04:34:55 2005 UTC (7 years, 2 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.25: +18 -12
lines
Diff to previous 1.25 (colored)
When parsing conditional tokens, make sure that the token is followed by a non-alpha character, so that .elsefoo is not parsed as .else leading to confusion later.
Revision 1.25 / (download) - annotate - [select for diffs], Wed Feb 16 15:11:52 2005 UTC (7 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.24: +17 -17
lines
Diff to previous 1.24 (colored)
PR/29203, PR/29204: Max Okumoto: KNF changes to make [no functional changes]
Revision 1.19.2.5 / (download) - annotate - [select for diffs], Mon May 10 15:44:10 2004 UTC (8 years ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2
Changes since 1.19.2.4: +4 -4
lines
Diff to previous 1.19.2.4 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)
Pull up revision 1.24 (requested by sjg in ticket #282): 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.19.2.4 / (download) - annotate - [select for diffs], Mon May 10 15:32:16 2004 UTC (8 years ago) by tron
Branch: netbsd-2-0
Changes since 1.19.2.3: +144 -136
lines
Diff to previous 1.19.2.3 (colored) to branchpoint 1.19 (colored)
Pull up revision 1.23 (requested by sjg in ticket #282):
Allow "string" and "${varspec}" on lhs of conditionals.
This makes it possible to use expressions like
${("${LIST:Msomething"}):?present:absent}
it also makes treatment of lhs and rhs more consistent, and
makes CondToken easier to read.
Update unit-test/cond1 to test new features.
Revision 1.19.2.3 / (download) - annotate - [select for diffs], Mon May 10 15:27:41 2004 UTC (8 years ago) by tron
Branch: netbsd-2-0
Changes since 1.19.2.2: +17 -4
lines
Diff to previous 1.19.2.2 (colored) to branchpoint 1.19 (colored)
Pull up revision 1.22 (requested by sjg in ticket #282): Revised patch for catching extraneous .else's We actually need to tack condTop and skipIfLevel. Bump MAXIF while here. Enhance the unit-test for conditionals to exercise more code. PR: 24420
Revision 1.19.2.2 / (download) - annotate - [select for diffs], Mon May 10 15:25:15 2004 UTC (8 years ago) by tron
Branch: netbsd-2-0
Changes since 1.19.2.1: +3 -11
lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored)
Pull up revision 1.21 (requested by sjg in ticket #282): Back out previous patch for now. Breaks bsd.obj.mk
Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon May 10 15:23:41 2004 UTC (8 years ago) by tron
Branch: netbsd-2-0
Changes since 1.19: +11 -3
lines
Diff to previous 1.19 (colored)
Pull up revision 1.20 (requested by sjg in ticket #282): Add check for extraneous .else's - based on patch from Arne H. Juul in PR/24420. Add a unit-test for conditionals. Also in the unit-test makefile strip any .CURDIR in output. PR: 24420
Revision 1.24 / (download) - annotate - [select for diffs], Fri May 7 00:04:38 2004 UTC (8 years ago) by ross
Branch: MAIN
Changes since 1.23: +4 -4
lines
Diff to previous 1.23 (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.23 / (download) - annotate - [select for diffs], Tue Apr 13 16:06:23 2004 UTC (8 years, 1 month ago) by sjg
Branch: MAIN
Changes since 1.22: +144 -136
lines
Diff to previous 1.22 (colored)
Allow "string" and "${varspec}" on lhs of conditionals.
This makes it possible to use expressions like
${("${LIST:Msomething"}):?present:absent}
it also makes treatment of lhs and rhs more consistent, and
makes CondToken easier to read.
Update unit-test/cond1 to test new features.
Revision 1.22 / (download) - annotate - [select for diffs], Thu Apr 8 07:24:26 2004 UTC (8 years, 1 month ago) by sjg
Branch: MAIN
Changes since 1.21: +17 -4
lines
Diff to previous 1.21 (colored)
Revised patch for catching extraneous .else's We actually need to tack condTop and skipIfLevel. Bump MAXIF while here. Enhance the unit-test for conditionals to exercise more code. PR: 24420
Revision 1.21 / (download) - annotate - [select for diffs], Thu Apr 8 01:35:33 2004 UTC (8 years, 1 month ago) by sjg
Branch: MAIN
Changes since 1.20: +3 -11
lines
Diff to previous 1.20 (colored)
Back out previous patch for now. Breaks bsd.obj.mk
Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 8 00:59:01 2004 UTC (8 years, 1 month ago) by sjg
Branch: MAIN
Changes since 1.19: +11 -3
lines
Diff to previous 1.19 (colored)
Add check for extraneous .else's - based on patch from Arne H. Juul in PR/24420. Add a unit-test for conditionals. Also in the unit-test makefile strip any .CURDIR in output. PR: 24420
Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 6 01:18:52 2004 UTC (8 years, 4 months ago) by sjg
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.18: +21 -18
lines
Diff to previous 1.18 (colored)
Handle more complex conditional expressions. CondCvtArg now returns NULL if it consumed all input, or a pointer to any left overs.
Revision 1.18 / (download) - annotate - [select for diffs], Sat Sep 6 06:52:08 2003 UTC (8 years, 8 months ago) by sjg
Branch: MAIN
Changes since 1.17: +4 -4
lines
Diff to previous 1.17 (colored)
Make empty() consider an undefined variable as empty, rather than throw a syntax error.
Revision 1.17 / (download) - annotate - [select for diffs], Thu Aug 7 11:14:49 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.16: +34 -3
lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Mon Jul 14 18:19:11 2003 UTC (8 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.15: +8 -8
lines
Diff to previous 1.15 (colored)
Pass WARNS=3
Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 17 15:57:52 2003 UTC (9 years, 1 month ago) by sjg
Branch: MAIN
Changes since 1.14: +3 -4
lines
Diff to previous 1.14 (colored)
math.h is not needed and including it introduces uncessary dependencies on some systems. PR: 21204
Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 30 18:03:09 2002 UTC (9 years, 4 months ago) by sjg
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.13: +4 -3
lines
Diff to previous 1.13 (colored)
Treat an unquoted '#' as end of line when parsing conditionals. This ensures that comments are ok at the end of line. PR: 19596 Reviewed by: christos
Revision 1.13 / (download) - annotate - [select for diffs], Sat Jun 15 18:24:56 2002 UTC (9 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.12: +48 -67
lines
Diff to previous 1.12 (colored)
Remove !__STDC__ stuff, de-__P(), ANSIfy, and de-register.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 14 20:44:26 2001 UTC (11 years, 4 months ago) by christos
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.11: +52 -3
lines
Diff to previous 1.11 (colored)
Provide a new .if commands(<target>) primitive that returns true if the target has commands associated with it.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Sep 18 20:35:11 1998 UTC (13 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
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,
netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
minoura-xpg4dl-base,
minoura-xpg4dl,
comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.10: +41 -37
lines
Diff to previous 1.10 (colored)
Fix conditional variable expression parsing (reported by cgd)
Revision 1.9.2.1 / (download) - annotate - [select for diffs], Fri May 8 06:12:06 1998 UTC (14 years ago) by mycroft
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002
Changes since 1.9: +67 -33
lines
Diff to previous 1.9 (colored) next main 1.10 (colored)
Sync with trunk, per request of christos.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Apr 1 14:18:10 1998 UTC (14 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.9: +67 -33
lines
Diff to previous 1.9 (colored)
Add conditional variable evaluation from Alistair Crooks.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Sep 28 03:31:01 1997 UTC (14 years, 8 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.8: +6 -2
lines
Diff to previous 1.8 (colored)
wrap #include <sys/cdefs.h>, __RCSID(...) stuff in #ifndef MAKE_BOOTSTRAP
Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 1 21:17:14 1997 UTC (14 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.7: +3 -2
lines
Diff to previous 1.7 (colored)
Add WARNS=1 RCSID police
Revision 1.6.6.1 / (download) - annotate - [select for diffs], Sun Jan 26 05:51:33 1997 UTC (15 years, 4 months ago) by rat
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.6: +27 -25
lines
Diff to previous 1.6 (colored) next main 1.7 (colored)
Update make(1) from trunk, by request from Christos Zoulas. Fixes many bugs.
Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sat Dec 28 04:40:57 1996 UTC (15 years, 5 months ago) by tls
Branch: WFJ-920714,
CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +125 -81
lines
Diff to previous 1.1.1.1 (colored)
Import 4.4BSD-Lite2 sources onto CSRG branch (already merged at head)
Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 6 17:59:02 1996 UTC (15 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.6: +27 -25
lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Wed Jun 14 15:18:58 1995 UTC (16 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-BETA,
netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Branch point for: netbsd-1-2
Changes since 1.5: +7 -2
lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Mon Jun 6 22:45:23 1994 UTC (17 years, 11 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: +20 -15
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:39 1994 UTC (18 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.3: +110 -73
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:45 1994 UTC (18 years, 4 months ago) by jtc
Branch: MAIN
Changes since 1.2: +3 -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:52 1993 UTC (18 years, 9 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.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: WFJ-920714,
CSRG
CVS Tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9,
netbsd-0-8,
WFJ-386bsd-01
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
initial import of 386bsd-0.1 sources
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
Initial revision