From e325ba4e26a0b979bd6e3fa369728ee1850e1fec Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 13 Apr 2008 12:45:15 +0200 Subject: [PATCH] Fixed initializing the timer's flags in the cTimer copy constructor --- CONTRIBUTORS | 1 + HISTORY | 2 ++ timers.c | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 43c7f307..e83cd925 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -960,6 +960,7 @@ Andreas Mair for making the SVDRP command LSTC list the channels with group separators if the option ':groups' is given for fixing handling 3 and 4 byte UTF-8 symbols in Utf8CharGet() + for fixing initializing the timer's flags in the cTimer copy constructor Olivier Jacques ) for translating OSD texts to the French language diff --git a/HISTORY b/HISTORY index fafe28e3..153efaba 100644 --- a/HISTORY +++ b/HISTORY @@ -5745,6 +5745,8 @@ Video Disk Recorder Revision History heavy load (suggested by Helmut Auer). - Now setting the thread name, so that it can be seen in 'top -H' (thanks to Rolf Ahrenberg). +- Fixed initializing the timer's flags in the cTimer copy constructor (thanks to + Andreas Mair). 2008-04-13: Version 1.6.0-1 diff --git a/timers.c b/timers.c index c76511e8..b963dee0 100644 --- a/timers.c +++ b/timers.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.c 1.73 2008/02/16 14:47:40 kls Exp $ + * $Id: timers.c 2.1 2008/04/13 12:41:41 kls Exp $ */ #include "timers.h" @@ -92,6 +92,7 @@ cTimer::cTimer(const cTimer &Timer) channel = NULL; aux = NULL; event = NULL; + flags = tfNone; *this = Timer; }