| Summary: | [amd64] [patch] time_t on 64-bit architecture | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | IKEGAMI Akiko <gami> | ||||
| Component: | amd64 | Assignee: | freebsd-amd64 (Nobody) <amd64> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 6.3-PRERELEASE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
IKEGAMI Akiko
2008-01-12 11:20:00 UTC
Responsible Changed From-To: gnats-admin->freebsd-amd64 Reclassify. Whilst I agree that the existing LEAPYEAR macro can only handle dates between 1901 and 2099, this macro is only used to convert timestamps to/from the RTC - and currently that code will only support dates between 1970 and 2069. There is provision to separately store the century in the RTC but this code is not currently active. Note that the code to write the time back to the RTC currently steps year-by-year and is therefore also needs a rethink before the range is massively increased. -- Peter Jeremy State Changed From-To: open->closed Let's reopen this PR somewhen closer to year 2100 if x86 architecture and RTC are still around then. |