make/src
Paul Smith 9db74434cd Clean up memory leak warnings from ASAN and Valgrind
* src/main.c (main): Add "sanitize" to .FEATURES if ASAN is enabled.
* src/expand.c (expand_variable_output): Remember "recursive" setting
in case it's changed by the expansion of the variable.
* src/file.c (rehash_file): If we drop a file from the global 'files'
hash, remember it in rehashed_files.  We can't free it because it's
still being referenced (callers will invoke check_renamed()) but
it will be a leak since it's no longer referenced by 'files'.
* src/remake.c (update_file_1): If we drop a dependency, remember it
in dropped_list.  We can't free it because it's still being referenced
by callers but it will be a leak since it's no longer referenced as
a prerequisite.
* tests/scripts/functions/guile: Don't run Guile tests when ASAN is
enabled.
* tests/scripts/functions/wildcard: Enabling ASAN causes glob(3) to
break!  Don't run this test.
* tests/scripts/features/exec: Valgrind's exec() doesn't support
scripts with no shbang.
* tests/scripts/jobserver: Valgrind fails if TMPDIR is set to an
invalid directory: skip those tests.
* tests/scripts/features/output-sync: Ditto.
* tests/scripts/features/temp_stdin: Ditto.
2023-04-01 11:13:12 -04:00
..
w32 Add functions to directly expand variables by name 2023-04-01 11:13:12 -04:00
ar.c Rename VMS macro to MK_OS_VMS 2023-01-15 18:04:36 -05:00
arscan.c Clean up some preprocessor operations 2023-01-16 13:01:09 -05:00
commands.c Clean up some preprocessor operations 2023-01-16 13:01:09 -05:00
commands.h Update the copyright year on all files 2023-01-01 10:06:01 -05:00
config.h-vms Rename VMS macro to MK_OS_VMS 2023-01-15 18:04:36 -05:00
config.h.W32 Rename WINDOWS32 macro to MK_OS_W32 2023-01-15 18:27:13 -05:00
configh.dos Use MK_OS_DOS macro instead of __MSDOS__ 2023-01-16 00:03:13 -05:00
debug.h Update the copyright year on all files 2023-01-01 10:06:01 -05:00
default.c Clean up some preprocessor operations 2023-01-16 13:01:09 -05:00
dep.h Rename VMS macro to MK_OS_VMS 2023-01-15 18:04:36 -05:00
dir.c Clean up some preprocessor operations 2023-01-16 13:01:09 -05:00
expand.c Clean up memory leak warnings from ASAN and Valgrind 2023-04-01 11:13:12 -04:00
file.c Clean up memory leak warnings from ASAN and Valgrind 2023-04-01 11:13:12 -04:00
filedef.h Update the copyright year on all files 2023-01-01 10:06:01 -05:00
function.c Add functions to directly expand variables by name 2023-04-01 11:13:12 -04:00
getopt.c Rename VMS macro to MK_OS_VMS 2023-01-15 18:04:36 -05:00
getopt.h Update the copyright year on all files 2023-01-01 10:06:01 -05:00
getopt1.c Update the copyright year on all files 2023-01-01 10:06:01 -05:00
gettext.h Update the copyright year on all files 2023-01-01 10:06:01 -05:00
gmk-default.scm Convert references from "GNU make" to "GNU Make" 2023-01-01 17:05:12 -05:00
gnumake.h Convert references from "GNU make" to "GNU Make" 2023-01-01 17:05:12 -05:00
guile.c Convert references from "GNU make" to "GNU Make" 2023-01-01 17:05:12 -05:00
hash.c * src/hash.c (jhash_string): Help the compiler optimize the hash 2022-11-13 10:38:50 -05:00
hash.h Rename WINDOWS32 macro to MK_OS_W32 2023-01-15 18:27:13 -05:00
implicit.c Clean up expand.c 2023-03-26 16:48:48 -04:00
job.c Add functions to directly expand variables by name 2023-04-01 11:13:12 -04:00
job.h Rename VMS macro to MK_OS_VMS 2023-01-15 18:04:36 -05:00
load.c Update the copyright year on all files 2023-01-01 10:06:01 -05:00
loadapi.c Clean up expand.c 2023-03-26 16:48:48 -04:00
main.c Clean up memory leak warnings from ASAN and Valgrind 2023-04-01 11:13:12 -04:00
makeint.h Clean up expand.c 2023-03-26 16:48:48 -04:00
misc.c Directly handle $\ line endings 2023-02-26 17:30:15 -05:00
mkconfig.h.in Update the copyright year on all files 2023-01-01 10:06:01 -05:00
mkcustom.h Rename WINDOWS32 macro to MK_OS_W32 2023-01-15 18:27:13 -05:00
os.h Use MK_OS_DOS macro instead of __MSDOS__ 2023-01-16 00:03:13 -05:00
output.c Rename WINDOWS32 macro to MK_OS_W32 2023-01-15 18:27:13 -05:00
output.h Convert references from "GNU make" to "GNU Make" 2023-01-01 17:05:12 -05:00
posixos.c Use MK_OS_OS2 macro instead of __EMX__ 2023-01-16 00:24:13 -05:00
read.c Clean up memory leak warnings from ASAN and Valgrind 2023-04-01 11:13:12 -04:00
remake.c Clean up memory leak warnings from ASAN and Valgrind 2023-04-01 11:13:12 -04:00
remote-cstms.c Update the copyright year on all files 2023-01-01 10:06:01 -05:00
remote-stub.c Update the copyright year on all files 2023-01-01 10:06:01 -05:00
rule.c Rename VMS macro to MK_OS_VMS 2023-01-15 18:04:36 -05:00
rule.h Update the copyright year on all files 2023-01-01 10:06:01 -05:00
shuffle.c Update the copyright year on all files 2023-01-01 10:06:01 -05:00
shuffle.h Update URLs to use https rather than http 2022-10-18 14:37:47 -04:00
signame.c Update the copyright year on all files 2023-01-01 10:06:01 -05:00
strcache.c Convert references from "GNU make" to "GNU Make" 2023-01-01 17:05:12 -05:00
variable.c Create helper functions for pushing file contexts 2023-04-01 11:13:12 -04:00
variable.h Create helper functions for pushing file contexts 2023-04-01 11:13:12 -04:00
version.c Convert references from "GNU make" to "GNU Make" 2023-01-01 17:05:12 -05:00
vms_exit.c Convert references from "GNU make" to "GNU Make" 2023-01-01 17:05:12 -05:00
vms_export_symbol.c Update the copyright year on all files 2023-01-01 10:06:01 -05:00
vms_progname.c Update the copyright year on all files 2023-01-01 10:06:01 -05:00
vmsdir.h Update the copyright year on all files 2023-01-01 10:06:01 -05:00
vmsfunctions.c Update the copyright year on all files 2023-01-01 10:06:01 -05:00
vmsify.c Rename VMS macro to MK_OS_VMS 2023-01-15 18:04:36 -05:00
vmsjobs.c Convert references from "GNU make" to "GNU Make" 2023-01-01 17:05:12 -05:00
vpath.c Add functions to directly expand variables by name 2023-04-01 11:13:12 -04:00