simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Wed Feb 7 07:35:06 GMT 2018


TL;DR:
  bbebdc8 Make file-existence test a per-platform function.
  b4fde27 Better file-existence test on Unix.

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-02-07 07:35:06

commit bbebdc8280b32df1bdd752b784cef0997f19b7d4
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=bbebdc8280b32df1bdd752b784cef0997f19b7d4;hp=36764ffbbe777851a9b6567e614c68bca9155458
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Feb 7 07:22:18 2018 +0000

    Make file-existence test a per-platform function.
    
    NFC in this commit, but this will allow me to do something more subtle
    and OS-specific in each OS's implementation of it.

 logging.c         |  5 +----
 putty.h           |  1 +
 unix/uxmisc.c     | 11 +++++++++++
 windows/winmisc.c | 11 +++++++++++
 4 files changed, 24 insertions(+), 4 deletions(-)

commit b4fde270c6cbf2fc30a414428e9c7b7a3e557cc7
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=b4fde270c6cbf2fc30a414428e9c7b7a3e557cc7;hp=bbebdc8280b32df1bdd752b784cef0997f19b7d4
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Feb 7 07:27:57 2018 +0000

    Better file-existence test on Unix.
    
    Now we don't annoyingly print the 'askappend' prompt if you ask a
    PuTTY tool to write its packet log to something that's not a regular
    file, such as /dev/fd/1 or /dev/tty or a named pipe.
    
    (In the case of a named pipe, another annoyance fixed by this change
    is that we also don't open it for reading in the course of the
    existence test.)

 unix/uxmisc.c | 35 ++++++++++++++++++++++++++++++-----
 1 file changed, 30 insertions(+), 5 deletions(-)



More information about the tartarus-commits mailing list