summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-08-29Save strings we're expanding in case an embedded eval causes themPaul Smith4-36/+44
to be freed (if they're the value of a variable that's reset for example). See Savannah patch #7534
2011-06-12Fix another error related to whitespace handling in archives.Paul Smith5-5/+30
Newer version of VMS support strncasecmp() so update the config.h.
2011-05-07Ensure private variables are not used when appending target-specificPaul Smith4-6/+27
variables. Fixes Savannah bug #32872.
2011-05-07Inverted the boolean test from what I wanted it to be. Added aPaul Smith4-1/+22
regression test to make sure this continues to work.
2011-05-07 job.c (construct_command_argv_internal): Don't assume shellflagsEli Zaretskii2-7/+23
is always non-NULL. Escape-protect characters special to the shell when copying the value of SHELL into new_line. Fixes Savannah bug #23922.
2011-05-02Updated documentation to fix Savannah bugs #32058 and #31582Paul Smith2-7/+23
2011-05-02Use the same algorithm for counting the number of words to sort as wePaul Smith4-65/+58
use to break up the list of words, so we're sure to get the same number. Fixes Savannah bug #33125
2011-05-02Extern the global declaration of stack_limit. Fixes Savannah bug #32753Paul Smith2-1/+6
2011-05-02Avoid invoking glob() unless the filename has potential globbingPaul Smith2-24/+40
characters in it, for performance improvements.
2011-04-29Delay caching of the file name in eval_makefile() until after all theBoris Kolpackov2-6/+14
expansions and searches are complete. This fixes an assertion in a situation where the MAKEFILES variable contains a file path that contains tilde.
2011-04-18Add new feature: != shell assignment for portability with BSD make.Paul Smith10-17/+213
Feature submitted by David Wheeler.
2011-02-21* Fixups to the make man pagePaul Smith7-181/+252
* Minor syntax cleanups in the manual * In non-maintainer mode set NDEBUG to disable assert() * Performance improvements in strcache: Build Info 1000 2000 4000 3.82 -g 2.61s 8.85s 33.52s 3.82 -O2 1.90s 7.62s 27.82s New -g (with asserts) 1.03s 2.31s 5.79s New -O2 (no asserts) 0.65s 1.50s 3.52s
2010-11-30Check if the target-specific variable is the same as the globalPaul Smith4-6/+22
variable, and if so don't try to update it. Savannah bug #31743.
2010-11-06Improve backslash/newline handling to adhere to POSIX requirements.Paul Smith20-93/+297
2010-08-29Bump the version to 3.82.90.Paul Smith16-65/+183
Fix some doc bugs. Implement the --trace flag. Show filename/linenumber on error.
2010-08-29Set shellflags to a reasonable default if it's not set already.Paul Smith2-1/+10
2010-08-27 variable.c (define_automatic_variables) [__MSDOS__ || WINDOWS32]:Eli Zaretskii2-1/+23
Remove trailing backslashes in $(@D), $(<D), etc., for consistency with forward slashes. Fixes Savannah bug #30795.
2010-08-14- Fix the NEWS file to be accuratePaul Smith8-17/+96
- Add oneshell to $(.FEATURES) (forgot that!) - Fix Savannah bug #30612: handling of archive references with >1 object
2010-08-10Fix Savannah bug #30723: expand MAKEFLAGS before we re-exec afterPaul Smith4-2/+27
rebuilding makefiles.
2010-08-07 w32/subproc/build.bat: Make all 3 cl.exe compile command linesEli Zaretskii2-5/+8
use the same /I switches. Fixes Savannah bug #30662.
2010-08-07 function.c (func_shell) [WINDOWS32]: Reset just_print_flagEli Zaretskii2-3/+25
around the call to construct_command_argv, so that a temporary batch file _is_ created when needed for $(shell). Fixes Savannah bug #16362.
2010-08-07Fix the DJGPP build.Eli Zaretskii2-0/+7
configh.dos.template (HAVE_STRNCASECMP): Define.
2010-07-28Release GNU make 3.823.82Paul Smith7-67/+107
- Update tests for Solaris bizarre-ness - Update files for release
2010-07-24job.cEli Zaretskii1-1/+3
2010-07-24 job.c (pid2str) [WINDOWS32]: Fix CPP conditionals for using %Id format.Eli Zaretskii1-0/+5
2010-07-20Fix up incorrect prototype.Paul Smith2-3/+3
2010-07-19- Many fixup patches from Savannah.Paul Smith20-92/+314
- Fix the test suite on Solaris (from Boris) - Update the manual for .ONESHELL
2010-07-16Fix buffer overrun in concat().Boris Kolpackov2-0/+12
2010-07-13Update copyrights for 2010.Paul Smith95-136/+142
2010-07-12Fixes to build_w32.bat for building with MSVC 64bit.Paul Smith3-10/+18
2010-07-12Add missing one_shell declaration.Eli Zaretskii1-0/+1
2010-07-12*** empty log message ***Eli Zaretskii1-0/+6
2010-07-12 make.h (alloca) [!__GNUC__]: Don't define prototype.Eli Zaretskii1-3/+4
(int w32_kill): Use pid_t for process ID argument. Savannah bug #27809.
2010-07-12Forgot to add the ONESHELL regression tests.Paul Smith1-0/+70
2010-07-12Add the beginning of the .ONESHELL special feature.Paul Smith12-48/+244
Original patch by David Boyce. Modified by Paul Smith.
2010-07-09 w32/subproc/sub_proc.c: Include stdint.h.Eli Zaretskii2-14/+22
(sub_process_t): Use intptr_t for file handles and pid_t for process ID. (process_pipes, process_init_fd, process_begin): Use intptr_t for file handles and pid_t for process ID. Savannah bug #27809. Patch by Ozkan Sezer <sezeroz@gmail.com>
2010-07-09Fix Savannah bug #30312.Eli Zaretskii2-0/+10
function.c (abspath): Support absolute file names in UNC format.
2010-07-09config.h.W32.template (pid_t): Add a definition for 64-bit Windows builds ↵Eli Zaretskii1-0/+4
that don't use GCC.
2010-07-09 job.c (pid2str) [WINDOWS32]: Don't use %Id with GCC < 4.x.Eli Zaretskii4-22/+49
(exec_command) [WINDOWS32]: Use pid2str instead of non-portable %Id. main.c (handle_runtime_exceptions): Use %p to print addresses, to DTRT on both 32-bit and 64-bit hosts. Savannah bug #27809. job.c (w32_kill, start_job_command, create_batch_file): Use pid_t for process IDs and intptr_t for the 1st arg of _open_osfhandle. function.c (windows32_openpipe): Use pid_t for process IDs and intptr_t for the 1st arg of _open_osfhandle. (func_shell): Use pid_t for process IDs. main.c (main) [WINDOWS32]: Pacify the compiler. config.h.W32.template (pid_t): Add a definition for 64-bit Windows builds that don't use GCC. Savannah bug #27809. Patch by Ozkan Sezer <sezeroz@gmail.com>
2010-07-07Fix FTP upload rules.Paul Smith1-3/+5
2010-07-06- Enhance .POSIX to set -e when invoking shells, as demanded by aPaul Smith9-31/+137
backward-incompatible change in the 2008 POSIX specification. - Add the .SHELLFLAGS variable so people can choose their own shell flags. - Add tests for this. - Add documentation for this.
2010-07-05Fixups for warnings on Windows (esp 64bit).Paul Smith9-47/+95
2010-07-03Do not consider filenames that contain parens but don't END in a paren,Paul Smith3-18/+54
to be an archive group. Fixes Savannah bug #28525.
2010-07-01- Add whitespace to command line invocation in features/recursionPaul Smith4-9/+29
- Set up .FEATURES with separate calls for optional features, as some compilers don't like conditionals inside macro invocations.
2010-07-01- Rename strieq() to patheq() for clarity.Paul Smith5-21/+25
- Convert xmalloc/memset pairs to xcalloc.
2009-12-11*** empty log message ***Eli Zaretskii1-0/+4
2009-12-11(construct_command_argv_internal) <sh_cmds_dos> [WINDOWS32]: Add "echo." andEli Zaretskii1-6/+9
a few more commands that are built into cmd.exe. Fixes Savannah bug #28126.
2009-12-11*** empty log message ***Eli Zaretskii1-0/+5
2009-12-11(lookup_file) [HAVE_DOS_PATHS]: Treat '\\' like we do with '/'.Eli Zaretskii1-2/+12
2009-12-11(construct_vpath_list): Correct the argument names in the commentary.Eli Zaretskii1-3/+3