[Lazarus] Major flaw with trunk and unit cases

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Nov 5 09:40:36 CET 2011


On Fri, 4 Nov 2011 09:21:05 -0500
Andrew Brunner <andrew.t.brunner at gmail.com> wrote:

> Updated to todays Lazarus from svn/trunk and started work... Only to
> have my entire project build folder nuked by DoOpenEditorFile fixing
> case routine...
> 
> /Developer/Source/Linux/64 was transformed into a binary file and
> wiped out all sub folders.  I had to rm 64 and restore  :-(
> 
> Ubuntu 11.10 x64 running Gnome3 shell
> 
> Please fix asp !!!
> 
> 
> dbmUserStorage.pas(2216,12) Error: identifier idents no member "cntEncoding"
> 2300 178.311/182.624 Kb Used
> dbmUserStorage.pas(2394,3) Fatal: Syntax error, ";" expected but "ELSE" found
> TMainIDE.DoOpenEditorFile Fixing file case:
> /Developer/Source/Builds/SCS/Linux/64/ ->
> /Developer/Source/Builds/SCS/Linux/64

Note: The "Fixing file case" is not a change to the file system, but
only the search for the real file name.

For some reason the code to open the error file got no file name and
returned a directory. DoOpenEditorFile opened it and then you somehow
made changes and saved them.
I added a check to DoOpenEditorFile to not open directories.


Mattias




More information about the Lazarus mailing list