sjg
59b1f67a11
Fix merge problem with ts modifier and const correctness.
...
Need to pass nstr to VarModify.
2003-07-23 18:06:46 +00:00
wiz
aeb7902476
Bump date for tu addition; drop trailing space; sort a bit.
2003-07-16 11:34:16 +00:00
itojun
a5450bcac9
backout. make(1) either uses strcpy() to malloc'ed region (enough size),
...
or function signature prohibits us from using strlcpy().
2003-07-16 07:16:24 +00:00
itojun
06ded73d5a
we can't use snprintf here, as sizeof(pathname) is unknown
2003-07-16 07:11:29 +00:00
itojun
bd8e1178ee
strlcpy (fixed)
2003-07-15 05:39:28 +00:00
itojun
885eddc2ed
strlcpy
2003-07-15 05:38:24 +00:00
sjg
8186ad8ad9
Fix a couple of missing UNCONST's that hit bmake.
2003-07-14 21:13:48 +00:00
sjg
f1cf540a8d
Add a :ts[c] modifier to allow controlling the separator used between
...
words in a variable expansion. If 'c' is omitted no separator is used.
2003-07-14 20:39:20 +00:00
christos
6a7d20bb25
Pass WARNS=3
2003-07-14 18:19:11 +00:00
wiz
95ad95491e
Fix two minor whitespace problems.
2003-07-14 08:55:18 +00:00
wiz
664b3c96d5
Misc mdoc fixes (mostly quoting).
2003-06-26 18:21:45 +00:00
matt
78735dbbe5
For a library, only check in cmtime (children's modification) if there are
...
children. This prevents spurious out-of-date failures when you have a
rules checking for a library's existance (and no children).
2003-06-02 21:49:00 +00:00
wiz
7fbb5054ee
New sentence, new line; bump date for last.
2003-05-23 18:15:17 +00:00
christos
7ce8fa7806
PR/10917: John Hawkinson: Document $MAKE and say which one we want to be using.
2003-05-23 17:25:10 +00:00
christos
11dc6dfd26
PR/19781: Thomas Klausner: make error message not helpful on unclosed ${var:foo
2003-05-22 18:20:10 +00:00
jmmv
afa06162bc
Remove extra space in usage message.
2003-05-10 19:21:40 +00:00
sjg
414c86b6d1
math.h is not needed and including it introduces uncessary dependencies
...
on some systems.
PR: 21204
2003-04-17 15:57:52 +00:00
wiz
7b31891279
Bump date for last.
2003-04-16 09:44:07 +00:00
christos
9d921a9a8d
PR/1523: Chris Demetriou: don't count a library as built, if there is no way
...
to build it.
2003-04-08 17:46:59 +00:00
jrf
9350d70e69
Added MAKESYSPATH environment variable as per jmmv's suggestion in
...
PR 18030
2003-04-01 14:00:58 +00:00
sjg
62d1f2d214
Comment in ParseDoSrc was no longer accurate.
...
Explain the difference between handling of src node
in ParseDoSpecialSrc cf. ParseDoSrc.
2003-03-23 22:48:35 +00:00
sjg
50ca80687f
We are supposed to pass the node for our expanded src to ParseAddDep
...
for each entry in allsrc. Just like ParseDoSrc. The only difference
in handling these special expanded srcs in in the call to ParseLinkSrc.
2003-03-23 05:11:22 +00:00
sjg
77076c2d51
ParseDoSpecialSrc: since we're already being called for each target
...
make it depend only on the expansion of src that matches.
Otherwise given:
a b c: ${.TARGET}.x
a b and c will each depend on a.x, b.x and c.x
Further, we only _need_ to do ParseDoSpecialSrc if a .WAIT appears
in the source list - so establish that up front.
2003-03-22 23:41:02 +00:00
christos
bef3a7f735
don't mess with suffix rules.
2003-03-21 19:14:53 +00:00
sjg
9db7e8cb6d
Missed a s/tn->name/pref/
2003-03-21 16:48:21 +00:00
sjg
0220f09cfc
Add ParseDoSpecialSrc() to handle srcs that refer to ${.TARGET} etc.
...
These are expanded for each target (set in its own context) and
ParseDoSrc() is then called for the expanded src.
PR: 20828
Reviewed by: christos
2003-03-21 15:52:57 +00:00
thorpej
c5007c219b
Add a -X option, which prevents make(1) from putting variables
...
set on the command line into the environment individually. This
can be useful on systems which have a tight limit on the size
of the argument space.
2003-03-14 05:19:43 +00:00
sjg
cc9d340ac8
Add -B to MAKEFLAGS so that it propagates to sub-makes.
...
This allows one to use -j1 -B at some point in a tree to
overcome a -jN (which is the main reason one would use -B).
2003-02-26 08:59:12 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
perry
8a49ec08e4
"Utilize" has exactly the same meaning as "use," but it is more
...
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
wiz
9115df8c49
success, not sucess. Noted by mjl.
2003-01-28 22:35:02 +00:00
uebayasi
3d7c8fcb51
Be more specific how to call arguments of modifiers.
...
Reviewed By: wiz
2003-01-09 01:22:30 +00:00
mjl
037d3d9eb9
Tyop fixes
2003-01-03 14:11:18 +00:00
sjg
32a3b241bf
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
2002-12-30 18:03:09 +00:00
gson
936f6a1c3c
When JobExec() was called from JobRestartJobs() via JobRestart(), it
...
executed the make job with sigprocmask(SIG_BLOCK) in effect for a
number of signals including SIGCHLD. This caused recursive submakes
of the make process in question not to receive SIGCHLDs when their
jobs exited. This was a second, independent cause of bin/18895 in
addition to the race condition already fixed. Fixed by unblocking all
signals before executing the job.
2002-12-09 01:23:53 +00:00
scw
ffeb337cd7
Lst exp -> Lst explist, to avoid warnings about gcc-current's
...
builtin exp() function.
2002-12-05 15:56:52 +00:00
sjg
ecdc5fc7ad
Parse_DoVar: don't free cp until we are done with it!
...
Reviewed by: hannken
2002-12-01 05:53:30 +00:00
wiz
80dfe4a842
Bump date for .PATH description; begin sentence with upper case letter;
...
new sentence, new line.
2002-11-29 19:10:25 +00:00
sjg
78610dd53d
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.
2002-11-26 06:12:59 +00:00
enami
b3e831985f
Call fcntl() on the right file descriptors.
2002-11-26 05:30:01 +00:00
gson
96f1cc8289
Fixed race condition that would cause make -j to pause for five
...
seconds if a SIGCHLD arrived while make was not blocked in poll(),
by making the SIGCHLD handler write to a pipe included in the poll.
Avoided the need to implement a duplicate fix for the USE_SELECT case
by emulating poll() in terms of select() when USE_SELECT is defined.
Fixes bin/18895.
2002-11-16 22:22:23 +00:00
perry
2bf91ba1e8
environment variables, not environmental variables
2002-11-02 04:13:41 +00:00
grant
be8ae688ae
New sentence, new line.
2002-09-30 11:08:56 +00:00
wiz
09ee17ab5a
Fix an Xr, add a comma and join two short lines. In short, minor changes :)
2002-09-24 15:31:30 +00:00
christos
d72855f015
add missing Lt.
2002-09-24 15:19:26 +00:00
lukem
ad5f5e697c
HP/UX fixes from Giles Lean:
...
- consistently support __hpux (which the HP compilers define) as well
as __hpux__ (not sure which compilers set this, but retained anyway)
- fix a typo in the definition of signal(). arguably the codebase should
just be converted to sigaction()...
2002-09-22 01:19:08 +00:00
thorpej
34269821f1
If MAKE_BOOTSTRAP and HAVE_CONFIG_H, pull in "config.h" so that
...
we get the correct _PATH_BSHELL definition.
2002-09-14 15:23:49 +00:00
wiz
3c7935455d
End some sentences with a dot. bin/17987 by Julio Merino.
2002-08-19 11:14:23 +00:00
wiz
86ebbc3a0e
Remove !__STDC__ stuff, de-__P(), ANSIfy, and de-register.
2002-06-15 18:24:55 +00:00
itojun
f51456c273
err/errx/warn/warnx do not need \n at the end
2002-06-11 06:06:18 +00:00