simon-git: putty (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Wed Jun 17 12:53:30 BST 2026
TL;DR:
abbaa53c Normalise pathnames expanded from __FILE__.
4d01cc4c Fix appname in test_terminal.c.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2026-06-17 12:53:30
commit abbaa53c77f41f4f666c81f5a2f96e7564786a31
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=abbaa53c77f41f4f666c81f5a2f96e7564786a31;hp=026d2c17b5f390482afa15953479d96e6b009d3a
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Jun 13 11:17:32 2026 +0100
Normalise pathnames expanded from __FILE__.
Currently, in binary builds of Windows PuTTY, every assertion failure
message contains the full absolute pathname of the containing source
file as checked out by my build system, which means it has some
awkward mkstemp-style randomised directory name. This impacts build
reproducibility, and also simply wastes space.
The -fmacro-prefix-map option adjusts pathnames expanded from
__FILE__, which would otherwise appear in a release binary. But it
leaves alone pathnames used for debugging, including ELF
.debug_info (so gdb's source-file tracking still works), and also
pathnames in string literals passed to sanitiser check functions (so
that ASan error reports still contain absolute pathnames).
cmake/setup.cmake | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
commit 4d01cc4c3751c05560a4b1877c2760c4efb177af
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=4d01cc4c3751c05560a4b1877c2760c4efb177af;hp=abbaa53c77f41f4f666c81f5a2f96e7564786a31
Author: Simon Tatham <anakin at pobox.com>
Date: Wed Jun 17 12:48:51 2026 +0100
Fix appname in test_terminal.c.
I noticed in passing that it called itself "test_lineedit" due to
absent-minded copy and paste. Harmless â the difference would only
ever have shown up in error message prefixes. But easy to fix.
test/test_terminal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the tartarus-commits
mailing list