Re: [fpc-pascal] fstat usage

2008-12-06 Thread Francisco Reyes
Micha Nelissen writes: Francisco Reyes wrote: Trying the fstat function and don't seem to be getting the right values for ctime, mtime and atime. What OS and CPU ? Tried FreeBSD 6.3 on i386, AMD CPU and Opensuse 10.3 64 bits AMD cpu ___ fpc-pascal

Re: [fpc-pascal] fstat usage

2008-12-06 Thread Micha Nelissen
Francisco Reyes wrote: Trying the fstat function and don't seem to be getting the right values for ctime, mtime and atime. What OS and CPU ? Micha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinf

[fpc-pascal] fstat usage

2008-12-05 Thread Francisco Reyes
Trying the fstat function and don't seem to be getting the right values for ctime, mtime and atime. -- filedate.pp uses BaseUnix,DateUtils,SysUtils; var info : stat ; begin if fpstat ('myfile.txt' , info) <>0 then begin writeln ('Fstat failed . Errno : ' , fpgeterrno) ; halt ( 1 )