Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Time jumps
Sergei Haller wrote:
>
> ...
> but while we're at it: what is the need need of `ptm' and `tm_r' in
> cMJD::SetSystemTime() ?
Since localtime() is not thread safe we need to use localtime_r(), which
requires an extra 'struct tm' parameter. The 'ptm' in cMJD::SetSystemTime()
is actually superfluous, maybe it comes from copying these lines from somewhere
else...
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index