On Fri, 07 Dec 2007 16:07:05 +0300
Andrey Gusev <[EMAIL PROTECTED]> wrote:

> * Mattias Gaertner <[EMAIL PROTECTED]> [Fri, 7 Dec 2007
> 13:29:04 +0100]:
> > On Fri, 07 Dec 2007 14:40:43 +0300
> > Instead of IncludeTrailingPathDelimiter there is already
> > AppendPathDelim. Probably you have a old file because of a svn
> > conflict. Remove the file and update svn, or use svn revert.
> 
> sorry, this patch given from my home computer, in that fileprocs is 
> obsolete,
> but directorycacher is identical to current svn, so patch, partly, is 
> applicable.

What part?
It should not raise an exception, because this is a low level function
and it is allowed to search in non existing directories.
For example:
Packages create their output directories on the fly and these output
directories are in the search paths of other packages.

 
> > The 'if not DirectoryExists(Directory)' does not work on automounted
> > directories. You must use FindFirst.
> 
> I will explore, may be differenced directory non-existence from empty 
> directory, with FindFirst.


Mattias

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

Reply via email to