Package: xosview
Version: 1.8.3+debian-10
Severity: normal
Tags: patch

Hello,

I made a typo in my previous "guest time" patch: guest time is field
number 7, not 8, so that guest time would be accounted twice in the
total, here is a patch

Samuel

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xosview depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.2-1  GCC support library
ii  libstdc++6                    4.3.2-1    The GNU Standard C++ Library v3
ii  libx11-6                      2:1.1.5-2  X11 client-side library

xosview recommends no packages.

xosview suggests no packages.

-- no debconf information

-- 
Samuel
* x remarque qu'avec un peu de volonté, on peut faire du code de porc
dans d'importe quel langage Turing-complet
 -+- x sur #ens-mim - codons porc -+-
diff -ur xosview-1.8.3+debian/debian/patches/23_cpumeter_guest_time.dpatch 
xosview-1.8.3+debian.mine/debian/patches/23_cpumeter_guest_time.dpatch
--- xosview-1.8.3+debian/debian/patches/23_cpumeter_guest_time.dpatch   
2008-10-13 02:34:44.000000000 +0200
+++ xosview-1.8.3+debian.mine/debian/patches/23_cpumeter_guest_time.dpatch      
2008-10-13 02:26:15.000000000 +0200
@@ -47,8 +47,8 @@
      fields_[field] = cputime_[cpuindex_][i] - cputime_[oldindex][i];
      total_ += fields_[field];
    }
-+  fields_[0] -= fields_[8];
-+  total_ -= fields_[8];
++  fields_[0] -= fields_[7];
++  total_ -= fields_[7];
  
    if (total_){
 -    setUsed (total_ - (fields_[5] + fields_[6] + fields_[7]), total_);

Reply via email to