Re: [fpc-pascal] FPC docs about FindFirst

2019-09-24 Thread Michael Van Canneyt
On Tue, 24 Sep 2019, Anthony Walter wrote: Related, It would seem on Linux that FindFirst, FindNext or TSearchRec that none of them can properly detect a symbolic link. For example, if you wanted enumerate files and folder, and there exists a symbolic link inside one folder to some parent of

Re: [fpc-pascal] FPC docs about FindFirst

2019-09-24 Thread Marco van de Voort
Op 2019-09-24 om 03:03 schreef Ralf Quint: systutils, so having documentation that includes the differences between the versions would be helpful. Turbo Pascal (for DOS) didn't have a FindClose function, as "officially", this would not be necessary on DOS. On all other OS, including Windows,

Re: [fpc-pascal] FPC docs about FindFirst

2019-09-24 Thread Ralf Quint
On 9/24/2019 12:24 AM, Marco van de Voort wrote: Op 2019-09-24 om 03:03 schreef Ralf Quint: systutils, so having documentation that includes the differences between the versions would be helpful. Turbo Pascal (for DOS) didn't have a FindClose function, as "officially", this would not be neces

Re: [fpc-pascal] FPC docs about FindFirst

2019-09-24 Thread Marco van de Voort
Op 2019-09-24 om 18:57 schreef Ralf Quint: On 9/24/2019 12:24 AM, Marco van de Voort wrote: Op 2019-09-24 om 03:03 schreef Ralf Quint: systutils, so having documentation that includes the differences between the versions would be helpful. Turbo Pascal (for DOS) didn't have a FindClose functi

Re: [fpc-pascal] FPC docs about FindFirst

2019-09-24 Thread Anthony Walter
Michael, Okay I tested and it turns out you are right. I was omitting faDirectory or faSymLink in FindFirst, so the faSymLink is only set in TSearchRec if you request it. Thanks. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.f

Re: [fpc-pascal] FPC docs about FindFirst

2019-09-24 Thread Michael Van Canneyt
On Tue, 24 Sep 2019, Anthony Walter wrote: Michael, Okay I tested and it turns out you are right. I was omitting faDirectory or faSymLink in FindFirst, so the faSymLink is only set in TSearchRec if you request it. Thanks. You're welcome. You would not be the first to be confused by the use