mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-23 20:59:19 +02:00
* removed restoration ofa compability that never existed
git-svn-id: trunk@7267 -
This commit is contained in:
parent
a42d80dbf9
commit
2214c11330
@ -59,38 +59,7 @@ TYPE
|
|||||||
|
|
||||||
{ file characteristics services }
|
{ file characteristics services }
|
||||||
stat = record { the types are real}
|
stat = record { the types are real}
|
||||||
case byte of
|
st_dev : dev_t; // inode's device
|
||||||
0:
|
|
||||||
(dev : dev_t; // inode's device
|
|
||||||
ino : ino_t; // inode's number
|
|
||||||
mode : mode_t; // inode protection mode
|
|
||||||
nlink : nlink_t; // number of hard links
|
|
||||||
uid : uid_t; // user ID of the file's owner
|
|
||||||
gid : gid_t; // group ID of the file's group
|
|
||||||
rdev : dev_t; // device type
|
|
||||||
atime : time_t; // time of last access
|
|
||||||
atimensec : clong; // nsec of last access
|
|
||||||
mtime : time_t; // time of last data modification
|
|
||||||
mtimensec : clong; // nsec of last data modification
|
|
||||||
ctime : time_t; // time of last file status change
|
|
||||||
ctimensec : clong; // nsec of last file status change
|
|
||||||
{$ifdef netbsdPowerpc}
|
|
||||||
padd1 : cint;
|
|
||||||
{$endif}
|
|
||||||
size : off_t; // file size, in bytes
|
|
||||||
blocks : cint64; // blocks allocated for file
|
|
||||||
blksize : cuint32; // optimal blocksize for I/O
|
|
||||||
flags : cuint32; // user defined flags for file
|
|
||||||
gen : cuint32; // file generation number
|
|
||||||
{$ifdef netbsdPowerpc}
|
|
||||||
padd2 : cint;
|
|
||||||
{$endif}
|
|
||||||
{$ifndef NetBSD}
|
|
||||||
lspare : cint32;
|
|
||||||
{$endif}
|
|
||||||
qspare : array[0..1] Of cint64;);
|
|
||||||
1:
|
|
||||||
(st_dev : dev_t; // inode's device
|
|
||||||
st_ino : ino_t; // inode's number
|
st_ino : ino_t; // inode's number
|
||||||
st_mode : mode_t; // inode protection mode
|
st_mode : mode_t; // inode protection mode
|
||||||
st_nlink : nlink_t; // number of hard links
|
st_nlink : nlink_t; // number of hard links
|
||||||
@ -117,7 +86,7 @@ TYPE
|
|||||||
{$ifndef NetBSD}
|
{$ifndef NetBSD}
|
||||||
st_lspare : cint32;
|
st_lspare : cint32;
|
||||||
{$endif}
|
{$endif}
|
||||||
st_qspare : array[0..1] Of cint64;);
|
st_qspare : array[0..1] Of cint64;
|
||||||
end;
|
end;
|
||||||
TStat = stat;
|
TStat = stat;
|
||||||
pStat = ^stat;
|
pStat = ^stat;
|
||||||
|
Loading…
Reference in New Issue
Block a user