summaryrefslogtreecommitdiff
path: root/variable.c
Commit message (Collapse)AuthorAgeFilesLines
* Another round of cleanups:Paul Smith2006-04-091-23/+22
| | | | | | | | - 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.
* Some test updates for Windows.Paul Smith2006-03-081-1/+2
| | | | Handle SHELL set on the command line properly for windows.
* Fix a potential core dump when merging aliases. Might fix bug #15818.Paul Smith2006-02-211-8/+9
| | | | | Revert intermediate file free code. Suppress some warnings in VMS builds.
* Make sure we don't introduce a circularity into the variable set linkedPaul Smith2006-02-171-7/+13
| | | | list. Fixes Savannah bug #15757.
* Some memory leak cleanups (found with valgrind).Paul Smith2006-02-141-8/+17
|
* Last of the copyright updates.Paul Smith2006-02-111-1/+2
|
* Update copyright and license notices on all files.Paul Smith2006-02-111-14/+11
| | | | Added new file strcache.c to various non-UNIX makefiles and build scripts.
* Make sure to assign a boolean value to a 1-bit bitfield. Reported onPaul Smith2005-09-261-1/+1
| | | | | | | the bug-make mailing list. Fix Savannah bug # 14527: remember to free temporary line constructor memory if the line is empty.
* Fix Savannah bug #11913: ensure that scopes such as foreach, etc. takePaul Smith2005-06-091-17/+56
| | | | | precedence over the global scope when they're used in a global context (such as an eval).
* Fix some Savannah bugs.Paul Smith2005-04-081-2/+2
| | | | | Updates to docs (still need more work here) and NEWS file. New language.
* * New feature: -L optionPaul Smith2005-02-281-1/+1
| | | | | | | | * New function: $(info ...) * Disallow $(eval ...) to create prereq relationships inside command scripts (caused core dumps) * Try to allow more tests to succeed in Windows/DOS by sanitizing CRLF and \ * Various bug fixes and code cleanups (see the ChangeLog entry)
* Fix bug with SHELL handling: make sure the variable struct is initialized.Paul Smith2004-12-051-9/+7
|
* Fix for bug #1276: Handle SHELL according to POSIX requirements.Paul Smith2004-11-281-9/+17
| | | | | | | | | | | POSIX requires that the value of SHELL in the makefile NOT be exported to sub-commands. Instead, the value in the environment when make was invoked should be passed to the environment of sub-commands. Note that make still uses SHELL to _run_ sub-commands; it just doesn't change the value of the SHELL variable in the environment of sub-commands. As an extension to POSIX, if the makefile explicitly exports SHELL then GNU make _will_ use it in the environment of sub-commands.
* Moved expansion of simple pattern-specific variables from the rebuild stageBoris Kolpackov2004-10-051-4/+19
| | | | to the read stage.
* bugfix for exported pattern-specific variablesBoris Kolpackov2004-09-271-4/+11
|
* Numerous updates and bug fixes.Paul Smith2004-03-221-0/+5
| | | | | | A number of W32 cleanups from J.Grant. A number of OS/2 cleanups from Andreas Buening. Various random bug fixes.
* - Fix bug #1405: allow multiple pattern-specific variables to match a target.Paul Smith2003-05-021-20/+155
| | | | | - Fix some uncleanliness about the implementation of patterns-specific vars. - Some enhancements to the OS/2 port.
* Add support for OS/2, contributed by Andreas Buening <andreas.buening@nexgo.de>Paul Smith2003-03-241-3/+53
| | | | Also a small patch from Hartmut Becker <Hartmut.Becker@compaq.com> for VMS.
* Convert the source code to use ANSI C style function definitions andPaul Smith2002-10-141-82/+55
| | | | | | | | enable the automake ansi2knr capability. Right now this doesn't quite build using a K&R compiler because of a problem with the loadavg test program, but the rest of the code works. I'm asking the automake list about this problem.
* Fix K&R-isms found on SunOS 4.1.4 builds.Paul Smith2002-10-041-3/+7
|
* Fix bug #940 (from the Savannah bug tracker): make sure that target-Paul Smith2002-09-171-4/+18
| | | | | specific variables work correctly in conjunction with double-colon targets.
* Change the version.Paul Smith2002-08-081-1/+0
| | | | | | Update to require new gettext. Change hash.c to by K&R. Redo some strings to make i18n simpler.
* Incorporate some VMS fixes.Paul Smith2002-08-081-11/+40
| | | | | | | Add -B option docs. Add .VARIABLES variable. Add a few new tests. Add a new translation: Swedish
* New variables, .VARIABLES and .TARGETS.Paul Smith2002-08-011-12/+83
|
* Install Greg McGary's patches to port the id-utils hashing functions toPaul Smith2002-07-111-305/+200
| | | | | | | GNU make. Also he provides some other performance fixups after doing some profiling of make on large makefiles. Modify the test suite to allow the use of Valgrind to find memory problems.
* Major updates in preparation for 3.80.Paul Smith2002-07-081-140/+176
| | | | | | | New version of the manual, put into the doc subdir. Enhancements: $(eval ...) and $(value ...) functions, various bug fixes, etc. See the ChangeLog. More to come.
* Fix Debian bug #144306: pass target-specific variables into the environmentPaul Smith2002-05-101-1/+2
| | | | | | | | | | properly. Fix configure: allow cross-compilation; fix getloadavg (still needs _lots_ of work!) Let $(call ...) functions to be self-referencing. Lets us do transitive closures, for example.
* Installed the da.po (Danish) translation file.Paul Smith2001-08-191-1/+2
| | | | Fixed some translation string issues.
* Fix for EINTR problems when using jobserver.Paul Smith2001-06-011-0/+1
| | | | | | New translation files. Fix for @+ inside define macros being applied too widely. Various other bug fixes.
* Some bug fixes and document updates.Paul Smith2001-01-211-95/+67
|
* Fix PR/1831. See the ChangeLog.Paul Smith2000-08-211-50/+57
|
* * Minor code cleanupsPaul Smith2000-07-071-3/+0
| | | | * Fix for PR/1811, from Paul Eggert.
* * Lots of bug fixes and cleanup; new i18n files, etc.Paul Smith2000-06-071-1/+1
|
* * A large number of fixes/enhancements. See the ChangeLog.Paul Smith2000-03-271-14/+24
| | | | * Added a new version of the German translation file.
* * Fix for dir.c from Andreas Schwab.filedef-cleanup-basePaul Smith2000-02-071-3/+15
| | | | | | * Fix += target-specific variables: if your direct parent doesn't have a setting for the variable but his parent does, you'll get recursive expansion errors.
* * Fix PR/1407.Paul Smith2000-02-051-50/+67
| | | | * Keep filename/lineno information for variables, for debugging.
* * Merge VMS patches by Hartmut Becker.Paul Smith2000-01-221-0/+67
|
* * Fix problems with double-colon rules.Paul Smith1999-12-181-1/+1
| | | | * Fix problems with INTERMEDIATE rules.
* * Various changes and fixes. See ChangeLog.Paul Smith1999-12-081-0/+1
|
* * Many cleanups and bugfixes.Paul Smith1999-11-171-1/+15
| | | | * New handling of += in target-specific variables.
* * Fix PR/1394.Paul Smith1999-10-151-3/+3
| | | | | * Apply changes from Paul Eggert. * Many other cleanups (index/rindex --> strchr/strrchr, etc.)
* * Fix test suite on DOS (PR/1344)Paul Smith1999-10-081-2/+1
| | | | * Fix target-specific vars bug (PR/1378)
* * A few cleanups, and 3.77.94 release.Paul Smith1999-08-251-2/+1
|
* * Various changes.Paul Smith1999-08-221-5/+7
|
* * Add gettext macros to start i18n support.Paul Smith1999-07-281-8/+8
|
* * Add configure option to enable dmalloc library.Paul Smith1999-07-211-6/+6
| | | | * Various code cleanups.
* * Various bug fixes.Paul Smith1999-07-161-2/+2
|
* * Update FSF address info in copyright notices.Paul Smith1999-03-051-1/+2
| | | | | | | | * Update maintainers build process; remove GNUmakefile. Require builders to run automake && autoreconf by hand. * Use AC_SUBST_FILE to get the maintMakefile included, rather than GNU make's include directive, which conflicts with automake 1.4's include directive.
* Fix a bug where conditional variables weren't being expanded correctly.Paul Smith1999-03-041-0/+1
|
* * New feature: .LIBPATTERNS controls the way -lfoo dependencies are expanded.Paul Smith1999-02-221-3/+10
| | | | | | | | * A few tweaks to the system glob test, after trying it on a system where it's true. * Installed patches to archive handling for AIX 4.3 big archives. * Fix a memory stomp in target-specific variables. * Fix a memory leak in foreach functions.