Bug #12110 2007-10-03 10:22

sque

"Output filename" doesn't get saved correctly in project

Hi! I have a project and when I set output file name like this: "../../bin/SpaceKati_d", next time I reopen the project the output filename has been changed to "../." !

Which is annoying as this not a valid file to even compile. I think the problem exists with relative paths, as I don't remember to happen on other project.

This exists in many revisions and lately tested with rev:4503 where it still exists.

Category
Application::WrongBehaviour
Group
 
Status
Closed
Close date
2007-10-12 18:51
Assigned to
biplab
biplab 2007-10-04 06:49

It works well for me on Windows and Linux. See the following log.

-------------- Build: Debug in Test ---------------

Compiling: main.cpp

Linking static library: ../../libTest.a

ar: creating ../../libTest.a

Output size is 35.77 KB

Process terminated with status 0 (0 minutes, 0 seconds)

0 errors, 0 warnings

rangelr 2007-10-04 11:46

I have the same problem, it happens only when you save a project, exit codeblocks, load it again, and load the same project. I am using a single redirection:

../bin/executablename

and my output filename is reset to

"." (a single dot)

If I fix it, it compiles as your log, the problem is on the project loading or saving.

biplab 2007-10-12 17:24

Confirmed on Linux. :-)

biplab 2007-10-12 18:51

This bug is now fixed in HEAD.

Thank you for reporting it.