kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #24827
Re: PATCH: bug #1585714
Le 30/05/2016 à 06:23, Cirilo Bernardo a écrit :
> The attached patch *should* fix bug #1585714.
> Although I haven't tested on MSWin, I have checked the
> function which was returning the false negative and
> confirmed that the implementation of the
> wxFileName::GetForbiddenChars() would return the
> path separator and cause the false negative described
> in the bug report. I have opted to simply test the
> validity of the alias component of the name and to
> leave the filesystem to complain about any actual invalid
> filenames.
>
> - Cirilo
The patch works for me (Tested on W7).
Its has a bug, easy to fix:
the line
lpath = aFileName;
should be
wxString lpath = aFileName;
Can this patch be committed ?
Thanks.
--
Jean-Pierre CHARRAS
Follow ups
References