HomeFreeBSD

Do not print the result of strftime() in case of failure, the content is

Description

Do not print the result of strftime() in case of failure, the content is
indeterminate in such a case. The correct value for 2nd argument is
sizeof(buf). Do not NUL-terminate the result string, strftime() will do it
for us.

Details

Provenance
Philippe Charnier <charnier@FreeBSD.org>Authored on Sep 7 2003, 4:31 PM
Parents
rG3f22597838c3: update my email address.
Branches
Unknown
Tags
Unknown

Event Timeline