Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

@freggeldoe freggeldoe commented Jan 20, 2014

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

@FauxFaux FauxFaux commented Feb 25, 2014

This depresses me a lot. Just so everyone knows.

@FauxFaux
Copy link
Owner

@FauxFaux FauxFaux commented Feb 25, 2014

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.

@FauxFaux FauxFaux closed this Feb 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.