simon-git: putty (pre-0.77): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sat May 21 10:17:44 BST 2022


TL;DR:
  b42f9c2c Fix a type warning in conpty.c.
  4ae8b742 pterm.exe: load the ConPTY API at run time.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: pre-0.77
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2022-05-21 10:17:44

commit b42f9c2cf75742d3fcb611b6f2132da506ef2d6b
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=b42f9c2cf75742d3fcb611b6f2132da506ef2d6b;hp=176f01ea7cc1a848179e09b93820acf839c68f52
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat May 21 09:07:42 2022 +0100

    Fix a type warning in conpty.c.
    
    Turns out that standard C 'size_t' and the Win32 API's 'SIZE_T' aren't
    the same integer type in all cases! They have the same _size_, but in
    32-bit, one of them is a typedef for 'unsigned int' and the other for
    'unsigned long', leading to annoying pointer-type mismatch warnings.

 windows/conpty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4ae8b742ab3b916d549f74c05bce84c5e91453ad
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=4ae8b742ab3b916d549f74c05bce84c5e91453ad;hp=b42f9c2cf75742d3fcb611b6f2132da506ef2d6b
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat May 21 09:34:38 2022 +0100

    pterm.exe: load the ConPTY API at run time.
    
    This allows a better error message if you try to run pterm.exe on a
    Windows machine too old for kernel32.dll to contain the required API
    functions.

 windows/conpty.c | 37 ++++++++++++++++++++++++++++++++-----
 1 file changed, 32 insertions(+), 5 deletions(-)



More information about the tartarus-commits mailing list