RFC: __kernel_time_t

Aurelien Jarno aurelien at aurel32.net
Tue Jan 3 19:24:57 UTC 2006


On Tue, Jan 03, 2006 at 08:20:27PM +0100, Robert Millan wrote:
> On Tue, Jan 03, 2006 at 08:07:54PM +0100, Aurelien Jarno wrote:
> > 
> > First, you will se that our definition is wrong in case of amd64, ia64
> > and sparc64. Then __time_t in the kernel == __time_t in userland on all 
> > platforms but alpha. That's probably because alpha is the first 64-bit
> > port and at the time it was done, the wrong choice has been done about
> > the type of __time_t.
> 
> Maybe this helps:
> 
> http://lists.alioth.debian.org/pipermail/glibc-bsd-devel/2004-December/000324.html
> 
> According to Bruno, alpha's 32bit time_t won't overflow untill 2038.  I don't
> think anybody will care about alpha at that time, so my suggestion would be to
> just ignore the problem and use whatever the kernel uses.

What do you mean by "ignoring the problem"? If we change nothing, that's
mean we will keep our ugly-hack, and we will also have problems with the
amd64 port.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32 at debian.org         | aurelien at aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



More information about the Glibc-bsd-devel mailing list