X-Reportbug-Version: 3.33 X-Debbugs-Cc: [EMAIL PROTECTED] Package: kmilo Version: 4:3.5.5-2 Severity: normal Tags: patch
[CCing last author of delli8k.cpp as per websvn] I have a Dell Latitude D510, and get many Megabytes of log output in ~/.xsession-errors. I measured ~40kB in 60 seconds. Looking at http://websvn.kde.org/branches/KDE/3.5/kdeutils/kmilo/delli8k/delli8k.cpp?view=markup I'd suggest the following patch, to avoid that problem. Currently I have to logoff/logon every day at least once, to free some 50 MB of space. Thank you! -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (600, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-686 Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_AT.utf8) Versions of packages kmilo depends on: ii kdelibs4c2a 4:3.5.5a.dfsg.1-5 core libraries and binaries for al ii libc6 2.3.6.ds1-10 GNU C Library: Shared libraries ii libgcc1 1:4.1.1-21 GCC support library ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library ii libpng12-0 1.2.15~beta5-1 PNG library - runtime ii libqt3-mt 3:3.3.7-3 Qt GUI Library (Threaded runtime v ii libsm6 1:1.0.1-3 X11 Session Management library ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3 ii libx11-6 2:1.0.3-4 X11 client-side library ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar ii libxtst6 1:1.0.1-5 X11 Testing -- Resource extension ii zlib1g 1:1.2.3-13 compression library - runtime kmilo recommends no packages. -- no debconf information
--- delli8k.cpp.orig 2007-01-22 10:13:30.000000000 +0100 +++ delli8k.cpp 2007-01-22 10:17:53.000000000 +0100 @@ -239,12 +239,18 @@ int DellI8kMonitor::fn_status( int fd ) { + static int error_already_printed; int args[1]; int rc; if( ( rc = ioctl( fd, I8K_FN_STATUS, &args ) ) < 0 ) { - kdError() << "KMilo: DellI8kMonitor: ioctl failed in fn_status()" << endl; + if (!error_already_printed) + { + kdError() << "KMilo: DellI8kMonitor: ioctl failed in fn_status()" << endl; + error_already_printed = 1; + } + return rc; }