File wvdial-1.56-no-logrotation-for-dev-null.patch of Package wvdial

diff -Naur wvdial-1.56.org/wvdial.cc wvdial-1.56/wvdial.cc
--- wvdial-1.56.org/wvdial.cc	2007-10-02 12:02:31.000000000 +0200
+++ wvdial-1.56/wvdial.cc	2007-10-02 12:04:52.000000000 +0200
@@ -86,7 +86,7 @@
     
     WvDialLogger 	rc;
     WvSyslog		*syslog = NULL;
-    WvLogFile           *filelog = NULL;
+    WvLogFileBase       *filelog = NULL;
     UniConfRoot         uniconf("temp:");
     WvConf              cfg(uniconf);
     WvStringList	sections;
@@ -206,7 +206,7 @@
 	    // receivers and thus will use WvLogConsole to log to stderr. 
 	    // That can disturb the communication with the modem on 
 	    // stdin/stdout. - Fixes a bug reported by SUSE on 04/05/04
-	    filelog = new WvLogFile( "/dev/null", WvLog::Debug2 ); 
+	    filelog = new WvLogFileBase( "/dev/null", WvLog::Debug2 ); 
 	} 
     }
     
openSUSE Build Service is sponsored by