about summary refs log tree commit diff
path: root/src/time/getdate.c
Commit message (Collapse)AuthorAgeFilesLines
* getdate: correctly specify error numberA. Wilcox2017-06-141-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.
* more close-on-exec fixes, mostly using new "e" flag to fopenRich Felker2012-09-291-1/+1
|
* remove debug cruft that was left in getdateRich Felker2012-03-021-2/+0
|
* first try at implementing getdate functionRich Felker2012-03-021-0/+47