Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Time jumps
Sergei Haller wrote:
>
> On Tue, 24 Dec 2002, Klaus Schmidinger (KS) wrote:
>
> KS>
> KS> The call to localtime_r(&mjdtime, &tm_r) sets 'mjdtime', and that _is_ used.
> KS>
>
> are you sure?
>
> struct tm tm_r;
> ptm = localtime_r(&mjdtime, &tm_r);
>
> from which information should localtime_r set 'mjdtime'? 'tm_r' is just
> initialized.
>
> 'mjdtime' is set in cMJD::ConvertToTime(), which is called from cMJD::cMJD
>
> Or does localtime_r modify 'mjdtime' in some way?
Oh, sorry, I guess I was a little confused there.
Well, then all I can think of is that the setting of the time zone is what
this call is done for.
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