[fpc-devel] About bug 4356 and fpc bugtracker

2005-09-14 Thread Luiz Américo
I want just comment that any directory ending with pathdelim will return false. See below: DirectoryExists('C:\Windows'): TRUE DirectoryExists('C:\Windows\'): FALSE BTW: The fpc bugtracker is quite minimal, not allowing things like adding comments, followups etc. It seems there's a plan to re

Re: [fpc-devel] FindFirst broken due to ExpandFileName bug?

2005-09-14 Thread Michael Van Canneyt
On Mon, 12 Sep 2005, Tony Maro wrote: > I just tried to use FindFirst to get a listing of files in a directory. I > passed FindFirst the following: > >if FindFirst('/home/tony/test/*',faAnyFile, Res) < 0 then begin > > It never would return any results. Then I noticed that FindFirst call

Re: [fpc-devel] About bug 4356 and fpc bugtracker

2005-09-14 Thread Michael Van Canneyt
On Wed, 14 Sep 2005, Luiz Américo wrote: > I want just comment that any directory ending with pathdelim will return > false. See below: > > DirectoryExists('C:\Windows'): TRUE > DirectoryExists('C:\Windows\'): FALSE > > BTW: The fpc bugtracker is quite minimal, not allowing things like adding

Re: [fpc-devel] FindFirst broken due to ExpandFileName bug?

2005-09-14 Thread Tony Maro
Michael Van Canneyt wrote: On Mon, 12 Sep 2005, Tony Maro wrote: I just tried to use FindFirst to get a listing of files in a directory. I passed FindFirst the following: if FindFirst('/home/tony/test/*',faAnyFile, Res) < 0 then begin It never would return any results. Then I noticed

Re: [fpc-devel] FindFirst broken due to ExpandFileName bug?

2005-09-14 Thread Michael Van Canneyt
On Wed, 14 Sep 2005, Tony Maro wrote: > Michael Van Canneyt wrote: > > > On Mon, 12 Sep 2005, Tony Maro wrote: > > > > > > > > > I just tried to use FindFirst to get a listing of files in a > > > directory. I > > > passed FindFirst the following: > > > > > > if FindFirst('/home/tony/test/*