]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
For convenience of debugging, and perhaps some real convenience at
authorSimon Tatham <anakin@pobox.com>
Sat, 22 Mar 2008 12:01:16 +0000 (12:01 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 22 Mar 2008 12:01:16 +0000 (12:01 +0000)
commit087adb167e9e25a09839ca802707c11565468e11
tree80869c1b8a04cbc2dedbecd8d366666e2546b164
parentd7eda6d99cb6b7c2e09489dcf13b23c4cfcc61a2
For convenience of debugging, and perhaps some real convenience at
some point too: introduce a bunch of environment variables which can
override Unix PuTTY's usual idea of where to find its dotfiles.
Setting PUTTYDIR moves the entire ~/.putty directory; setting
PUTTYSESSIONS, PUTTYSSHHOSTKEYS or PUTTYRANDOMSEED move specific
things within that directory.

While I'm here, also be prepared to fall back to password file
lookups if $HOME is undefined (though we still use $HOME in
preference when it is defined, because that's polite and useful).
Also, on general principles, tweak the make_filename() function
prototype so it doesn't rely on fixed-size buffers.

[originally from svn r7934]
unix/uxstore.c