Version: (using KDE 4.2.4) Compiler: gcc version 4.3.2 Gentoo 4.3.2-r3 p1.6, pie-10.1.5 OS: Linux Installed from: Gentoo Packages kppplogbiew uses int to count bytes in and out in a session and to sum up bytes in and out during a month, when any of those variables reaches 2 GB an overflow happens.
Created attachment 34608 [details] Use 64-bit variables instead of 32-bit to count bytes This patch fix the problem for me.
Any news about when this patch can be added to KDE? I hope it can be added to 4.3 since it does not change strings, so no problem for the translation team. I have been using it for some weeks and everything is ok here.
SVN commit 993951 by lvsouza: kppplogview uses int to count bytes in and out in a session and to sum up bytes in and out during a month, when any of those variables reaches 2 GB an overflow happens. This patch changes variable types from 32-bit to 64-bit. BUG: 196839 M +3 -3 loginfo.cpp M +3 -3 loginfo.h M +11 -11 monthly.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=993951
SVN commit 1002338 by lvsouza: Backport r993951 by lvsouza from trunk to the 4.2 branch: kppplogview uses int to count bytes in and out in a session and to sum up bytes in and out during a month, when any of those variables reaches 2 GB an overflow happens. This patch changes variable types from 32-bit to 64-bit. CCBUG: 196839 M +3 -3 loginfo.cpp M +3 -3 loginfo.h M +11 -11 monthly.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1002338
SVN commit 1002341 by lvsouza: Backport r993951 by lvsouza from trunk to the 4.3 branch: kppplogview uses int to count bytes in and out in a session and to sum up bytes in and out during a month, when any of those variables reaches 2 GB an overflow happens. This patch changes variable types from 32-bit to 64-bit. CCBUG: 196839 M +3 -3 loginfo.cpp M +3 -3 loginfo.h M +11 -11 monthly.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1002341