[sr-dev] git:master:19769eb3: pv: use ctime_r() for a safer multi-thread usage