From 161b963fc50ad9c70495d921705a3e9584bd7412 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 24 Nov 2002 20:13:56 +0100 Subject: Fixed missing initialization of 'number' in cChannel --- CONTRIBUTORS | 1 + HISTORY | 5 +++++ channels.c | 3 ++- config.h | 4 ++-- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index d8ecbf35..fd25c420 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -48,6 +48,7 @@ Martin Hammerschmid for adding a missing #include to ringbuffer.c for adding a missing 'public' keyword in device.h for pointing out a bug in displaying the group separators in the channel display + for reporting a problem with a missing initialization of 'number' in cChannel Bastian Guse for writing the FORMATS entry for timers.conf diff --git a/HISTORY b/HISTORY index 4d215082..ebec7985 100644 --- a/HISTORY +++ b/HISTORY @@ -1812,3 +1812,8 @@ Video Disk Recorder Revision History 'now +/- LOCKFILESTALETIME'. This improves things in cases where the system time makes far jumps, so that a lock file might end up with a time stamp that lies in the distant future (thanks to Oliver Endriss). + +2002-11-24: Version 1.1.18 + +- Fixed missing initialization of 'number' in cChannel (thanks to Martin Hammerschmid + for reporting this one). diff --git a/channels.c b/channels.c index 6afa7b95..b69e4549 100644 --- a/channels.c +++ b/channels.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: channels.c 1.9 2002/11/24 14:28:48 kls Exp $ + * $Id: channels.c 1.10 2002/11/24 20:09:42 kls Exp $ */ #include "channels.h" @@ -174,6 +174,7 @@ cChannel::cChannel(void) tid = 0; sid = 888; rid = 0; + number = 0; groupSep = false; polarization = 'v'; inversion = INVERSION_AUTO; diff --git a/config.h b/config.h index 0c84ad41..43fbfbad 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.141 2002/11/24 12:28:20 kls Exp $ + * $Id: config.h 1.142 2002/11/24 20:09:56 kls Exp $ */ #ifndef __CONFIG_H @@ -19,7 +19,7 @@ #include "device.h" #include "tools.h" -#define VDRVERSION "1.1.17" +#define VDRVERSION "1.1.18" #define MAXPRIORITY 99 #define MAXLIFETIME 99 -- cgit v1.2.3