On 15 Dec 11, at 0:10, Jonas Maebe wrote:
> On 15 Dec 2011, at 00:07, Tomas Hajny wrote:
> 
> > Actually, it's somewhat 
> > surprising for me to see that System.FileSize is implemented using 
> > fpStat under Unix platforms rather than using fpLSeek (which should 
> > be the equivalent to the API calls used under other platforms if I 
> > understand it correctly)
> 
> That would fail if you don't have rights to open the file.

That's true (and equally true for other platforms, btw), but 
System.FileSize is defined as requiring an open file, i.e. this 
should not make any difference, IMHO.

Tomas

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to