vdr-1.5.1 & problems with the new shutdown code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 04, 2007 at 08:31:16PM +0100, Udo Richter wrote:
> Rolf Ahrenberg wrote:
> >On Sun, 4 Mar 2007, Udo Richter wrote:
> >Mar  4 18:31:14 xxx vdr: [6740] LastActivity: Never
> >Mar  4 18:31:14 xxx vdr: [6740] ActiveTimeout:   2104
> >Mar  4 18:31:14 xxx vdr: [6740] Retry:  Never
> >
> >... goes on and on and no shutdown attempts...
> 
> Found it! And, more important: Blame Klaus! :)
> 
> Klaus changed the meaning of cRemote::LastActivity() before integrating 
> it, and missed to adapt one call to it, the cRemote::LastActivity() > 
> ACTIVITYTIMEOUT check before doing housekeeping. And after startup, 
> cRemote::LastActivity() will return 0, blocking all housekeeping. 
> Correct is (time(NULL) - cRemote::LastActivity()) > ACTIVITYTIMEOUT, as 
> in the attached patch.

That explains why I haven't had any problems with this, with any version
of your shutdown rewrite patch for vdr 1.4.  It's good to use the stable
version. :-)

	Marko


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux