Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2012 07:10:04 GMT
From:      Sayetsky Anton <vsjcfm@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/167970: [patch] sysutils/htop miscalculates memory usage
Message-ID:  <201205170710.q4H7A4tt059179@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/167970; it has been noted by GNATS.

From: Sayetsky Anton <vsjcfm@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/167970: [patch] sysutils/htop miscalculates memory usage
Date: Thu, 17 May 2012 10:03:56 +0300

 --20cf3056406b40d3da04c0360b0b
 Content-Type: text/plain; charset=ISO-8859-1
 
 Patches resend
 
 --20cf3056406b40d3da04c0360b0b
 Content-Type: application/octet-stream; name=patch-Makefile
 Content-Disposition: attachment; filename=patch-Makefile
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_h2bh1z570
 
 LS0tIE1ha2VmaWxlCTIwMTItMDMtMDUgMjE6MDI6MTcuMDAwMDAwMDAwICswMjAwCisrKyAvcm9v
 dC9NYWtlZmlsZQkyMDEyLTA1LTE2IDE3OjQwOjQ5LjAwMDAwMDAwMCArMDMwMApAQCAtNyw2ICs3
 LDcgQEAKIAogUE9SVE5BTUU9CWh0b3AKIFBPUlRWRVJTSU9OPQkxLjAuMQorUE9SVFJFVklTSU9O
 PQkxCiBDQVRFR09SSUVTPQlzeXN1dGlscwogTUFTVEVSX1NJVEVTPQlTRgogCg==
 --20cf3056406b40d3da04c0360b0b
 Content-Type: application/octet-stream; name="patch-configure.ac"
 Content-Disposition: attachment; filename="patch-configure.ac"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_h2bh31b41
 
 LS0tIC4vY29uZmlndXJlLmFjLm9yaWcJMjAxMS0xMi0yNiAyMzo0Njo1Ny4wMDAwMDAwMDAgKzAy
 MDAKKysrIC4vY29uZmlndXJlLmFjCTIwMTItMDUtMTYgMTc6Mzk6NTAuMDAwMDAwMDAwICswMzAw
 CkBAIC0yMywxMSArMjMsMTIgQEAKIAogIyBDaGVja3MgZm9yIGxpYnJhcmllcy4KIEFDX0NIRUNL
 X0xJQihbbV0sIFtjZWlsXSwgW10sIFttaXNzaW5nX2xpYnJhcmllcz0iJG1pc3NpbmdfbGlicmFy
 aWVzIGxpYm0iXSkKK0FDX0NIRUNLX0xJQihba3ZtXSwgW2t2bV9vcGVuXSwgW10sIFttaXNzaW5n
 X2xpYnJhcmllcz0iJG1pc3NpbmdfbGlicmFyaWVzIGxpYmt2bSJdKQogCiAjIENoZWNrcyBmb3Ig
 aGVhZGVyIGZpbGVzLgogQUNfSEVBREVSX0RJUkVOVAogQUNfSEVBREVSX1NUREMKLUFDX0NIRUNL
 X0hFQURFUlMoW3N0ZGxpYi5oIHN0cmluZy5oIHN0cmluZ3MuaCBzeXMvcGFyYW0uaCBzeXMvdGlt
 ZS5oIHVuaXN0ZC5oIGN1cnNlcy5oXSxbOl0sWworQUNfQ0hFQ0tfSEVBREVSUyhbc3RkbGliLmgg
 c3RyaW5nLmggc3RyaW5ncy5oIHN5cy9wYXJhbS5oIHN5cy90aW1lLmggdW5pc3RkLmggY3Vyc2Vz
 Lmgga3ZtLmggcGF0aHMuaCBmY250bC5oIHN5cy9zeXNjdGwuaF0sWzpdLFsKICAgbWlzc2luZ19o
 ZWFkZXJzPSIkbWlzc2luZ19oZWFkZXJzICRhY19oZWFkZXIiCiBdKQogQUNfQ0hFQ0tfSEVBREVS
 UyhbZXhlY2luZm8uaF0sWzpdLFs6XSkK
 --20cf3056406b40d3da04c0360b0b
 Content-Type: text/x-csrc; charset=US-ASCII; name="patch-ProcessList.c"
 Content-Disposition: attachment; filename="patch-ProcessList.c"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_h2bh3dyq2
 
 LS0tIC4vUHJvY2Vzc0xpc3QuYy5vcmlnCTIwMTItMDItMDMgMDE6NDU6MTEuMDAwMDAwMDAwICsw
 MjAwCisrKyAuL1Byb2Nl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 TEJZTkFNRSgidm0uc3RhdHMudm0udl9wYWdlX2NvdW50IiwgdGhpcy0+dG90YWxNZW0sIGxlbik7
 CisgICB0aGlzLT50b3RhbE1lbSAqPSBQQUdFX1NJWkUgLyBLQjsKKyAgIGxlbiA9IHNpemVvZih0
 aGlzLT5jYWNoZWRNZW0pOworICAgU1lTQ1RMQllOQU1FKCJ2bS5zdGF0cy52bS52X2NhY2hlX2Nv
 dW50IiwgdGhpcy0+Y2FjaGVkTWVtLCBsZW4pOworICAgdGhpcy0+Y2FjaGVkTWVtICo9IFBBR0Vf
 U0laRSAvIEtCOworICAgbGVuID0gc2l6ZW9mKHRoaXMtPmJ1ZmZlcnNNZW0pOworICAgU1lTQ1RM
 QllOQU1FKCJ2ZnMuYnVmc3BhY2UiLCB0aGlzLT5idWZmZXJzTWVtLCBsZW4pOworICAgdGhpcy0+
 YnVmZmVyc01lbSAvPSBLQjsKKyAgIGxlbiA9IHNpemVvZih0aGlzLT51c2VkTWVtKTsKKyAgIFNZ
 U0NUTEJZTkFNRSgidm0uc3RhdHMudm0udl9hY3RpdmVfY291bnQiLCB0aGlzLT51c2VkTWVtLCBs
 ZW4pOworICAgdGhpcy0+dXNlZE1lbSA9IHRoaXMtPnVzZWRNZW0gKiBQQUdFX1NJWkUgLyBLQiAr
 IHRoaXMtPmNhY2hlZE1lbSArIHRoaXMtPmJ1ZmZlcnNNZW07CisgICB0aGlzLT5mcmVlTWVtID0g
 dGhpcy0+dG90YWxNZW0gLSB0aGlzLT51c2VkTWVtOworICAgI2VuZGlmCiAKICAgIGZpbGUgPSBm
 b3BlbihQUk9DU1RBVEZJTEUsICJyIik7CiAgICBhc3NlcnQoZmlsZSAhPSBOVUxMKTsK
 --20cf3056406b40d3da04c0360b0b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205170710.q4H7A4tt059179>