Sync with cvs:
authorray <ray@openbsd.org>
Fri, 23 Jul 2010 09:14:58 +0000 (09:14 +0000)
committerray <ray@openbsd.org>
Fri, 23 Jul 2010 09:14:58 +0000 (09:14 +0000)
commit63849e5fd88548badb6b4cbc81e7a7d559f3c5cd
tree12a477430536eaef03cb23972328f65d676c845c
parent9a7aa69cdf267b75752748b6a0028e428cbc88fa
Sync with cvs:
Clean up struct tm handling. Instead of calling gmtime/localtime
and making copies (among other weird dances), use reentrant versions.

Not being able to tell the time is a fatal error, so die if that
happens.

Diff originally from nicm.

OK nicm xsa
usr.bin/rcs/date.y