Re: [fpc-devel] Unexpexted result of FindFirst with 2.2.4

2009-05-10 Thread Jonas Maebe
On 21 Apr 2009, at 16:47, Stefan Kisdaroczi wrote: FindFirst from fpc 2.2.4 returns zero (file found) and an empty Name if I search for files in a empty directory. With fpc 2.2.2 FindFirst returns -1 as expected. Im using Debian Lenny (i386) and installed the 2.2.4 *.deb's from the

Re: [fpc-devel] Unexpexted result of FindFirst with 2.2.4

2009-05-10 Thread fpclist
On Sunday 10 May 2009 14:41:06 Jonas Maebe wrote: On 21 Apr 2009, at 16:47, Stefan Kisdaroczi wrote: FindFirst from fpc 2.2.4 returns zero (file found) and an empty Name if I search for files in a empty directory. With fpc 2.2.2 FindFirst returns -1 as expected. Im using Debian Lenny

Re: [fpc-devel] Unexpexted result of FindFirst with 2.2.4

2009-05-10 Thread fpclist
Hi Jonas I''l stay with fpc 2.2.5 for the time being. I have noticed that Lazarus (Linux version) has downgraded from fpc 2.2.5 to 2.2.4 in their daily snapshots though. Thanks Nino //* On Sunday 10 May 2009 15:29:39 Jonas Maebe wrote: On 10

Re: [fpc-devel] Unexpexted result of FindFirst with 2.2.4

2009-05-10 Thread Vincent Snijders
fpcl...@silvermono.co.za schreef: Hi Jonas I''l stay with fpc 2.2.5 for the time being. I have noticed that Lazarus (Linux version) has downgraded from fpc 2.2.5 to 2.2.4 in their daily snapshots though. That is because we prefer to create snapshots for fpc releases to be able to isolate

Re: [fpc-devel] Unexpexted result of FindFirst with 2.2.4

2009-05-10 Thread fpclist
On Sunday 10 May 2009 16:36:00 Vincent Snijders wrote: fpcl...@silvermono.co.za schreef: Hi Jonas I''l stay with fpc 2.2.5 for the time being. I have noticed that Lazarus (Linux version) has downgraded from fpc 2.2.5 to 2.2.4 in their daily snapshots though. That is because we

[fpc-devel] Unexpexted result of FindFirst with 2.2.4

2009-04-21 Thread Stefan Kisdaroczi
Hi all, FindFirst from fpc 2.2.4 returns zero (file found) and an empty Name if I search for files in a empty directory. With fpc 2.2.2 FindFirst returns -1 as expected. Im using Debian Lenny (i386) and installed the 2.2.4 *.deb's from the freepascal ftp site. The following program is quiet