| Summary: | @dts function in xspred, ss and sc fails for year 2000 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Julian Elischer <julian> |
| Component: | Individual Port(s) | Assignee: | freebsd-ports (Nobody) <ports> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Suggested patches committed. |
grep in source for 1999. the "date to seconds" function checks for year . 1999 and returns error. Since 2000 IS a leapyear this can simply be replaced with 2038 or maybe even 2099 Fix: remove bogus check for 1999 and replace with 2099 (interp.c) How-To-Repeat: use @dts(2000, 1, 1)