mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 06:18:16 +02:00
st_mode is before st_ino for NetBSD in stat record
git-svn-id: trunk@20737 -
This commit is contained in:
parent
f0a75c1254
commit
67bc3c0e0b
@ -69,8 +69,14 @@ TYPE
|
||||
st_nlink : nlink_t; // number of hard links
|
||||
st_ino : ino_t; // inode's number
|
||||
{$else}
|
||||
{$ifdef netbsd}
|
||||
{ order is inverted for better alignment probably }
|
||||
st_mode : mode_t; // inode protection mode
|
||||
st_ino : ino_t; // inode's number
|
||||
{$else not netbsd}
|
||||
st_ino : ino_t; // inode's number
|
||||
st_mode : mode_t; // inode protection mode
|
||||
{$endif not netbsd}
|
||||
st_nlink : nlink_t; // number of hard links
|
||||
{$endif}
|
||||
st_uid : uid_t; // user ID of the file's owner
|
||||
|
Loading…
Reference in New Issue
Block a user