Pelles C forum

Pelles C => Bug reports => Topic started by: Romashka on May 31, 2009, 09:36:44 PM

Title: Trailing backslash handling in the project creation dialog
Post by: Romashka on May 31, 2009, 09:36:44 PM
These are tiny bugs with handling trailing \ I found (tested in 6.0 RC2):

1) when Location ends with \ you get "Unable to create 'E:\work\projects\foobar\'. Unable to create folder because it exists" (the folder really exists, but you don't get this error when there's no trailing backslash)

2) when Output or Result ends with \ you get full paths instead of relative paths in .ppj:
POC_PROJECT_OUTPUTDIR = E:\work\projects\foobar\output\#
POC_PROJECT_RESULTDIR = E:\work\projects\foobar\result\#

instead of
POC_PROJECT_OUTPUTDIR = output#
POC_PROJECT_RESULTDIR = result#


IMHO paths with trailing backslash should be handled in the same way as without it.
Title: Re: Trailing backslash handling in the project creation dialog
Post by: Pelle on June 16, 2009, 09:21:24 PM
Yes, sounds like a minor problem - I will only make a change if there are other (bigger) problems in the same area...