diff options
author | Mats Wichmann <mats@linux.com> | 2022-04-14 14:41:45 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2024-09-14 19:17:24 (GMT) |
commit | f72ce398663eedd1e57ac3483781a5a5fc390752 (patch) | |
tree | 7a42c176333aa1816fb50004571c6e4519f726d4 /RELEASE.txt | |
parent | aad42dd6eeb9b1fe8756895f2567b25ef8e7d82f (diff) | |
download | SCons-f72ce398663eedd1e57ac3483781a5a5fc390752.zip SCons-f72ce398663eedd1e57ac3483781a5a5fc390752.tar.gz SCons-f72ce398663eedd1e57ac3483781a5a5fc390752.tar.bz2 |
Update docs and usage of TEMPFILE/TempFileMunge
tempfiles are now cleaned up via registering a cleanups with atexit(),
instead of trying to squeeze removing the file into the command line.
On Windows that caused the file to get deleted too early (did not work
well with interactive mode), and on Linux it didn't remove the file
at all.
The Platform test expected to be able to read the tempfilename as
the last argument of the "command", but this is no longer provided
as the "rm filename" is no longer added, so now it has to chop off
the prefix from the command-file argument to get the filename.
Unrelatedly, two syntax warnings that turn up in the test output where
some TeX syntax was listed in a docstring in a test are fixed by making
that a raw string - got tired of seeing these.
Fixes #4595
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'RELEASE.txt')
-rw-r--r-- | RELEASE.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/RELEASE.txt b/RELEASE.txt index 196103c..fcc4f46 100644 --- a/RELEASE.txt +++ b/RELEASE.txt @@ -36,6 +36,8 @@ FIXES if the variable is used on the command line with one of the enabling string as the value: the variable's default value is produced (previously it always produced True in this case). +- Temporary files created by TempFileMunge() are now cleaned up on + scons exit, instead of at the time they're used. Fixes #4595. IMPROVEMENTS ------------ |