summaryrefslogtreecommitdiff
path: root/src/time/ctime.c
AgeCommit message (Collapse)AuthorLines
2017-06-15handle localtime errors in ctimeRich Felker-1/+3
ctime passes the result from localtime directly to asctime. But in case of error, localtime returns 0. This causes an error (NULL pointer dereference) in asctime. based on patch by Omer Anson.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+6