Bug 17070 - @dts function in xspred, ss and sc fails for year 2000
Summary: @dts function in xspred, ss and sc fails for year 2000
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-02-29 12:30 UTC by Julian Elischer
Modified: 2000-03-10 12:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Elischer freebsd_committer freebsd_triage 2000-02-29 12:30:02 UTC
 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)
Comment 1 Thomas Gellekum freebsd_committer freebsd_triage 2000-03-10 12:32:15 UTC
State Changed
From-To: open->closed

Suggested patches committed.