summaryrefslogtreecommitdiff
path: root/src/time/getdate.c
AgeCommit message (Collapse)AuthorLines
2017-06-14getdate: correctly specify error numberA. Wilcox-1/+2
POSIX defines getdate error #5 as: "An I/O error is encountered while reading the template file." POSIX defines getdate error #7 as: "There is no line in the template that matches the input." This change correctly disambiguates between the two error conditions.
2012-09-29more close-on-exec fixes, mostly using new "e" flag to fopenRich Felker-1/+1
2012-03-02remove debug cruft that was left in getdateRich Felker-2/+0
2012-03-02first try at implementing getdate functionRich Felker-0/+47