Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

relative logfile-paths for second connection/window broken #130

Closed
freggeldoe opened this issue Jan 20, 2014 · 2 comments
Closed

relative logfile-paths for second connection/window broken #130

freggeldoe opened this issue Jan 20, 2014 · 2 comments

Comments

@freggeldoe
Copy link

When using relative logfile paths the source-directory (and drive) seems to be inconsistent.
When starting puttytray in "d:\puttytray" and using a relative logfile path e.g. "logs&H &Y-&M-&D &T.log" the log for the first connection gets created in "d:\puttytray\logs".
When a second connection (window) is opened, the logfile creation fails.

Using "\puttytray\logs&H &Y-&M-&D &T.log" (notice the leading slash) revealed, that the second logfile creation takes place on "c:"-drive (logfiles get created in "c:\puttytray\logs" if this directory exists).

Somehow puttytray got lost and forgot it's starting directory.

@FauxFaux
Copy link
Owner

This depresses me a lot. Just so everyone knows.

@FauxFaux
Copy link
Owner

I reviewed all this code for that problem. I probably got most of them, on non-error paths. If anyone has a reproducible way to break it, please raise a new issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants