simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Oct 21 10:18:23 BST 2018


TL;DR:
  aa162bbc Close standard handles in watchdog subprocesses.

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-10-21 10:18:23

commit aa162bbca1bda79b9e100a60c09af04a70f223f5
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=aa162bbca1bda79b9e100a60c09af04a70f223f5;hp=a081dd0a4ca0f3e99653e371f6ea14d0130a279e
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Oct 21 10:14:22 2018 +0100

    Close standard handles in watchdog subprocesses.
    
    Naturally, there's one really glaring goof I find out instants after
    'git push'! If Pageant starts a watchdog subprocess which will wait
    until the main process terminates and then clean up the socket, then
    it had better not have that subprocess keep the standard I/O handles
    open, or else commands like eval $(pageant -X) won't terminate.
    
    I've applied the same fix in the X11 socket creation, though I think
    it's less critical there.

 unix/ux_x11.c      | 5 +++++
 unix/uxagentsock.c | 5 +++++
 2 files changed, 10 insertions(+)



More information about the tartarus-commits mailing list