-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
$HOME/.pioneer is randomly created on Linux #5942
Comments
Also, is there any guarantee that the temporary string object in |
There is a strong guarantee provided by the rules of the C++ language on lifetime. Temporary objects are guaranteed to last as least as long as their enclosing function call scope. Additionally (continuing from IRC) the
Thanks! Please feel free to submit that as a Pull Request and we can test it and merge it if it solves the problem. |
I seem to recall problems in the past (with QString -> const char*) where the object goes away before the call because the object is not what gets passed to the function. Can a separate pull request be skipped for such a trivial fix? |
There's three options as I see it:
If it's the case you need help with github, we can PR it for you, but I assume you know how to do it, based on your code skill. |
I'm not going to clone the project on Github at this time, so please use the patch as you will. |
I've opened a PR ☝️ for this patch. |
Occasionally the $HOME/.pioneer directory is created on Linux as the program thinks that directory already exists. The following patch should fix this.
The text was updated successfully, but these errors were encountered: