mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-07 13:28:05 +08:00
Update.
2002-02-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Remove packed attribute, change __pad{1,2} type to unsigned int. (struct stat64): Remove packed attribute.
This commit is contained in:
parent
04b6da2724
commit
935fbdbd6a
@ -1,3 +1,9 @@
|
|||||||
|
2002-02-07 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Remove packed
|
||||||
|
attribute, change __pad{1,2} type to unsigned int.
|
||||||
|
(struct stat64): Remove packed attribute.
|
||||||
|
|
||||||
2002-02-07 Ulrich Drepper <drepper@redhat.com>
|
2002-02-07 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/i386/dl-tls.h: No need for #ifdef USE_TLS.
|
* sysdeps/i386/dl-tls.h: No need for #ifdef USE_TLS.
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
struct stat
|
struct stat
|
||||||
{
|
{
|
||||||
__dev_t st_dev; /* Device. */
|
__dev_t st_dev; /* Device. */
|
||||||
unsigned short int __pad1;
|
unsigned int __pad1;
|
||||||
#ifndef __USE_FILE_OFFSET64
|
#ifndef __USE_FILE_OFFSET64
|
||||||
__ino_t st_ino; /* File serial number. */
|
__ino_t st_ino; /* File serial number. */
|
||||||
#else
|
#else
|
||||||
@ -47,7 +47,7 @@ struct stat
|
|||||||
__uid_t st_uid; /* User ID of the file's owner. */
|
__uid_t st_uid; /* User ID of the file's owner. */
|
||||||
__gid_t st_gid; /* Group ID of the file's group.*/
|
__gid_t st_gid; /* Group ID of the file's group.*/
|
||||||
__dev_t st_rdev; /* Device number, if device. */
|
__dev_t st_rdev; /* Device number, if device. */
|
||||||
unsigned short int __pad2;
|
unsigned int __pad2;
|
||||||
#ifndef __USE_FILE_OFFSET64
|
#ifndef __USE_FILE_OFFSET64
|
||||||
__off_t st_size; /* Size of file, in bytes. */
|
__off_t st_size; /* Size of file, in bytes. */
|
||||||
#else
|
#else
|
||||||
@ -72,7 +72,7 @@ struct stat
|
|||||||
#else
|
#else
|
||||||
__ino64_t st_ino; /* File serial number. */
|
__ino64_t st_ino; /* File serial number. */
|
||||||
#endif
|
#endif
|
||||||
} __attribute__ ((__packed__));
|
};
|
||||||
|
|
||||||
#ifdef __USE_LARGEFILE64
|
#ifdef __USE_LARGEFILE64
|
||||||
struct stat64
|
struct stat64
|
||||||
@ -98,7 +98,7 @@ struct stat64
|
|||||||
__time_t st_ctime; /* Time of last status change. */
|
__time_t st_ctime; /* Time of last status change. */
|
||||||
unsigned long int __unused3;
|
unsigned long int __unused3;
|
||||||
__ino64_t st_ino; /* File serial number. */
|
__ino64_t st_ino; /* File serial number. */
|
||||||
} __attribute__ ((__packed__));
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Tell code we have these members. */
|
/* Tell code we have these members. */
|
||||||
|
Loading…
Reference in New Issue
Block a user