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.


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

Reply via email to