simon-git: putty (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Fri Sep 25 09:39:59 BST 2015
TL;DR:
e162810 Shout more loudly if we can't open a log file.
64ec5e0 Sanitise bad characters in log file names.
Repository: git://git.tartarus.org/simon/putty.git
On the web: http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2015-09-25 09:39:59
commit e1628105163135ca21abb6a841d109969d7979ec
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=e1628105163135ca21abb6a841d109969d7979ec;hp=5c5ca116dbe1c62b447eaeb22d4e59db44b9a1f5
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Sep 25 09:15:21 2015 +0100
Shout more loudly if we can't open a log file.
A user points out that logging fopen failures to the Event Log is a
bit obscure, and it's possible to proceed for months in the assumption
that your sessions are being correctly logged when in fact the
partition was full or you were aiming them at the wrong directory. Now
we produce output visibly in the PuTTY window.
logging.c | 24 ++++++++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)
commit 64ec5e03d5362ed036e9de1a765085c571eaa3b7
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=64ec5e03d5362ed036e9de1a765085c571eaa3b7;hp=e1628105163135ca21abb6a841d109969d7979ec
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Sep 25 09:23:26 2015 +0100
Sanitise bad characters in log file names.
On Windows, colons are illegal in filenames, because they're part of
the path syntax. But colons can appear in automatically constructed
log file names, if an IPv6 address is expanded from the &H placeholder.
Now we coerce any such illegal characters to '.', which is a bit of a
bodge but should at least cause a log file to be generated.
logging.c | 15 +++++++++++++--
putty.h | 1 +
unix/uxmisc.c | 7 +++++++
windows/winmisc.c | 7 +++++++
4 files changed, 28 insertions(+), 2 deletions(-)
More information about the tartarus-commits
mailing list