Lazarus 3.6 on MacOS behaves strangely when attempting to save a project 
filename that contains a dash (-). It produces the error message:

Invalid project filename
"/Users/noelduffy/tmp/a-b.lpi" is an invalid project name.
Please choose another (e.g. project1.lpi)”

If the dash is removed, Lazarus saves the project filename. But why does it 
reject filenames with a dash in them? The dash is a perfectly valid character 
for a filename on MacOS, Linux and other Unixes, and Windows. 

I tested this on Fedora 40 running Lazarus 3.6 too, and it does the same thing 
there. That is, it rejects a project filename if there’s a dash in it.


-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to