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.21-68-g87a629c


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  87a629c5d7aa559e5c144196bce123469b17af4c (commit)
      from  03d95bd48319256bd29cfaece45919fc58bf56cc (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=87a629c5d7aa559e5c144196bce123469b17af4c

commit 87a629c5d7aa559e5c144196bce123469b17af4c
Author: Rüdiger Sonderfeld <ruediger@c-plusplus.net>
Date:   Thu Feb 12 14:51:31 2015 -0500

    Document tv_sec is of type time_t:
    
    The tv_sec is of type time_t in both struct timeval and struct timespec.
    This matches the implementation and also the relevant standard (checked
    C11 for timespec and opengroup for timeval).

diff --git a/ChangeLog b/ChangeLog
index 54da8c5..986554f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
+
+	[BZ #17965]
+	* manual/time.texi (Elapsed Time): tv_sec is of type time_t in
+	both struct timeval and struct timespec.
+
 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #16560]
diff --git a/NEWS b/NEWS
index c3d2c97..37e17ad 100644
--- a/NEWS
+++ b/NEWS
@@ -9,7 +9,7 @@ Version 2.22
 
 * The following bugs are resolved with this release:
 
-  4719, 15467, 15790, 16560, 17912, 17932, 17944, 17949.
+  4719, 15467, 15790, 16560, 17912, 17932, 17944, 17949, 17965.
 
 Version 2.21
 
diff --git a/manual/time.texi b/manual/time.texi
index 8a5f94e..a7bf156 100644
--- a/manual/time.texi
+++ b/manual/time.texi
@@ -104,7 +104,7 @@ The @code{struct timeval} structure represents an elapsed time.  It is
 declared in @file{sys/time.h} and has the following members:
 
 @table @code
-@item long int tv_sec
+@item time_t tv_sec
 This represents the number of whole seconds of elapsed time.
 
 @item long int tv_usec
@@ -123,7 +123,7 @@ The @code{struct timespec} structure represents an elapsed time.  It is
 declared in @file{time.h} and has the following members:
 
 @table @code
-@item long int tv_sec
+@item time_t tv_sec
 This represents the number of whole seconds of elapsed time.
 
 @item long int tv_nsec

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

Summary of changes:
 ChangeLog        |    6 ++++++
 NEWS             |    2 +-
 manual/time.texi |    4 ++--
 3 files changed, 9 insertions(+), 3 deletions(-)


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]