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

Geany allow me to save my file with a backslash at the end of the name #1001

Open
JuliusPro opened this issue Apr 19, 2016 · 2 comments
Open

Comments

@JuliusPro
Copy link

I'm using Geany to code in C++, when I saved a file I accidentaly put a backslash ( '' ) at the end of the name, and that cause an error when I tried to compile my code, "Syntax error: Unterminated quoted string" because of the command code: "g++ -Wall -o "C_file" "C_file.cpp" -std=c++11".

@b4n
Copy link
Member

b4n commented Apr 19, 2016

The bug is here in the quoting mechanism used to spawn commands, as it should have escaped the \, not in allowing a backslash in the file name.

It's a mostly known bug that is unfortunately annoyingly hard to fix without risking to break existing setups or limiting valid use cases.

@JuliusPro
Copy link
Author

Okay, thank you for the fast answer, sorry if the bug was already reported.

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

No branches or pull requests

2 participants