Age | Commit message (Collapse) | Author | Files | Lines |
|
string into the strcache. As a side-effect, many more structure members and
function arguments can/should be declared const.
As mentioned in the changelog, unfortunately measurement shows that this
change does not yet reduce memory. The problem is with secondary expansion:
because of this we store all the prerequisites in the string cache twice.
First we store the prerequisite string after initial expansion but before
secondary expansion, then we store each individual file after secondary
expansion and expand_deps(). I plan to change expand_deps() to be callable
in either context (eval or snap_deps) then have non-second-expansion
targets call expand_deps() during eval, so that we only need to store that
dependency list once.
|
|
A few changes from char* to void* where appropriate, and removing of
unnecessary casts.
Much more work on const-ifying the codebase. This round involves some code
changes to make it correct. NOTE!! There will almost certainly be problems
on the non-POSIX ports that will need to be addressed after the const changes
are finished: they will need to be const-ified properly and there may need to
be some changes to allocate memory, etc. as well.
The next (last?) big push for this, still to come, is const-ifying the
filenames in struct file, struct dep, etc. This will allow us to store file
names in the string cache and finally resolve Savannah bug #15182 (make uses
too much memory), among other advantages.
|
|
16304, 16468, 16577, 17701, 17880, 16051, 16652, 16698
Plus some from the mailing list.
Imported a patch from Eli to allow Cygwin builds to support DOS-style
pathnames.
|
|
- Add more warnings.
- Rename variables that mask out-scope vars with the same name.
- Remove all casts of return values from xmalloc, xrealloc, and alloca.
- Remove casts of the first argument to xrealloc.
- Convert all bcopy/bzero/bcmp invocations to use memcp/memmove/memset/memcmp.
|
|
|
|
|
|
Update NEWS docs.
Enhance the manual to use automake version.texi, and use the canonical
FSF copyright features and statement.
Some $(realpath ...) tests won't work on Windows; leave them out
The jobserver filedescriptor test might fail if some FDs are reserved,
so for now comment out that check.
|
|
|
|
|
|
Fix a file descriptor leak with make re-exec while using the jobserver.
Update some release information.
|
|
|
|
|
|
|
|
Revert a fix for $? including non-existent files as it shows a bug
in the Linux kernel build. Give them a release to fix this.
Add some changes from Eli Z. for Windows changes.
|
|
Handle SHELL set on the command line properly for windows.
|
|
Revert intermediate file free code.
Suppress some warnings in VMS builds.
|
|
GNITS check doesn't think we have updated it (only scans the first 15 lines).
|
|
- Fix handling of special targets like .SUFFIX for VMS insensitive targets.
- Don't make temporary batch files for -n. Make sure batch files are created
in text mode.
|
|
list. Fixes Savannah bug #15757.
|
|
expanding, and use that info when generating error messages instead of
the file info, where appropriate.
|
|
|
|
|
|
|
|
|
|
Added new file strcache.c to various non-UNIX makefiles and build scripts.
|
|
Savannah bug #15182, but not much uses it yet. Coming shortly.
- Added short-circuiting $(and ..) and $(or ...) functions.
|
|
|
|
|
|
Rewrite large chunks of the "Commands" section of the manual to better
describe then backslash-newline handling, the SHELL variable, etc.
|
|
|
|
Markus Maurhart.
|
|
- Updates to make.texi and make.1 and other documentation
- Some VMS patches
- Fix minor bugs reported on the mailing list and from Debian.
|
|
instead of leaving it "initialized" by whatever garbage happened to be on
the heap.
|
|
Use rm -f instead of rm in the test scripts. Fixes bug #15085.
|
|
|
|
pattern rule also makes.
|
|
double-colon entries only if it is the last one to be updated.
|
|
a variable ('simple', 'recursive', or 'undefined').
|
|
of directories that make searches for included makefiles.
|
|
Try to avoid extraneous rebuilds of template files.
|
|
I decided this feature was too impacting to make the permanent default
behavior. This set of changes makes the default behavior of make the
old behavior (no second expansion). If you want second expansion, you
must define the .SECONDEXPANSION: special target before the first target
that needs it.
This set of changes ONLY fixes explicit and static pattern rules to work
like this. Implicit rules still have second expansion enabled all the
time: I'll work on that next.
Note that there is still a backward-incompatibility: now to get the old
SysV behavior using $$@ etc. in the prerequisites list you need to set
.SECONDEXPANSION: as well.
|
|
the bug-make mailing list.
Fix Savannah bug # 14527: remember to free temporary line constructor
memory if the line is empty.
|
|
This should help the tests run more accurately on Windows (hopefully...)
|
|
|
|
Fix some regression tests to (hopefully) work better on Windows.
|
|
follow POSIX backslash/newline conventions.
Use a different method for testing the SHELL variable, which hopefully
will work better on non-UNIX systems.
|
|
is no longer filesystem-dependant.
|
|
|
|
jobs after a failed job.
- Enhancements to WINDOWS32 code from Eli Zaretskii.
- Add Microsoft Project files from J. Grant.
|
|
|