1 |
Grant Edwards <grant.b.edwards@×××××.com> wrote: |
2 |
|
3 |
> Well, the return type for time() changed from "int" (or was it long?) |
4 |
> to "time_t" many years back. That said, the actual underlying |
5 |
> representation has never changed on 32-bit Linux systems. Posix |
6 |
> requires it to be signed, and on 32-bit Linux systems, it's still |
7 |
> going to overflow in 2038 -- same as it ever was. |
8 |
|
9 |
time() did always return a long, in special since it counts only in seconds. |
10 |
|
11 |
Unfortunately Tru64 from DEC changed that to an int and Linux copied the bug. |
12 |
|
13 |
FreeBSD was going to make the same mistake, but I warned them and they delayed |
14 |
their 64bit kernel until they had tested everything well enough. |
15 |
|
16 |
Jörg |
17 |
|
18 |
-- |
19 |
EMail:joerg@××××××.net (home) Jörg Schilling D-13353 Berlin |
20 |
joerg.schilling@××××××××××××××××.de (work) Blog: http://schily.blogspot.com/ |
21 |
URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/' |