simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Fri Apr 13 19:02:30 BST 2012


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9456
Date:           2012-04-13 19:02:30 +0100 (Fri, 13 Apr 2012)

Log message (8 lines):
Add code in dlg_filesel_set and dlg_fontsel_set which makes them
duplicate the strings they pass to gtk_entry_set_text. I was already
doing that in dlg_editbox_set, but forgot to add the same code when I
revamped FontSpec and Filename to contain dynamically allocated
strings (r9314 and r9316 respectively). This fixes a bug where, on
some versions of GTK (but apparently not up-to-date versions), loading
a saved session causes gibberish to appear in file-selector edit boxes
accompanied by a valgrind error.

Modified files:
U   putty/unix/gtkdlg.c

Links:
http://svn.tartarus.org/sgt/?rev=9456&view=rev
http://svn.tartarus.org/sgt/putty/unix/gtkdlg.c?rev=9456&r1=9455&r2=9456



More information about the tartarus-commits mailing list