* removed packed, the stat record should be c packed

* deprecated old fields as it is done on other architectures

git-svn-id: trunk@11912 -
This commit is contained in:
florian 2008-10-18 13:48:17 +00:00
parent 50de0679f2
commit 3b5699e488

View File

@ -12,28 +12,28 @@
**********************************************************************} **********************************************************************}
Stat = packed record // No unix typing because of differences Stat = record // No unix typing because of differences
case byte of case byte of
0: 0:
(dev : culonglong; (dev : culonglong deprecated;
__pad0 : array[0..3] of cuchar; __pad0 : array[0..3] of cuchar deprecated;
__st_ino : culong; __st_ino : culong deprecated;
mode : cuint; mode : cuint deprecated;
nlink : cuint; nlink : cuint deprecated;
uid : culong; uid : culong deprecated;
gid : culong; gid : culong deprecated;
rdev : culonglong; rdev : culonglong deprecated;
__pad3 : array[0..3] of cuchar; __pad3 : array[0..3] of cuchar deprecated;
size : culonglong; size : culonglong deprecated;
blksize: culong; blksize: culong deprecated;
blocks : culonglong; blocks : culonglong deprecated;
atime : culong; atime : culong deprecated;
atime_nsec : culong; atime_nsec : culong deprecated;
mtime : culong; mtime : culong deprecated;
mtime_nsec : culong; mtime_nsec : culong deprecated;
ctime : culong; ctime : culong deprecated;
ctime_nsec : culong; ctime_nsec : culong deprecated;
ino : culonglong;); ino : culonglong deprecated;);
1: 1:
(st_dev : culonglong; (st_dev : culonglong;
__pad0_ : array[0..3] of cuchar; __pad0_ : array[0..3] of cuchar;
@ -55,3 +55,4 @@
st_ctime_nsec : culong; st_ctime_nsec : culong;
st_ino : culonglong); st_ino : culonglong);
end; end;