| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
files and we are going to factor this out.
Patch: 7.199 (slightly changed)
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=146056
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
only one variable and Var_Subst() which substitutes all. Split out the
test whether a variable should not be expanded into match_var().
Make access to the input string consistently using str[]. Remove two
unused functions: Var_GetTail() and Var_GetHead().
Patches: 7.184-7.189
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=146027
|
| |
|
|
| |
Notes:
svn path=/head/; revision=143703
|
| |
|
|
|
|
|
| |
buffer without using an extra local variable.
Notes:
svn path=/head/; revision=143291
|
| |
|
|
| |
Notes:
svn path=/head/; revision=143290
|
| |
|
|
| |
Notes:
svn path=/head/; revision=143289
|
| |
|
|
|
|
|
|
|
|
|
| |
of a char *.
Patch: 7.49
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=142457
|
| |
|
|
|
|
|
|
| |
fix the prototype for Compat_RunCommand to take the actual argument
types instead of void *.
Notes:
svn path=/head/; revision=142375
|
| |
|
|
|
|
|
|
|
| |
of empty lines in appropriate places.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141648
|
| |
|
|
|
|
|
| |
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141272
|
| |
|
|
|
|
|
|
|
| |
space after function names, remove spaces on emtpy lines.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141270
|
| |
|
|
|
|
|
|
|
|
|
|
| |
was non-NULL. This let's us eliminated an otherwise unused variable.
shellneeded can never return -1 so there is no need to check for it and
hence no need for a variable to hold the returned value.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (partly)
Notes:
svn path=/head/; revision=141269
|
| |
|
|
|
|
|
|
|
| |
paranthesis.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141253
|
| |
|
|
|
|
|
| |
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141252
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that get included just where they are needed. All headers include the
headers that they need to compile (just with an empty .c file). Sort
includes alphabetically where apropriate and fix some duplicate commenting
for struct Job, struct GNode and struct Shell by removing one version and
inlining the comments into the structure declaration (the comments have been
somewhat outdated).
This patch does not contain functional changes (checked with md5).
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141104
|
| |
|
|
|
|
|
|
|
|
|
| |
now that their size is only two pointers. This eliminates a lot of calls
to Lst_Init and from there to malloc together with many calls to
Lst_Destroy (in places where the list is obviously empty). This also
reduces the chance to leave a list uninitilized so we can remove more
NULL pointer checks and probably eliminates a couple of memory leaks.
Notes:
svn path=/head/; revision=138916
|
| |
|
|
|
|
|
|
|
| |
the structs itself not of pointers to them. This will simplify constification.
Checked by: diff on the object files
Notes:
svn path=/head/; revision=138512
|
| |
|
|
|
|
|
|
|
| |
pointer constant as NULL.
Checked by: diff -r on the object files before and after
Notes:
svn path=/head/; revision=138264
|
| |
|
|
|
|
|
|
|
|
|
| |
and the sizeof operator, missing empty lines, void casts, extra empty lines.
Checked by: diff on make *.o lst.lib/*.o
Submitted by: Max Okumoto <okumoto@soe.ucsd.edu> (partly)
Notes:
svn path=/head/; revision=138232
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
from the beginning). Make used to handle all its interrupt-time stuff
directly from the signal handler, including calls to printf, accessing
global data and so on. This is of course wrong and could provoke a core
dump when interrupting make. Just set a flag in the signal handler and
do everything else from the main thread.
PR: bin/29103
Notes:
svn path=/head/; revision=137605
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
the compat mode of operation and the != operator.
While here, fixed a bug in the .SHELL directive processing
when only the name= attribute is specified and no built-in
shell matches this name, causing null pointer dereference.
Obtained from: NetBSD (except for bugs)
Notes:
svn path=/head/; revision=136840
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to be executed even when -n is given on the command line to make. This is
very handy for calls to submakes.
This is slightly changed from the original patch as obtained from NetBSD.
The NetBSD variant prints lines which have both '+' and '@' when -n
is specified. The commited version always obeys '@'.
Bump MAKE_VERSION so Makefiles can use this conditionally.
PR: standards/66357 (partly)
Submitted by: Mark Baushke <mdb@juniper.net>
Obtained from: NetBSD
Notes:
svn path=/head/; revision=132839
|
| |
|
|
|
|
|
| |
PR: 48210
Notes:
svn path=/head/; revision=120718
|
| |
|
|
|
|
|
|
|
| |
might help on the systems it could possibly be used as a bandaid for. In
fact, the only thing it's useful for is instrumenting free(3) calls, and in
that capacity, it's better served as a local patch, than a public wrapper.
Notes:
svn path=/head/; revision=105826
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
documentation already adequatedly existed in the description in most
cases. Where it did not, it was added. If no documentation existed
beforehand, then none was added. Some unused dummies for use in the
traversal functions were marked as __unused during the conversion.
Occasionally, local style fixes were applied to lines already being
modified or influenced.
Now make(1) should always build with WARNS=3.
Notes:
svn path=/head/; revision=104696
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
renaming variables to not shadow libc functions or greater scope locals. Kinda
makes one wonder if the extern ones weren't meant in some of these places :)
The only thing I'd still like to do WRT this is possibly combine rstat and
status in compat.c -- that should be fine, as I do not think the codepaths
will want both around at once.
Sponsored by: Bright Path Solutions
Notes:
svn path=/head/; revision=104121
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
in compat.c which doesn't even have preprocessor-conditional-hidden support
code, and add a debugging statement where we might end up with a nil list
somehow, but where I doubt it.
First confirmed userland kill for Flexelint.
Sponsored by: Bright Path Solutions
Notes:
svn path=/head/; revision=104108
|
| |
|
|
|
|
|
|
| |
is merely printf() but to stderr. This takes care of the caveat which lead
to the use of a vararg macro -- getting everything to stderr.
Notes:
svn path=/head/; revision=103545
|
| |
|
|
|
|
|
|
|
|
|
|
| |
variable length arguments to a macro. Bump version as this makes DEBUG
statements *always* go to stderr rather than sometimes stdout. There are
a few stragglers, which I will take care of as soon as I can. Mostly these
relate to the need-for-death-of some of the remote job code.
Nearby stylistic nits and XXX added/fixed where appropriate.
Notes:
svn path=/head/; revision=103508
|
| |
|
|
|
|
|
|
|
| |
of ReadMakefile as __unused, it's there because this function is used by
the abstracted list interface which normally deals with item handlers which
take two arguments. Add a missing static prototype.
Notes:
svn path=/head/; revision=98138
|
| |
|
|
|
|
|
|
|
| |
and is insecure.
Requested by: bde
Notes:
svn path=/head/; revision=97251
|
| |
|
|
|
|
|
| |
Bump MAKE_VERSION to 5200205221.
Notes:
svn path=/head/; revision=97122
|
| |
|
|
| |
Notes:
svn path=/head/; revision=94589
|
| |
|
|
| |
Notes:
svn path=/head/; revision=94587
|
| |
|
|
| |
Notes:
svn path=/head/; revision=94584
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92921
|
| |
|
|
|
|
|
|
|
|
| |
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.
Submitted by: David Hill <david@phobia.ms>
Notes:
svn path=/head/; revision=80381
|
| |
|
|
|
|
|
|
|
| |
rip out ClientData/Address pointers and use standard types.
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=69531
|
| |
|
|
|
|
|
|
|
| |
of NIL, NILLST, NILLGNODE, etc. with NULL.
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=69527
|
| |
|
|
| |
Notes:
svn path=/head/; revision=62833
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to override @-prefixed commands in Makefiles. It is especially useful for
debugging ports and/or complex Makefiles in such a manner that is basically
a last resort, but is quite effective if the output is well-handled.
I'll update the manpage after dinner. ;-)
Better patch submitted by: steve
Reviewed by: phk, steve, chuckr, obrien,
Lyndon Nerenberg <lyndon@orthanc.ab.ca>
Notes:
svn path=/head/; revision=60569
|
| |
|
|
|
|
|
| |
Minor warnings in tip corrected.
Notes:
svn path=/head/; revision=59217
|
| |
|
|
| |
Notes:
svn path=/head/; revision=51150
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD, sometimes indirected from NetBSD; myself
Notes:
svn path=/head/; revision=49938
|
| |
|
|
|
|
|
|
| |
the only possible error is "command not found". This makes debugging of
messages such as "/bin/sh: not found" less common...
Notes:
svn path=/head/; revision=49330
|
| |
|
|
|
|
|
|
| |
PR: 6790
Submitted by: nsmart <njs3@doc.ic.ac.uk>
Notes:
svn path=/head/; revision=38971
|
| |
|
|
| |
Notes:
svn path=/head/; revision=38520
|
| |
|
|
|
|
|
|
| |
is supposed to walk an arry of character pointers, not an array of
characters.
Notes:
svn path=/head/; revision=35993
|
| |
|
|
|
|
|
|
|
|
| |
and not directly by make(1).
PR: bin/6550
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org & wosch
Notes:
svn path=/head/; revision=35968
|