On Sat, 19 Apr 2008 12:32:47 +0200 Yves-Alexis Perez <[EMAIL PROTECTED]> wrote:
> On ven, 2008-04-18 at 16:04 +0200, Andreas Rönnquist wrote: > > Hi! > > > > There seems to be a _very_ simple fix to #434272 - I have attached a > > patch that _I_ guess would fix it. > > > > (it is a one-line change.) > > Doesn't seem to fix anything no. The RSS size is now only 0, and VM size > doesn't change. > -- > Yves-Alexis > Really sorry, my mistake. Second try attached. (This should be right.) /Andreas
--- xfce4-taskmanager-0.4.0~rc2/src/xfce-taskmanager-linux-orig.c 2008-04-19 12:49:56.000000000 +0200 +++ xfce4-taskmanager-0.4.0~rc2/src/xfce-taskmanager-linux.c 2008-04-19 12:52:05.000000000 +0200 @@ -81,6 +81,8 @@ task.time = stime + utime; task.old_time = task.time; task.time_percentage = 0; + + task.size=task.size/1024; } task.uid = status.st_uid; passwdp = getpwuid(task.uid);