[Pkg-net-snmp-devel] Bug#475158: Simpler patch to different location (duplicate code)
Craig Miskell
craig at catalyst.net.nz
Fri Jul 15 02:00:48 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Turns out that the code that reports "No page line" and "No swap line"
has been duplicated in two files, one unused (the one Andrew patched),
and the other which had missing logic to set "first = 0" so that it only
complained once on startup.
The attached patch fixes the obvious bug, and has worked in testing here
on lenny.
- --
Craig Miskell
Systems Administrator, Catalyst IT
DDI: +64 4 8020427
==
I've got a lovely bunch of coconuts
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJOH59PAAoJENezkH+p+mMXDvEQALLvvbPVpcH8EKzDm89FXzTX
N9ZH9o5JcjkSQrUw+8SlIY+Q2ga/Fy3iw5AbQKjeqeq0oAtggBWfPpbGBwhzvs2Y
c42Qp4hz0VV32MVJi/Bq8X+33Cp2YBSTGIQxkgjK9C0KkBDorJyzX+U9+b+gA6b0
BsiS7cyK+B0rE5tDyj7aQOeOJ9tgOl5jo23ewJfawwi1EHf5eMPrS1YvEwPqnTV3
CciOdpoRYJMgZpm7bB8qDOGSyalFzbo48lnLWCcQzSJdcYgGGWDSaQIhiyO9dYRL
wsA/7LaCV6c43U+otiiaNdU2wFCBezwozrwiFguOSirjUgr7h/AZEOK1YE931Wwc
6+uwNuxffTrjK/QlPn4iP0vF8xe1edFsYNINOXuR8Gflm0iErm1ygp3JASgEloPi
Rd8yP6hK9J4wJVsQm9L2p0GO2y4OypT/AGIw0XQDpjaZTTRxQsX/X5ltuztXTEGi
4lF59+/9bvrVEkXyPpMgACYPKyZ6cqJZLnvdJ36Hf3b6aiQxrvjG/7Nuhe4dxXVA
52GLxGVL81Oz9fjX0sFf9LFVK8rppW1/F0NCn7bbnENwkXOdpHXOS1kAk7t0LFfm
KnYNhOiEqOr/iFZreEiWCEEFIU3xRAFeEd6u0XTpWdo74G7jvFQDE637IoX6faji
YAwgbl+LiXgmEH4p6vE8
=RyHs
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: net-snmp-logging.patch
Type: text/x-patch
Size: 248 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20110715/44fee012/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: net-snmp-logging.patch.sig
Type: application/octet-stream
Size: 543 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20110715/44fee012/attachment.obj>
More information about the Pkg-net-snmp-devel
mailing list