| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Submitted by: jmallett
Approved by: re (bmah)
|
|
|
|
|
|
| |
"greedy" with respect to finding the dependency operators.
Approved by: re
|
|
|
|
|
|
|
|
|
|
|
|
| |
to Fatal errors, because the logic that we use to try to continue is far
too broken, and makes things look and act weird, because we end up pointing
past the end of a buffer boundry into freed memory in the caller, as we
don't come close to setting the lengthPtr to a sane value.
Reviewed by: make@
(This only changes failure cases which would have died horrid deaths to
explicit clean death failure cases.)
|
|
|
|
|
| |
to defined(), e.g., ``.if 1'' is equivalent to ``.if defined(1)'',
which is only true when the ${1} variable is defined.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't gratuitously pipe thru a cat(1) if NODOCCOMPRESS.
Only create _stamp.extra when necessary.
Get rid of SOELIMPP and OBJS.
Use Groff version of soelim(1); we need its -I option
for the following to work.
Don't needlessly chdir to SRCDIR. Only a few documents
need CD_HACK, and those that need it either use refer(1)
or .PSPIC macro which internally uses the .psbb call.
|
| |
|
|
|
|
|
|
|
|
| |
conditional must always be a variable expansion.
Obtained from: PMake
Do not lie that debugging .for loops is a no-op.
|
|
|
|
|
|
|
|
| |
to var_modify.c, for readability. constify some low hanging fruit (string
manipulation functions) and the upper layers appropriately. No longer use
the private strstr(3) implementation, while changing string code.
Tested by: lots of successful make buildworld.
|
|
|
|
|
|
|
|
| |
want to check var[1], not val[1].
Submitted by: Mark Valentine <mark@thuvia.demon.co.uk>
Pointed out by: sam
Pointy hat to: jmallett
|
|
|
|
|
|
|
| |
[1-char] variable. Don't just automatically expand something which
starts with that character.
Obtained from: OpenBSD [3 years ago!]
|
|
|
|
|
|
|
|
| |
data that will be modified. And do the appropriate thing now and free the
v->name buffer along with other relinquished memory.
XXX There is duplication here of destroying a Var, which is probably bogus,
and probably missed in a few places.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
PR: 32759
Submitted by: Mark Valentine
Reviewed by: Matthew Emmerton" <matt@gsicomp.on.ca>
MFC after: 15 days
|
|
|
|
|
|
| |
compatability-geared util.c. These are things like message printers
and the PrintAddr function for traversing lists. Other general-purpose
utilities inside make(1) can go here, in time.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
defined to __RCSID when bootstrapping, by the Makefile, but this change is
for consistency
|
|
|
|
| |
happily fit into headers.
|
| |
|
|
|
|
|
|
| |
operate on the correct data (properly).
Tracked down by: Dan Nelson
|
|
|
|
|
|
|
|
|
| |
instead of polling for them.
Unfortunately we cannot enable it yet because it panics the kernel
somewhere in kqueue.
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
|
|
|
|
|
|
|
|
|
| |
there from being more than 500 processes forked by make(1), to prevent a
forkbomb from happening, in a dumb and mechanical way.
PR: alane
Submitted by: bin/42772
MFC after: 2 weeks
|
|
|
|
| |
disappear.
|
|
|
|
| |
compatible mode, as far as I know, since we use it...
|
| |
|
|
|
|
| |
Sponsored by: Bright Path Solutions
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Sponsored by: Bright Path Solutions
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Spotted by: SPARC64 make WARNS=3
Sponsored by: Rachel Hestilow <rachel@jerkcity.com>
|
|
|
|
|
|
| |
the same, but uses a non-extension option.
Sponsored by: Rachel Hestilow <rachel@jerkcity.com>
|
|
|
|
| |
Sponsored by: Rachel Hestilow <rachel@jerkcity.com>
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
(Read: More commits to come).
MFC in: 4 days.
|
|
|
|
|
|
|
| |
regular expression instead of an obsolete regular expression.
Also, cross-reference re_format(7) instead of regex(3).
MFC after: 3 days
|
|
|
|
|
|
|
| |
which fails the make tests (doesn't understand ${notdef:U}) and therefore
fails on __FBSDID in usr.bin/make/*. -DBOOTSTRAPPING is no help here since
this is before we are using the new share/mk/* files, and it would conflict
with the builtin -DBOOTSTRAPPING support later.. so use a different flag.
|
|
|
|
|
|
|
|
| |
this particular GNU flag. It changes into the given directory for the
operation in question. This just goes into said directory at the time of
parsing the argument for getopt(3).
Submitted by: Rachel Hestilow <rachel@jerkcity.com>
|
|
|
|
|
|
| |
PR: bin/6612
Obtained from: OpenBSD
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
Spotted by: patrick@godloveya.com, naddy, -Wuninitialized
This segfaulted alpha and sparc64; i386 had this magically zeroed.
|
| |
|
|
|
|
|
|
|
| |
as wide-reaching nor intensive as NetBSD's similar, but the warning uses the
same text.
Inspired by: NetBSD
|
|
|
|
|
|
|
|
|
| |
we use in sublte ways with relative paths. Until they can be resolved,
back out these changes and put a big comment about why using realpath is
busted.
Approved by: jmallett
MFC After: 100 millifortnights
|
| |
|
| |
|
|
|
|
|
|
|
| |
an example Makefile I was showing someone just last night to report a variable
as being recursive.
Obtained from: NetBSD
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
| |
Obtained from: NetBSD
|