lkml.org 
[lkml]   [2000]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: time_t size: The year 2038 bug?
Date

> people do and will continue to do stuff like
>
> time_t tx;
> ...
> time(&tx);
> write(tx,sizeof(time_t),fd);
>
> and this gets embedded into fileformats like tar and various databases
> making it very hard to change.

That is flat out broken. Nothing you can do will fix that. You obviously
can't fix that with a library or kernel change because any change in the
definition of a 'time_t' will _break_ that code. Code that has that in it
_deserves_ to break.

DS


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.081 / U:1.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site