This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
Community source repository for glibc add-on ports branch, master, updated. glibc-2.15-214-gdbeb706
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 16 May 2012 10:53:55 -0000
- Subject: Community source repository for glibc add-on ports branch, master, updated. glibc-2.15-214-gdbeb706
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 "Community source repository for glibc add-on ports".
The branch, master has been updated
via dbeb70630bdaf3145153412057df2e79cd18c854 (commit)
from 8ae9fa0ec7be4302e1a6b42f30fc207cec5c922a (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-ports.git;a=commitdiff;h=dbeb70630bdaf3145153412057df2e79cd18c854
commit dbeb70630bdaf3145153412057df2e79cd18c854
Author: Joseph Myers <joseph@codesourcery.com>
Date: Wed May 16 10:53:31 2012 +0000
Declare MIPS stat nanoseconds fields similarly to other architectures.
diff --git a/ChangeLog.mips b/ChangeLog.mips
index db20a78..db16b4b 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,3 +1,11 @@
+2012-05-16 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat)
+ [!__USE_MISC && !__USE_XOPEN2K8]: Declare nanoseconds fields with
+ type unsigned long and names st_atimensec, st_mtimensec and
+ st_ctimensec.
+ (struct stat64) [!__USE_MISC && !__USE_XOPEN2K8]: Likewise.
+
2012-05-14 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/pread.c [!__ASSUME_PREAD_SYSCALL]:
diff --git a/sysdeps/unix/sysv/linux/mips/bits/stat.h b/sysdeps/unix/sysv/linux/mips/bits/stat.h
index 7c30b4d..f65bae4 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/stat.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/stat.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004,
- 2007, 2009, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 1992-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -77,12 +76,12 @@ struct stat
# define st_mtime st_mtim.tv_sec
# define st_ctime st_ctim.tv_sec
#else
- __time_t st_atime; /* Time of last access. */
- long int __reserved0;
- __time_t st_mtime; /* Time of last modification. */
- long int __reserved1;
- __time_t st_ctime; /* Time of last status change. */
- long int __reserved2;
+ __time_t st_atime; /* Time of last access. */
+ unsigned long int st_atimensec; /* Nscecs of last access. */
+ __time_t st_mtime; /* Time of last modification. */
+ unsigned long int st_mtimensec; /* Nsecs of last modification. */
+ __time_t st_ctime; /* Time of last status change. */
+ unsigned long int st_ctimensec; /* Nsecs of last status change. */
#endif
__blksize_t st_blksize; /* Optimal block size for I/O. */
#ifndef __USE_FILE_OFFSET64
@@ -118,12 +117,12 @@ struct stat64
struct timespec st_mtim; /* Time of last modification. */
struct timespec st_ctim; /* Time of last status change. */
# else
- __time_t st_atime; /* Time of last access. */
- long int __reserved0;
- __time_t st_mtime; /* Time of last modification. */
- long int __reserved1;
- __time_t st_ctime; /* Time of last status change. */
- long int __reserved2;
+ __time_t st_atime; /* Time of last access. */
+ unsigned long int st_atimensec; /* Nscecs of last access. */
+ __time_t st_mtime; /* Time of last modification. */
+ unsigned long int st_mtimensec; /* Nsecs of last modification. */
+ __time_t st_ctime; /* Time of last status change. */
+ unsigned long int st_ctimensec; /* Nsecs of last status change. */
# endif
__blksize_t st_blksize; /* Optimal block size for I/O. */
long int st_pad3;
@@ -168,12 +167,12 @@ struct stat
# define st_mtime st_mtim.tv_sec
# define st_ctime st_ctim.tv_sec
#else
- __time_t st_atime;
- int __reserved0;
- __time_t st_mtime;
- int __reserved1;
- __time_t st_ctime;
- int __reserved2;
+ __time_t st_atime; /* Time of last access. */
+ unsigned long int st_atimensec; /* Nscecs of last access. */
+ __time_t st_mtime; /* Time of last modification. */
+ unsigned long int st_mtimensec; /* Nsecs of last modification. */
+ __time_t st_ctime; /* Time of last status change. */
+ unsigned long int st_ctimensec; /* Nsecs of last status change. */
#endif
__blksize_t st_blksize;
unsigned int st_pad4;
@@ -209,12 +208,12 @@ struct stat64
struct timespec st_mtim; /* Time of last modification. */
struct timespec st_ctim; /* Time of last status change. */
# else
- __time_t st_atime;
- int __reserved0;
- __time_t st_mtime;
- int __reserved1;
- __time_t st_ctime;
- int __reserved2;
+ __time_t st_atime; /* Time of last access. */
+ unsigned long int st_atimensec; /* Nscecs of last access. */
+ __time_t st_mtime; /* Time of last modification. */
+ unsigned long int st_mtimensec; /* Nsecs of last modification. */
+ __time_t st_ctime; /* Time of last status change. */
+ unsigned long int st_ctimensec; /* Nsecs of last status change. */
# endif
__blksize_t st_blksize;
unsigned int st_pad3;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog.mips | 8 +++++
sysdeps/unix/sysv/linux/mips/bits/stat.h | 51 ++++++++++++++---------------
2 files changed, 33 insertions(+), 26 deletions(-)
hooks/post-receive
--
Community source repository for glibc add-on ports