Your message dated Sun, 21 Aug 2005 06:47:07 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#227187: fixed in xsysinfo 1.7-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Jan 2004 00:34:47 +0000
>From [EMAIL PROTECTED] Sun Jan 11 18:34:30 2004
Return-path: <[EMAIL PROTECTED]>
Received: from s4.uklinux.net (mail2.uklinux.net) [80.84.72.14] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1AfkNo-0004QP-00; Sun, 11 Jan 2004 12:32:20 -0600
Received: from localhost (s4.uklinux.net [127.0.0.1])
        by mail2.uklinux.net (Postfix) with ESMTP id E94B1409FB5
        for <[EMAIL PROTECTED]>; Sun, 11 Jan 2004 18:32:19 +0000 (UTC)
Received: from mail2.uklinux.net ([127.0.0.1])
 by localhost (s4.uklinux.net [127.0.0.1:10024]) (amavisd-new) with ESMTP
 id 22719-02 for <[EMAIL PROTECTED]>;
 Sun, 11 Jan 2004 18:31:48 +0000 (GMT)
Received: from debian2 (cpc3-flee1-4-0-cust129.glfd.cable.ntl.com 
[81.99.177.129])
        by mail2.uklinux.net (Postfix) with ESMTP id 307FE409FA3
        for <[EMAIL PROTECTED]>; Sun, 11 Jan 2004 18:31:48 +0000 (UTC)
Received: from pm by debian2 with local (Exim 3.35 #1 (Debian))
        id 1AfkNI-00050X-00; Sun, 11 Jan 2004 18:31:48 +0000
From: Philip Martin <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: xsysinfo: display swap on 2.6 kernels
X-Mailer: reportbug 1.50
Date: Sun, 11 Jan 2004 18:31:48 +0000
Message-Id: <[EMAIL PROTECTED]>
Sender: Philip Martin <[EMAIL PROTECTED]>
X-Virus-Scanned: by amavisd-new
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 
        2.60-master.debian.org_2003_11_25-bugs.debian.org_2004_1_5 
        (1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
        version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2004_1_5
X-Spam-Level: 

Package: xsysinfo
Version: 1.6-12.2
Severity: wishlist
Tags: patch

Kernel 2.6 removed the MemShared line from /proc/meminfo, and this
causes xsysinfo to fail to display a swap bar.  I'm using the following
patch


--- sysinfo.c~  Sun Jan 11 17:48:37 2004
+++ sysinfo.c   Sun Jan 11 17:42:44 2004
@@ -86,9 +86,12 @@
 
        /* Try new /proc/meminfo format first */
        *swapdevs = 1;
+       if ((result[0].shared = getentry("MemShared:", buffer)) < 0) {
+           /* Linux 2.4 has MemShared (but it's always zero?), 2.6 doesn't */
+           result[0].shared = 0;
+       }
        if ((result[0].total   = getentry("MemTotal:", buffer))  < 0 ||
            (result[0].free    = getentry("MemFree:", buffer))   < 0 ||
-           (result[0].shared  = getentry("MemShared:", buffer)) < 0 ||
            (result[0].buffers = getentry("Buffers:", buffer))   < 0 ||
            (result[0].cache   = getentry("Cached:", buffer))    < 0 ||
            (result[1].total   = getentry("SwapTotal:", buffer)) < 0 ||



-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux debian2 2.6.1 #1 SMP Sun Jan 11 16:33:20 GMT 2004 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages xsysinfo depends on:
ii  libc6                     2.2.5-11.5     GNU C Library: Shared libraries an
ii  libxaw6                   4.1.0-16woody1 X Athena widget set library (versi
ii  xlibs                     4.1.0-16woody1 X Window System client libraries


---------------------------------------
Received: (at 227187-close) by bugs.debian.org; 21 Aug 2005 13:49:17 +0000
>From [EMAIL PROTECTED] Sun Aug 21 06:49:17 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E6qAF-0001iF-00; Sun, 21 Aug 2005 06:47:07 -0700
From: Matej Vela <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#227187: fixed in xsysinfo 1.7-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 21 Aug 2005 06:47:07 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: xsysinfo
Source-Version: 1.7-1

We believe that the bug you reported is fixed in the latest version of
xsysinfo, which is due to be installed in the Debian FTP archive:

xsysinfo_1.7-1.diff.gz
  to pool/main/x/xsysinfo/xsysinfo_1.7-1.diff.gz
xsysinfo_1.7-1.dsc
  to pool/main/x/xsysinfo/xsysinfo_1.7-1.dsc
xsysinfo_1.7-1_i386.deb
  to pool/main/x/xsysinfo/xsysinfo_1.7-1_i386.deb
xsysinfo_1.7.orig.tar.gz
  to pool/main/x/xsysinfo/xsysinfo_1.7.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matej Vela <[EMAIL PROTECTED]> (supplier of updated xsysinfo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 21 Aug 2005 14:58:15 +0200
Source: xsysinfo
Binary: xsysinfo
Architecture: source i386
Version: 1.7-1
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[EMAIL PROTECTED]>
Changed-By: Matej Vela <[EMAIL PROTECTED]>
Description: 
 xsysinfo   - Display some Linux kernel parameters in graphical form
Closes: 227187 252172
Changes: 
 xsysinfo (1.7-1) unstable; urgency=low
 .
   * QA upload.
   * Package is orphaned (see #224842); set maintainer to Debian QA Group.
   * New upstream release.
   * Remove object files from upstream tarball.  Closes: #252172.
   * Display swap on 2.6 kernels; thanks to Philip Martin for the patch.
     Closes: #227187.
   * Rename xsysinfo.1x to xsysinfo.man as this is what the Makefile expects.
   * Switch to debhelper 4.
   * Replace build dependencies on libxaw7-dev and xlibs-dev with libxaw8-dev
     and libxp-dev (the latter only because of #324275).
   * Add support for DEB_BUILD_OPTIONS=noopt and DEB_BUILD_OPTIONS=nostrip.
   * debian/changelog: Remove obsolete Emacs local variables.
   * debian/copyright: Remove outdated list of changes.
   * debian/preinst: Remove potato compatibility code.
   * Conforms to Standards version 3.6.2.
Files: 
 b815cc2775bf7adc638a241ea8ca5c8f 606 utils optional xsysinfo_1.7-1.dsc
 1d89ebe8b81bf8300251ee71da2e3d55 20928 utils optional xsysinfo_1.7.orig.tar.gz
 ab0c5fefc3b1b60fd9ee8a99e2209673 6301 utils optional xsysinfo_1.7-1.diff.gz
 45149d2d755feda6b435b3d2e1356824 20076 utils optional xsysinfo_1.7-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDCHpyxBYivKllgY8RAqeaAJwITHIsqy9CnVmyTbEqDMc9GQDNEQCgwAzr
2YHYlfs0FxhnZkoAKLkvhtM=
=Cluu
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to