| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
really need it can find it in the devel/fmake port or pkg install fmake.
Note: This commit is orthogonal to the question 'can we fmake buildworld'.
Differential Revision: https://reviews.freebsd.org/D2840
Notes:
svn path=/head/; revision=284464
|
| |
|
|
| |
Notes:
svn path=/head/; revision=228992
|
| |
|
|
|
|
|
|
| |
that appears to be actually used. Without config.h included
cross-build of world failed (at least for ARM).
Notes:
svn path=/head/; revision=200630
|
| |
|
|
|
|
|
| |
Reviewed by: rodrigc
Notes:
svn path=/head/; revision=200417
|
| |
|
|
| |
Notes:
svn path=/head/; revision=199419
|
| |
|
|
| |
Notes:
svn path=/head/; revision=194797
|
| |
|
|
|
|
|
|
|
|
|
| |
explicitly rather than relying on name space pollution to pull it in
for us.
NB: The usage of INT_MIN is somewhat bogus and suspect to my eye, but this
commit doesn't address that issue.
Notes:
svn path=/head/; revision=176799
|
| |
|
|
|
|
|
|
|
| |
to has always been set to NULL for some time now.
Obtained from: DragonFlyBSD
Notes:
svn path=/head/; revision=146580
|
| |
|
|
|
|
|
| |
with %jd.
Notes:
svn path=/head/; revision=146577
|
| |
|
|
|
|
|
|
|
|
| |
in two places. While here don't bother returning anything from
Lst_Replace - nobody ever checks the return code.
Suggested by: jmallet
Notes:
svn path=/head/; revision=146338
|
| |
|
|
|
|
|
|
|
|
|
| |
where they actually belong to. Move the definitions of the strings
for special macros like "$*" from make.h to parse.h - they're used
only in the parser.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.211)
Notes:
svn path=/head/; revision=146066
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
part). Archive handling was broken at least since the move from BSD ar/ranlib
to GNU binutils because of the different archive format. This rewrite fixes
this by making make to carry around the defines for all formats (it supports)
so it can support all of them independent of the actually used one. The
supported formats are: traditional BSD (this seems to come from V7 at least,
short names only and __.SYMDEF), BSD4.4 (long names with #1/ and __.SYMDEF)
and SysV (extra name table and //). The only format not supported are broken
traditional archives where the member names are truncated to 15 characters.
Errors in the archive are not ignored anymore, but cause make to stop with
an error message. The command line option -A causes these errors to become
non-fatal. This is almost compatible with previous usage except for the
error message printed in any case.
Use a type-safe intrusive list for the archive cache.
Reviewed by: Max Okumoto <okumoto@ucsd.edu> (without new error handling)
Notes:
svn path=/head/; revision=144387
|
| |
|
|
|
|
|
|
|
| |
A Path is now a TAILQ of PathElements each of which just points to
a reference counted directory. Rename all functions dealing with Paths
from the Dir_ prefix to a Path_ prefix.
Notes:
svn path=/head/; revision=144020
|
| |
|
|
| |
Notes:
svn path=/head/; revision=143975
|
| |
|
|
|
|
|
|
|
|
|
| |
appropriate.
Patch: 7.147-7.151
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=143959
|
| |
|
|
| |
Notes:
svn path=/head/; revision=143657
|
| |
|
|
|
|
|
|
|
|
|
| |
size of the buffer we need, just allocate the possible maximum.
Patch: 7.117
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=143656
|
| |
|
|
| |
Notes:
svn path=/head/; revision=143105
|
| |
|
|
|
|
|
|
|
| |
is terminated with a slash. Although we are not System V, ar has
been configured to put that slash in. This format allows filenames
with trailing spaces.
Notes:
svn path=/head/; revision=143102
|
| |
|
|
|
|
|
|
|
|
|
| |
it to Var_Parse().
Patch: 7.85
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=142937
|
| |
|
|
|
|
|
|
|
|
|
| |
of a char *.
Patch: 7.49
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=142457
|
| |
|
|
|
|
|
| |
Noted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=142297
|
| |
|
|
|
|
|
|
| |
80 characters and slightly reorder functions to get rid of static
prototypes.
Notes:
svn path=/head/; revision=142173
|
| |
|
|
|
|
|
|
|
|
|
| |
when looking into an already hashed archive, the code tried to use
the name shortened to the maximum length allowed for the archive.
Unfortunately it passed a buffer of junk to the hashing routine when
the name actually wasn't too long. Theoretically this could lead to
a false positive.
Notes:
svn path=/head/; revision=142165
|
| |
|
|
|
|
|
|
|
| |
of empty lines in appropriate places.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141648
|
| |
|
|
|
|
|
|
|
| |
space after function names, remove spaces on emtpy lines.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141270
|
| |
|
|
|
|
|
| |
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141259
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
just before exiting (especially given the number of memory leaks) -
it just costs time.
Notes:
svn path=/head/; revision=138972
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
only in a couple of places and all of them except for one were easily
converted to use Lst_First/Lst_Succ. The one place is compatibility
mode in job.c where the it was used to advance to the next command on
each invocation of JobStart. For this case add a pointer to the node to
hold the currently executed command.
Notes:
svn path=/head/; revision=138564
|
| |
|
|
|
|
|
|
|
|
|
| |
requires to make a copy of the filename in ReadMakefile and to duplicate
two small functions in suff.c. This hopefully will go away when everything
is constified.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (partly)
Notes:
svn path=/head/; revision=138561
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Notes:
svn path=/head/; revision=138510
|
| |
|
|
|
|
|
| |
to change to size_t in a couple of other places too.
Notes:
svn path=/head/; revision=138346
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
the length of happens to be larger than MAXPATHLEN.
PR: bin/74368
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Obtained from: DragonFlyBSD
Notes:
svn path=/head/; revision=138196
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103503
|
| |
|
|
| |
Notes:
svn path=/head/; revision=100036
|
| |
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=98501
|
| |
|
|
|
|
|
| |
passing an argument to isspace(3).
Notes:
svn path=/head/; revision=98500
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Notes:
svn path=/head/; revision=94587
|