[sr-dev] git:master:3dc960b6: xprint: use ctime_r() for a safer multi-thread usage