From de3f4e72ed3ded650fcee9298c4288b907e50d2d Mon Sep 17 00:00:00 2001 From: pierre Date: Fri, 7 Jul 2017 15:10:46 +0000 Subject: [PATCH] Try to get a correct stat record git-svn-id: trunk@36666 - --- rtl/linux/sparc64/stat.inc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/rtl/linux/sparc64/stat.inc b/rtl/linux/sparc64/stat.inc index dcd594c2a0..7b1025524b 100644 --- a/rtl/linux/sparc64/stat.inc +++ b/rtl/linux/sparc64/stat.inc @@ -19,20 +19,22 @@ { do NOT declare this record as packed, because it needs to be aligned } { to its largest member (i.e., 8 bytes), and declaring it as packed } { disables that } + { extracted from "/usr/sparc64-linux-gnu/include/bits/stat.h" line 38 } Stat = record // No unix typing because of differences st_dev : culong; + __pad1 : cushort; st_ino : culong; - st_nlink : culong; - st_mode : cuint; + st_nlink : cuint; + st_uid : cuint; st_gid : cuint; - __pad0 : cuint; st_rdev : culong; - st_size : clong; - st_blksize: clong; - st_blocks : clong; + __pad2 : cushort; + st_size : clonglong; + st_blksize: culong; + st_blocks : culong; st_atime : culong; st_atime_nsec : culong;