Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Two small fixes to VDR 1.1.17
There are two problems with VDR 1.1.17.
One is a missing initialization of 'number' in cChannel (thanks to Martin Hammerschmid
for reporting this problem) and the other is that I misplaced a ')' in the fix
about stale lock files I received from Oliver Endriss - silly me...
Here's the patch for these two problems:
--- channels.c 2002/11/24 14:28:48 1.9
+++ channels.c 2002/11/24 20:09:42
@@ -174,6 +174,7 @@
tid = 0;
sid = 888;
rid = 0;
+ number = 0;
groupSep = false;
polarization = 'v';
inversion = INVERSION_AUTO;
--- tools.c 2002/11/24 16:04:57 1.75
+++ tools.c 2002/11/24 20:17:31
@@ -722,7 +722,7 @@
if (errno == EEXIST) {
struct stat fs;
if (stat(fileName, &fs) == 0) {
- if (abs(time(NULL)) - fs.st_mtime > LOCKFILESTALETIME) {
+ if (abs(time(NULL) - fs.st_mtime) > LOCKFILESTALETIME) {
esyslog("ERROR: removing stale lock file '%s'", fileName);
if (remove(fileName) < 0) {
LOG_ERROR_STR(fileName);
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