On Fri, 07 Dec 2007 12:58:49 +0300
Andrey Gusev <[EMAIL PROTECTED]> wrote:

> The message "The ... option ... contains a not existing directory", 
> wrongly say about my really existient directories.
> That occurs when i press "OK" button in search path editor dialog (be 
> called from project compiler options),
> sayed about totally all directories from the path, so that warning is 
> useless to find directory mistyping.
> Cut trailing slash forgotten (before existence checking) ?

It does:

FileProcs:

function DirPathExists(DirectoryName: string): boolean;
begin
  Result:=Sysutils.DirectoryExists(ChompPathDelim(DirectoryName));
end;

And cache:

function TFileStateCache.FindFile(const Filename: string;
  CreateIfNotExists: boolean): TFileStateCacheItem;
begin
  TrimmedFilename:=ChompPathDelim(TrimFilename(Filename));


Can you help me finding out why it does not work under windows?
It starts here:

ide/compileroptionsdlg.pp
function TfrmCompilerOptions.CheckSearchPath


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to