fstat returns wrong filesize
nick at dsvr.net
Sat Aug 17 03:59:12 PDT 2002
Alex Waugh wrote:
> Calling fstat often results in a wrong value being returned for the
> filesize. This is because OS_File which is used to get the file info
> returns the size allocated to the file, which (if the file is open at
> the time) can be different to the extent of the file.
> The following patch fixes this.
Development Manager, Designer Servers Ltd. http://www.dsvr.co.uk
More information about the gcc