Mailing List archive

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

Setting system time not working in VDR 0.67



Apparently VDR 0.67 doesn't set the system time after restarting
the program. The following patch fixes this:

--- vdr.c       2000/11/01 14:31:32     1.41
+++ vdr.c       2000/11/03 15:31:03
@@ -156,11 +156,6 @@
      }
   isyslog(LOG_INFO, "VDR version %s started", VDRVERSION);
 
-  // DVB interfaces:
-
-  if (!cDvbApi::Init())
-     abort();
-
   // Configuration data:
 
   if (!ConfigDirectory)
@@ -174,6 +169,11 @@
 #else
   bool KeysLoaded = Keys.Load(AddDirectory(ConfigDirectory, KEYS_CONF));
 #endif
+
+  // DVB interfaces:
+
+  if (!cDvbApi::Init())
+     abort();
 
   cDvbApi::SetPrimaryDvbApi(Setup.PrimaryDVB);

Greetings
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
_______________________________________________________________


Home | Main Index | Thread Index