simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Wed Jan 22 22:34:01 GMT 2020


TL;DR:
  7590d062 Introduce and use strbuf_chomp.

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:           2020-01-22 22:34:01

commit 7590d0625ba6e994a00191aa708d3aadee70c407
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=7590d0625ba6e994a00191aa708d3aadee70c407;hp=cd6bc14f04382127a6617e10a82beb0232675d70
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Jan 22 22:24:41 2020 +0000

    Introduce and use strbuf_chomp.
    
    Those chomp operations in wincons.c and uxcons.c looked ugly, and I'm
    not totally convinced they couldn't underrun the buffer by 1 byte in
    weird circumstances. strbuf_chomp is neater.

 misc.h            | 1 +
 scpserver.c       | 2 +-
 unix/uxcons.c     | 4 +---
 utils.c           | 9 +++++++++
 windows/wincons.c | 6 ++----
 5 files changed, 14 insertions(+), 8 deletions(-)



More information about the tartarus-commits mailing list