From: Eli Zaretskii Date: Fri, 9 May 2008 19:01:28 +0000 (+0000) Subject: (struct stat): Move st_dev after st_ino, for better alignment. X-Git-Tag: emacs-pretest-23.0.90~5667 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=71e41ffb85e94bf77260acdb71eed141e6756a6f;p=emacs.git (struct stat): Move st_dev after st_ino, for better alignment. Make st_size 64-bit wide. Add new members st_uname and st_gname. --- diff --git a/nt/ChangeLog b/nt/ChangeLog index 1b4f9a54461..6b0ad30b696 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,5 +1,9 @@ 2008-05-09 Eli Zaretskii + * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for + better alignment. Make st_size 64-bit wide. Add new members + st_uname and st_gname. + * inc/grp.h (struct group): Add gr_gid member. 2008-04-23 Eli Zaretskii diff --git a/nt/inc/sys/stat.h b/nt/inc/sys/stat.h index e2329f75239..d999760610a 100644 --- a/nt/inc/sys/stat.h +++ b/nt/inc/sys/stat.h @@ -57,17 +57,19 @@ along with GNU Emacs. If not, see . */ #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) struct stat { - dev_t st_dev; unsigned __int64 st_ino; /* ino_t in sys/types.h is too narrow */ + dev_t st_dev; unsigned short st_mode; short st_nlink; int st_uid; int st_gid; + unsigned __int64 st_size; dev_t st_rdev; - off_t st_size; time_t st_atime; time_t st_mtime; time_t st_ctime; + char st_uname[260]; + char st_gname[260]; }; _CRTIMP int __cdecl __MINGW_NOTHROW fstat (int, struct stat*);