* deprecated here and there even though compiler doesn't seem to show

git-svn-id: trunk@7481 -
This commit is contained in:
marco 2007-05-26 13:56:21 +00:00
parent a2bae0fb21
commit eaaefc0f64

View File

@ -14,29 +14,29 @@
{$ifndef FPC_USE_LIBC} // kernel record {$ifndef FPC_USE_LIBC} // kernel record
Stat = packed record // No unix typing because of differences Stat = packed record
case byte of case byte of
0: 0:
(dev : qword; (dev : qword deprecated;
__pad0 : array[0..3] of byte; __pad0 : array[0..3] of byte deprecated;
__ino, __ino : cardinal deprecated;
mode, mode : cardinal deprecated;
nlink, nlink : cardinal deprecated;
uid, uid : cardinal deprecated;
gid : cardinal; gid : cardinal deprecated;
rdev : qword; rdev : qword deprecated;
__pad3 : array[0..3] of byte; __pad3 : array[0..3] of byte deprecated;
size : qword; size : qword deprecated;
blksize : cardinal; blksize : cardinal deprecated;
blocks : qword; blocks : qword deprecated;
atime, atime : cardinal deprecated;
atime_nsec, atime_nsec : cardinal deprecated;
mtime, mtime : cardinal deprecated;
mtime_nsec, mtime_nsec : cardinal deprecated;
ctime, ctime : cardinal deprecated;
ctime_nsec : cardinal; ctime_nsec : cardinal deprecated;
ino : qword); ino : qword deprecated);
1: 1: // Unix typing will be reintroduced.
(st_dev : qword; (st_dev : qword;
__pad0_ : array[0..3] of byte; __pad0_ : array[0..3] of byte;
__st_ino_, __st_ino_,
@ -65,36 +65,37 @@
case byte of case byte of
0: 0:
// kernel <->libc // kernel <->libc
(dev : dev_t; (dev : dev_t deprecated;
pad1 : word; pad1 : word deprecated;
{$ifdef fs32bit} {$ifdef fs32bit}
ino : ino_t; ino : ino_t deprecated;
{$else} {$else}
__ino : ino_t; __ino : ino_t deprecated;
{$endif} {$endif}
mode : mode_t; mode : mode_t deprecated;
nlink : nlink_t; nlink : nlink_t deprecated;
uid : uid_t; uid : uid_t deprecated;
gid : gid_t; gid : gid_t deprecated;
rdev : dev_t; rdev : dev_t deprecated;
pad2 : word; pad2 : word deprecated;
size : off_t; size : off_t deprecated;
blksize : blksize_t; blksize : blksize_t deprecated;
{$ifdef fs32bit} {$ifdef fs32bit}
blocks : blkcnt_t; blocks : blkcnt_t deprecated;
{$else} {$else}
blocks : blkcnt64_t; blocks : blkcnt64_t deprecated;
{$endif} {$endif}
atime, atime : cardinal deprecated;
atime_nsec, atime_nsec : cardinal deprecated;
mtime, mtime : cardinal deprecated;
mtime_nsec, mtime_nsec : cardinal deprecated;
ctime, ctime : cardinal deprecated;
ctime_nsec : cardinal; ctime_nsec : cardinal deprecated;
{$ifdef fs32bit} {$ifdef fs32bit}
unused4, unused5: cardinal; unused4 : cardinal deprecated;
unused5 : cardinal deprecated;
{$else} {$else}
ino : ino64_t; ino : ino64_t deprecated;
{$endif}); {$endif});
1: 1:
// kernel <->libc // kernel <->libc