mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-10 03:10:09 +00:00
Update x86_64 bits/stat.h
This commit is contained in:
parent
1c2cfe8193
commit
67b6df7841
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
[BZ #14117]
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
|
||||||
|
Defined to 1 if __x86_64__ isn't defined.
|
||||||
|
(_STAT_VER_LINUX_OLD): New.
|
||||||
|
(st_atime): Remove duplicate.
|
||||||
|
(st_mtime): Likewise.
|
||||||
|
(st_ctime): Likewise.
|
||||||
|
|
||||||
2012-05-31 David S. Miller <davem@davemloft.net>
|
2012-05-31 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
* sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
|
* sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
|
||||||
|
@ -23,9 +23,9 @@
|
|||||||
#define _BITS_STAT_H 1
|
#define _BITS_STAT_H 1
|
||||||
|
|
||||||
/* Versions of the `struct stat' data structure. */
|
/* Versions of the `struct stat' data structure. */
|
||||||
#define _STAT_VER_KERNEL 0
|
|
||||||
|
|
||||||
#ifndef __x86_64__
|
#ifndef __x86_64__
|
||||||
|
# define _STAT_VER_LINUX_OLD 1
|
||||||
|
# define _STAT_VER_KERNEL 1
|
||||||
# define _STAT_VER_SVR4 2
|
# define _STAT_VER_SVR4 2
|
||||||
# define _STAT_VER_LINUX 3
|
# define _STAT_VER_LINUX 3
|
||||||
|
|
||||||
@ -34,6 +34,7 @@
|
|||||||
# define _MKNOD_VER_SVR4 2
|
# define _MKNOD_VER_SVR4 2
|
||||||
# define _MKNOD_VER _MKNOD_VER_LINUX /* The bits defined below. */
|
# define _MKNOD_VER _MKNOD_VER_LINUX /* The bits defined below. */
|
||||||
#else
|
#else
|
||||||
|
# define _STAT_VER_KERNEL 0
|
||||||
# define _STAT_VER_LINUX 1
|
# define _STAT_VER_LINUX 1
|
||||||
|
|
||||||
/* x86-64 versions of the `xmknod' interface. */
|
/* x86-64 versions of the `xmknod' interface. */
|
||||||
@ -151,9 +152,6 @@ struct stat64
|
|||||||
struct timespec st_atim; /* Time of last access. */
|
struct timespec st_atim; /* Time of last access. */
|
||||||
struct timespec st_mtim; /* Time of last modification. */
|
struct timespec st_mtim; /* Time of last modification. */
|
||||||
struct timespec st_ctim; /* Time of last status change. */
|
struct timespec st_ctim; /* Time of last status change. */
|
||||||
# define st_atime st_atim.tv_sec /* Backward compatibility. */
|
|
||||||
# define st_mtime st_mtim.tv_sec
|
|
||||||
# define st_ctime st_ctim.tv_sec
|
|
||||||
# else
|
# else
|
||||||
__time_t st_atime; /* Time of last access. */
|
__time_t st_atime; /* Time of last access. */
|
||||||
__syscall_ulong_t st_atimensec; /* Nscecs of last access. */
|
__syscall_ulong_t st_atimensec; /* Nscecs of last access. */
|
||||||
|
Loading…
Reference in New Issue
Block a user