summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-05-15 14:36:17 +0200
committerBruno Haible <bruno@clisp.org>2023-05-15 14:36:17 +0200
commit3a70af2168910c6ad0d59924d276f831638a52e0 (patch)
tree9268245b1a4ca43369c4a3583f36936b7c33a026 /ChangeLog
parentebd843b31b8f61d3f9dd250b41c237bf5f3e01a6 (diff)
downloadgnulib-3a70af2168910c6ad0d59924d276f831638a52e0.tar.gz
gettimeofday, pthread-*, thread, thrd: Don't omit intended initializers.
* lib/gettimeofday.c (gettimeofday): List the initializers of both tv_sec and tv_usec. * lib/glthread/thread.c (gl_thread_self): List the initializers of both tv_sec and tv_nsec. * lib/pthread-cond.c (pthread_cond_wait): Likewise. * lib/thrd.c (rpl_thrd_current): Likewise. * lib/pthread-rwlock.c (MIN): New macro. (pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock): List the initializers of both tv_sec and tv_nsec. Don't modify the duration after having initialized it. * lib/pthread_mutex_timedlock.c (MIN): New macro. (pthread_mutex_timedlock): List the initializers of both tv_sec and tv_nsec. Don't modify the duration after having initialized it.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d01675a51c..9bf5a0d874 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,20 @@
2023-05-15 Bruno Haible <bruno@clisp.org>
+ gettimeofday, pthread-*, thread, thrd: Don't omit intended initializers.
+ * lib/gettimeofday.c (gettimeofday): List the initializers of both
+ tv_sec and tv_usec.
+ * lib/glthread/thread.c (gl_thread_self): List the initializers of both
+ tv_sec and tv_nsec.
+ * lib/pthread-cond.c (pthread_cond_wait): Likewise.
+ * lib/thrd.c (rpl_thrd_current): Likewise.
+ * lib/pthread-rwlock.c (MIN): New macro.
+ (pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock): List the
+ initializers of both tv_sec and tv_nsec. Don't modify the duration after
+ having initialized it.
+ * lib/pthread_mutex_timedlock.c (MIN): New macro.
+ (pthread_mutex_timedlock): List the initializers of both tv_sec and
+ tv_nsec. Don't modify the duration after having initialized it.
+
select: Fix compilation error (regression from yesterday).
* lib/select.c (rpl_select): Revert last change.