From patchwork Mon Sep 26 13:05:10 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sascha Volkenandt X-Patchwork-Id: 12045 Received: from moutng.kundenserver.de ([212.227.126.171]) by www.linuxtv.org with esmtp (Exim 4.50) id 1EJsqv-0006zM-BH for vdr@linuxtv.org; Mon, 26 Sep 2005 15:17:05 +0200 Received: from p508E40B9.dip.t-dialin.net [80.142.64.185] (helo=transwarp) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML2Dk-1EJsqu1zFw-0004aA; Mon, 26 Sep 2005 15:17:04 +0200 From: Sascha Volkenandt To: Klaus Schmidinger's VDR Date: Mon, 26 Sep 2005 15:05:10 +0200 User-Agent: KMail/1.8 MIME-Version: 1.0 Message-Id: <200509261505.10496.lists@magoa.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:117b3e96b076b8f9c1bda89ed50a0d6f Subject: [vdr] Patch #5: Fix Crash on PPC X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sascha@akv-soft.de, Klaus Schmidinger's VDR List-Id: Klaus Schmidinger's VDR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 13:17:05 -0000 Status: O X-Status: X-Keywords: X-UID: 5152 Hi list, last but not least, this tiny patch fixes a segmentation fault when VDR is compiled on PPC. Don't ask me why this happens, and why it doesn't after patching. Greetings, Sascha Volkenandt diff -Nru vdr-1.3.33-orig/config.h vdr-1.3.33/config.h --- vdr-1.3.33-orig/config.h Wed Sep 14 18:04:09 2005 +++ vdr-1.3.33/config.h Mon Sep 26 15:02:36 2005 @@ -91,7 +91,7 @@ const char *FileName(void) { return fileName; } bool Load(const char *FileName = NULL, bool AllowComments = false, bool MustExist = false) { - Clear(); + cConfig::Clear(); if (FileName) { free(fileName); fileName = strdup(FileName);