simon-git: putty (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Tue Sep 7 13:52:00 BST 2021


TL;DR:
  5c09c1c4 testsc: remove log_discard().

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2021-09-07 13:52:00

commit 5c09c1c47ebde9dd9de149244408a356b791ba5c
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=5c09c1c47ebde9dd9de149244408a356b791ba5c;hp=76688f9a0b398e14189bdad787bc21c0faf7a0bd
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Sep 7 13:46:37 2021 +0100

    testsc: remove log_discard().
    
    It was introduced in error by commit d8fda3b6da78c5a: I had originally
    intended to do test runs of prime generation by means of running every
    attempt with logging enabled, and after each failed attempt, deleting
    the log file and restarting it. But that was _far_ too slow, so I
    abandoned that approach, and switched to the alternative method of
    searching for a prime with logging turned off, and then repeating just
    the final successful attempt under logging conditions.
    
    log_discard() was the 'delete the log file' function intended for use
    in the first of those strategies. It wasn't actually used in the end,
    so I need not have committed it - and worse, the comment inside it
    claiming it _is_ used in prime generation is needlessly confusing!

 testsc.c | 16 ----------------
 1 file changed, 16 deletions(-)



More information about the tartarus-commits mailing list