This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.15-1120-gaac639f


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  aac639f42cb2d40753bc5f8a90acd974be153fe1 (commit)
       via  67b6df7841887f676f74843ae188301b34522dc5 (commit)
      from  1c2cfe819361507ca39a3a11cfdaefbc1a7cdd41 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=aac639f42cb2d40753bc5f8a90acd974be153fe1

commit aac639f42cb2d40753bc5f8a90acd974be153fe1
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu May 31 16:49:38 2012 -0700

    Use x86_64 bits/stat.h for i386 and x86-64

diff --git a/ChangeLog b/ChangeLog
index 7625223..233e0be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #14117]
+	* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
+	* sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
+
 	* 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.
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/stat.h b/sysdeps/unix/sysv/linux/x86/bits/stat.h
similarity index 100%
rename from sysdeps/unix/sysv/linux/x86_64/bits/stat.h
rename to sysdeps/unix/sysv/linux/x86/bits/stat.h

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=67b6df7841887f676f74843ae188301b34522dc5

commit 67b6df7841887f676f74843ae188301b34522dc5
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu May 31 16:47:45 2012 -0700

    Update x86_64 bits/stat.h

diff --git a/ChangeLog b/ChangeLog
index c410414..7625223 100644
--- a/ChangeLog
+++ b/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>
 
 	* sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/stat.h b/sysdeps/unix/sysv/linux/x86_64/bits/stat.h
index 691c437..e4c0b24 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/stat.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/stat.h
@@ -23,9 +23,9 @@
 #define _BITS_STAT_H	1
 
 /* Versions of the `struct stat' data structure.  */
-#define _STAT_VER_KERNEL	0
-
 #ifndef __x86_64__
+# define _STAT_VER_LINUX_OLD	1
+# define _STAT_VER_KERNEL	1
 # define _STAT_VER_SVR4		2
 # define _STAT_VER_LINUX	3
 
@@ -34,6 +34,7 @@
 # define _MKNOD_VER_SVR4	2
 # define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below.  */
 #else
+# define _STAT_VER_KERNEL	0
 # define _STAT_VER_LINUX	1
 
 /* x86-64 versions of the `xmknod' interface.  */
@@ -151,9 +152,6 @@ struct stat64
     struct timespec st_atim;		/* Time of last access.  */
     struct timespec st_mtim;		/* Time of last modification.  */
     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
     __time_t st_atime;			/* Time of last access.  */
     __syscall_ulong_t st_atimensec;	/* Nscecs of last access.  */

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   13 +++++++++++++
 .../unix/sysv/linux/{x86_64 => x86}/bits/stat.h    |    8 +++-----
 2 files changed, 16 insertions(+), 5 deletions(-)
 rename sysdeps/unix/sysv/linux/{x86_64 => x86}/bits/stat.h (97%)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]