about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-25 01:55:02 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-25 01:55:02 +0200
commitfcafcd162c843364dc2bb8d57bd239c41cfd122c (patch)
treee374c7841085366fc78a92f6a66334adb36a8365 /ChangeLog
parent6174537c24cfe324d6e8f5a2a421883df12b8b6a (diff)
downloadglibc-fcafcd162c843364dc2bb8d57bd239c41cfd122c.tar.gz
glibc-fcafcd162c843364dc2bb8d57bd239c41cfd122c.tar.xz
glibc-fcafcd162c843364dc2bb8d57bd239c41cfd122c.zip
hurd: Fix exposition of s/gettimeofday through timespec_s/get
conform/ISO11/time.h/linknamespace complains that using timespec_get exposes
gettimeofday.

conform/POSIX/time.h/linknamespace complains that using clock_settime
exposes settimeofday.

	* sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
	__gettimeofday instead of gettimeofday.
	* sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
	instead of settimeofday.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 84b1937ce0..87803bd754 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,10 @@
 	* bits/socket.h: Likewise.
 	* support/resolv_test.c (server_thread_udp_process_one): Call recvfrom
 	instead of xrecvfrom, and ignore ECONNREFUSED errors.
+	* sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
+	__gettimeofday instead of gettimeofday.
+	* sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
+	instead of settimeofday.
 
 2017-09-22  Joseph Myers  <joseph@codesourcery.com>