summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2012-02-26Check for possible buffer overflow on very long filenames.Paul Smith1-0/+5
Fixes Savannah bug #35525
2012-02-03Ifdef away unused w32 functions.Eli Zaretskii1-0/+4
w32/subproc/sub_proc.c (proc_stdin_thread, proc_stdout_thread) (proc_stderr_thread, process_pipe_io): Ifdef away unused functions.
2012-02-03Fix Savannah bug #34832 with unused TLS attributes.Eli Zaretskii1-0/+7
w32/subproc/w32err.c (map_windows32_error_to_string) [_MSC_VER]: Don't use TLS storage for szMessageBuffer. Ifdef away special code for handling Winsock error codes. Make the function return a `const char *'. Suggested by Ozkan Sezer. Fixes Savannah bug #34832.
2012-01-30Map Guile variable objects to the empty string.Paul Smith1-0/+4
In Guile 2.0, (define ...) results in a variable object. Ensure make converts that to an empty string to avoid spurious errors.
2012-01-30Add support for "::=" simple assignment operator.Paul Smith1-0/+12
The next POSIX standard will define "::=" to have the same behavior as GNU make's ":=", so add support for this new operator.
2012-01-29Create a new function $(file ...)Paul Smith1-0/+5
2012-01-29Guile portabilityPaul Smith1-0/+6
Don't support Guile 1.6 and use a portable test for printable strings.
2012-01-28 config.h.W32.template: Update from config.h.in.Eli Zaretskii1-0/+2
2012-01-28 Support a Windows build with Guile.Eli Zaretskii1-0/+9
README.W32.template: Update with instructions for building with Guile. build_w32.bat: Support building with Guile. make.h [HAVE_STDINT_H]: Include stdint.h.
2012-01-28 main.c (main, clean_jobserver): Move declarations of variablesEli Zaretskii1-0/+4
not used in the WINDOWS32 build to the #else branch, to avoid compiler warnings.
2012-01-28 Fix failures on MS-Windows when Make's standard handles are invalid.Eli Zaretskii1-0/+22
This can happen when Make is invoked from a GUI application. * w32/subproc/sub_proc.c (process_init_fd): Don't dereference pproc if it is a NULL pointer. (process_begin, process_cleanup): Don't try to close pipe handles whose value is INVALID_HANDLE_VALUE. (process_easy): Initialize hIn, hOut, and hErr to INVALID_HANDLE_VALUE. If DuplicateHandle fails with ERROR_INVALID_HANDLE, duplicate a handle for the null device instead of STD_INPUT_HANDLE, STD_OUTPUT_HANDLE or STD_ERROR_HANDLE. Don't try to close pipe handles whose value is INVALID_HANDLE_VALUE. * function.c (windows32_openpipe): Initialize hIn and hErr to INVALID_HANDLE_VALUE. If DuplicateHandle fails with ERROR_INVALID_HANDLE, duplicate a handle for the null device instead of STD_INPUT_HANDLE or STD_ERROR_HANDLE. Fix indentation. Don't try to close handles whose value is INVALID_HANDLE_VALUE.
2012-01-25 function.c (define_new_function): Fix format strings in calls to `fatal'.Eli Zaretskii1-0/+5
2012-01-18Handle NULL returns from Guile.Paul Smith1-0/+4
2012-01-16Fix an issue with PATH_SEPARATOR_CHAR when cross-compiling for Windows.Paul Smith1-0/+6
Fixes Savannah bug #34818.
2012-01-16Create a new internal interface for defining new make functions.Paul Smith1-0/+8
This allows us to create new functions without changing function.c. You still have to modify the GNU make code (for now) though: this is simply a preliminary step to possibly allowing make to load modules. Modify the Guile integration to use this method rather than ifdefs in function.c.
2012-01-16Update copyright notices.Paul Smith1-2/+6
2012-01-15Add GNU Guile as an optional embedded scripting language for make.Paul Smith1-1/+35
On configure-enabled systems, configure will detect Guile installed (using pkg-config, which is how GNU Guile is distributed) and enable it if so. On all non-configure-enabled systems, currently, the default is for Guile support to be disabled.
2011-11-15Enable jobserver on W32 when using configure.Paul Smith1-0/+11
Some W32 cleanups: see Savannah bug #34830 Forgot to modify the config.h.W32.template file for jobserver support.
2011-11-14Be sure to start parsing prereqs in the right place even if there arePaul Smith1-0/+6
escape characters (backslashes) in the target name. See Savannah bug #33399
2011-11-14Changes to resolve warnings.Paul Smith1-0/+9
Fixes Savannah bug #34608.
2011-11-14Don't use Hungarian notation: remove _p/_ptr from var names.Paul Smith1-0/+4
Fixes Savannah bug #32567.
2011-11-14Support jobserver capability on Windows systems.Paul Smith1-0/+28
Implementation contributed by Troy Runkel <Troy.Runkel@mathworks.com>
2011-11-14In very obscure situations we may write the free token back to the pipe.Paul Smith1-1/+4
Don't do that. I couldn't come up with a repro case for this!
2011-11-13Enable high-resolution timestamps for Darwin (Mac OSX)Paul Smith1-0/+6
Patch provided by Troy Runkel <Troy.Runkel@mathworks.com>
2011-09-18When we re-exec the master makefile in a jobserver environment, ensurePaul Smith1-0/+4
that MAKEFLAGS is set properly so the re-exec'd make runs in parallel. See Savannah bug #33873.
2011-09-18We compute various values for vpath lookup the first time throughPaul Smith1-0/+6
and store them in static variables; however one value (std_dirs) was not being stored statically so the second time through it was not set. Fixes Savannah bug #32511
2011-09-17Avoid certificate checks when getting PO files from translationproject.orgPaul Smith1-0/+5
2011-09-12Ensure variables defined in $(call ...) have global scopePaul Smith1-0/+13
Add a note about using #!/usr/bin/make -f to the manual. Clean up the w32 subdirectory in the dist tarball.
2011-09-02Ensure that -n takes precedence over -t.Paul Smith1-0/+5
Patch from Michael Witten <mfwitten@gmail.com>
2011-08-29Save strings we're expanding in case an embedded eval causes themPaul Smith1-0/+8
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 Smith1-0/+9
Newer version of VMS support strncasecmp() so update the config.h.
2011-05-07Ensure private variables are not used when appending target-specificPaul Smith1-0/+5
variables. Fixes Savannah bug #32872.
2011-05-07Inverted the boolean test from what I wanted it to be. Added aPaul Smith1-0/+4
regression test to make sure this continues to work.
2011-05-07 job.c (construct_command_argv_internal): Don't assume shellflagsEli Zaretskii1-0/+7
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 Smith1-0/+5
2011-05-02Use the same algorithm for counting the number of words to sort as wePaul Smith1-0/+4
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 Smith1-0/+5
2011-05-02Avoid invoking glob() unless the filename has potential globbingPaul Smith1-0/+6
characters in it, for performance improvements.
2011-04-29Delay caching of the file name in eval_makefile() until after all theBoris Kolpackov1-0/+5
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 Smith1-0/+17
Feature submitted by David Wheeler.
2011-02-21* Fixups to the make man pagePaul Smith1-0/+22
* 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 Smith1-0/+5
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 Smith1-0/+34
2010-08-29Bump the version to 3.82.90.Paul Smith1-0/+22
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 Smith1-0/+5
2010-08-27 variable.c (define_automatic_variables) [__MSDOS__ || WINDOWS32]:Eli Zaretskii1-0/+6
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 Smith1-2/+16
- 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 Smith1-0/+5
rebuilding makefiles.
2010-08-07 w32/subproc/build.bat: Make all 3 cl.exe compile command linesEli Zaretskii1-0/+3
use the same /I switches. Fixes Savannah bug #30662.
2010-08-07 function.c (func_shell) [WINDOWS32]: Reset just_print_flagEli Zaretskii1-0/+7
around the call to construct_command_argv, so that a temporary batch file _is_ created when needed for $(shell). Fixes Savannah bug #16362.