summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--NEWS2
-rw-r--r--manual/time.texi4
3 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 54da8c5fac..986554fc18 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 c3d2c974bb..37e17ad1ad 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 8a5f94ed81..a7bf156a79 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