]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Yikes - saving of Default Settings must have been broken for some
authorSimon Tatham <anakin@pobox.com>
Sat, 22 Mar 2003 09:49:20 +0000 (09:49 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 22 Mar 2003 09:49:20 +0000 (09:49 +0000)
commite453af5e967163880387b8149ea298d00183e3a2
tree651a1c238d81ac5baec12d87845f7105149a03de
parent8e9ae54cc9af9e5d681590864ecc5ff5758993a4
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.

git-svn-id: http://svn.tartarus.org/sgt/putty@2974 cda61777-01e9-0310-a592-d414129be87e
settings.c
winstore.c