This is the mail archive of the
mailing list for the glibc project.
Re: Second draft of the Y2038 design document
- From: Paul Eggert <eggert at cs dot ucla dot edu>
- To: Albert ARIBAUD <albert dot aribaud at 3adev dot fr>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 28 Jan 2016 13:13:09 -0800
- Subject: Re: Second draft of the Y2038 design document
- Authentication-results: sourceware.org; auth=none
- References: <20160128204114 dot 6c7dbbf7 dot albert dot aribaud at 3adev dot fr>
Some typos: "1901-12-13 19:55:13 UTC" should be "1901-12-13 20:45:52
UTC". "sentive" should be "sensitive". "20338" should be "2038". "Thins"
should be "This".
I don't see why functions like 'time' and 'gettimeofday' should be
allowed to misbehave on 64-bit hosts after 2038. They should just work.
Glibc should not worry about 64-bit kernels without 64-bit time support.
Any such kernels should just get fixed before 2038 rolls around.
Why are struct rusage, getrusage, etc. Y2038-sensitive? They hold
intervals, not absolute times.