summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorAlbert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>2017-02-07 22:21:14 +0100
committerAlbert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>2017-06-28 07:29:04 +0200
commit6c6f234bc2f11c7a219dda730aeb532929e89380 (patch)
treeb6e49e757ca8f88500d2c453fae723e0779b667f /sysdeps
parent3a166b60d1aaaeae91fd3c13a9eb6ee6a7da26a9 (diff)
downloadglibc-6c6f234bc2f11c7a219dda730aeb532929e89380.tar.gz
Y2038: implement Y2038-proof mktime (and timelocal)
API 'mktime' (aka 'timelocal') is implemented by function __mktime64. __mktime64 is designed similar to mktime, including checks on (64-bit) integer limits, and respects the same Posix requirements as __mktime does, i.e. calls tzset(). Also, the implementation does not require a Y2038-proof kernel.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/arm/Versions1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/Versions b/sysdeps/unix/sysv/linux/arm/Versions
index dd6a160c75..546d7c60ee 100644
--- a/sysdeps/unix/sysv/linux/arm/Versions
+++ b/sysdeps/unix/sysv/linux/arm/Versions
@@ -25,5 +25,6 @@ libc {
__ctime64; __ctime64_r;
__gmtime64; __gmtime64_r;
__localtime64; __localtime64_r;
+ __mktime64; __timelocal64_r;
}
}