| 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
|
| |
|
|
|
|
|
|
|
| |
the string. Until now this caused no harm, because the buffer code used
to tack two NULs onto buffers. With the new, soon to come, parsing code
this isn't the case anymore in all cases, so fix this.
Notes:
svn path=/head/; revision=146625
|
| |
|
|
|
|
|
|
|
| |
to has always been set to NULL for some time now.
Obtained from: DragonFlyBSD
Notes:
svn path=/head/; revision=146580
|
| |
|
|
|
|
|
|
|
| |
get rid of sprite.h.
Obtained from: DragonFlyBSD
Notes:
svn path=/head/; revision=146177
|
| |
|
|
|
|
|
|
|
| |
to get rid of a const warning.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.244)
Notes:
svn path=/head/; revision=146154
|
| |
|
|
|
|
|
| |
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.243)
Notes:
svn path=/head/; revision=146153
|
| |
|
|
| |
Notes:
svn path=/head/; revision=146152
|
| |
|
|
|
|
|
|
| |
for the current make. This does not override flags specified on the
command line and these settings are not passed to sub-makes.
Notes:
svn path=/head/; revision=145679
|
| |
|
|
|
|
|
|
| |
by default. This should fix the problem of getting lots of errors
when building with an up-to-date make and old *.mk files.
Notes:
svn path=/head/; revision=145627
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on every line that starts with a dot use a minimal perfect hash
function and a single strcmp() on the first word after the dot
to find out whether it is really a directive call and, if yes, which
one. Then directly dispatch to a handler function for that directive
(or fall through to the dependency handling code). This makes the
directive parse a little bit more strict about the syntax: the directive
word must be followed by a character that is not alphanumerical and not
an underline (making .undefFOO illegal); .endif and .else can only be
followed by comments.
Notes:
svn path=/head/; revision=144894
|
| |
|
|
| |
Notes:
svn path=/head/; revision=144473
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
module. The only module accessing it (the current line number) was the
condition module, so pass the current line number as a function argument.
Centralize the pushing of new input sources into one function
ParsePushInput() and rename the function handling the popping from ParseEOF()
to ParsePopInput(). Make the entire thing a little bit clearer, by holding
the current input source in the top element of the stack instead of
using extra variables for this. Use a type-safe intrusive list for the
input stack.
Notes:
svn path=/head/; revision=144341
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
appropriate.
Patch: 7.147-7.151
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=143959
|
| |
|
|
|
|
|
|
| |
constification und simplifies the code because the one-liner
predicates can be inlined into the code.
Notes:
svn path=/head/; revision=143810
|
| |
|
|
|
|
|
|
|
|
|
| |
it to Var_Parse().
Patch: 7.85
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=142937
|
| |
|
|
|
|
|
|
|
| |
and use it thoughout the code.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141436
|
| |
|
|
| |
Notes:
svn path=/head/; revision=141255
|
| |
|
|
|
|
|
|
|
| |
pointers to these functions is easier.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141254
|
| |
|
|
|
|
|
| |
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141192
|
| |
|
|
|
|
|
|
|
|
| |
itself. This will ease constification (think of what 'const Ptr foo'
means if Ptr is a pointer to a struct).
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141133
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
slightly different from the patch in the PR. The problem is, that
make handles .if clauses inside false .if clauses simply by
counting them - it doesn't put them onto the conditional stack, nor even
parses them so we need an extra line number stack for these ifs.
PR: bin/61257
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Notes:
svn path=/head/; revision=132439
|
| |
|
|
|
|
|
|
|
| |
not define.
Obtained From: NetBSD (rev 1.18; sjg)
Notes:
svn path=/head/; revision=119818
|
| |
|
|
|
|
|
|
| |
Reminded by: bde
In memory of: alane
Notes:
svn path=/head/; revision=117226
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
passing an argument to isspace(3).
Notes:
svn path=/head/; revision=98500
|
| |
|
|
| |
Notes:
svn path=/head/; revision=94589
|
| |
|
|
| |
Notes:
svn path=/head/; revision=94587
|
| |
|
|
| |
Notes:
svn path=/head/; revision=94584
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92921
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
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
|
| |
|
|
| |
Notes:
svn path=/head/; revision=49658
|
| |
|
|
|
|
|
| |
Reported-by: asami
Notes:
svn path=/head/; revision=47494
|
| |
|
|
| |
Notes:
svn path=/head/; revision=23006
|
| |
|
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
Notes:
svn path=/head/; revision=21673
|