When ctime_r is not available, then don't use it (i.e. bad copy/paste). Factor out common code. Return error indication if there was an error (however unlikely).
When ctime_r is not available, then don't use it (i.e. bad
copy/paste).
Factor out common code.
Return error indication if there was an error (however unlikely).

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb