portaPuTTY bugfix

Woo, my first bug!

portaPuTTY only stored the first server key, which is most likely not what you want. The issue turned out to be a one line fix. You can get the latest binaries and source, or both if you’re feeling frisky.

The code portaPuTTY uses to store its info is from the unix port. The unix version writes the keys to a temp file, then renames the temp to sshhostkeys. So far so good… but the windows version of rename won’t overwrite an existing file. So it was failing on that. Added on unlink and voila.

Maybe over the holiday I’ll set up svn or similar for this to track little changes like this.

3 Responses to “portaPuTTY bugfix”

  1. augusto Says:

    Hi, already sent you a mail some time ago. Have another problem with portaPuTTY that could probably be fixed. The font size of a profile seems not to be saved. Would be great if you could fix this. TIA, augusto.

  2. Troy Says:

    here’s another bug for ya:

    The font size is not being saved

  3. Kelly Says:

    For a SVN repository, check out

    http://opensvn.csie.org

    Very easy to get started, free, and doesn’t use your own bandwidth.

    -Kelly

Leave a Reply