simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Tue Nov 27 20:03:12 GMT 2018


TL;DR:
  63298900 Add some missing 'const' in the compressor API.
  1586a416 Remove the 'bool compress' parameter to lz77_compress.
  abec9e1c Move the malloc helpers out of misc.c.
  84d5eb42 Move the ZLIB_STANDALONE main() into its own file.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2018-11-27 20:03:12

commit 6329890046cdc57eb196949f8b05eba9a0424678
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=6329890046cdc57eb196949f8b05eba9a0424678;hp=898cb8835a2b99df2914c60dd871ef7e334a0fdb
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Nov 27 19:22:02 2018 +0000

    Add some missing 'const' in the compressor API.

 ssh.h           |  4 ++--
 ssh2transport.c |  4 ++--
 sshzlib.c       | 12 +++++++-----
 3 files changed, 11 insertions(+), 9 deletions(-)

commit 1586a416567acb32662d3aebfa52b745c0d967d1
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=1586a416567acb32662d3aebfa52b745c0d967d1;hp=6329890046cdc57eb196949f8b05eba9a0424678
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Nov 27 19:23:15 2018 +0000

    Remove the 'bool compress' parameter to lz77_compress.
    
    It stopped being useful in commit 20a9bd564, where I removed the only
    code that called it. I've only just noticed that this part of the
    mechanism is still lying around.

 sshzlib.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

commit abec9e1c7eaefa877404b0786e7497fd3bbf71dc
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=abec9e1c7eaefa877404b0786e7497fd3bbf71dc;hp=1586a416567acb32662d3aebfa52b745c0d967d1
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Nov 27 19:20:32 2018 +0000

    Move the malloc helpers out of misc.c.
    
    Now they live in their own file memory.c. The advantage of this is
    that you can link them into a binary without also pulling in the rest
    of misc.c with its various dependencies on other parts of the code,
    such as conf.c.

 Recipe             |  16 ++++-----
 memory.c           | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 misc.c             | 102 ----------------------------------------------------
 windows/winstuff.h |  11 ++++++
 4 files changed, 123 insertions(+), 110 deletions(-)

commit 84d5eb428747b48940a8939754c75911df637257
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=84d5eb428747b48940a8939754c75911df637257;hp=abec9e1c7eaefa877404b0786e7497fd3bbf71dc
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Nov 27 19:22:15 2018 +0000

    Move the ZLIB_STANDALONE main() into its own file.
    
    Now, instead of getting the zlib test/helper program by manually
    compiling a source file with unusual options, it gets built as
    standard by the ordinary Makefile.

 .gitignore |   1 +
 Recipe     |   1 +
 sshzlib.c  | 106 --------------------------------------------------------
 testzlib.c | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 116 insertions(+), 106 deletions(-)



More information about the tartarus-commits mailing list