Tartarus CVS: putty: simon
tartarus-commits@lists.tartarus.org
tartarus-commits@lists.tartarus.org
Sat, 22 Mar 2003 09:49:22 +0000
CVS Root: /home/cvs
Module: putty
Changes by: simon
Date: Sat Mar 22 2003 09:49:22 GMT
Log message:
Yikes - saving of Default Settings must have been broken for some
time! The load code in settings.c was translating an empty string
into "Default Settings" to pass to {win,ux}store, whereas the save
code was passing the empty string straight down and expecting it to
be dealt with. So, a policy decision: the precise name of the
"Default Settings" special session _at the storage level_ is up to
the individual platform storage code to decide, and all platforms
MUST assume Default Settings is meant if they receive NULL or the
empty string as a session name.
Modified files:
. : settings.c winstore.c
Links:
http://cvs.tartarus.org//putty/settings.c.diff?r1=1.104&r2=1.105
http://cvs.tartarus.org//putty/winstore.c.diff?r1=1.13&r2=1.14