Patch #5: Fix Crash on PPC

Message ID 200509261505.10496.lists@magoa.net
State New
Headers

Commit Message

Sascha Volkenandt Sept. 26, 2005, 1:05 p.m. UTC
  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
  

Patch

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<T>::Clear();
     if (FileName) {
        free(fileName);
        fileName = strdup(FileName);