From: Joey Hess <id@joeyh.name>
To: Danny Milosavljevic <dannym@scratchpost.org>,
Doug Torrance <dtorrance@monmouthcollege.edu>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add wmbattery
Date: Fri, 13 May 2016 11:17:49 -0400 [thread overview]
Message-ID: <20160513151749.GA21802@kitenet.net> (raw)
In-Reply-To: <20160513122507.127a7227@scratchpost.org>
[-- Attachment #1: Type: text/plain, Size: 1191 bytes --]
I'm not maintaining wmbattery anymore. I've cced Doug, its new
maintainer.
Danny Milosavljevic wrote:
> On Mon, 4 Apr 2016 17:04:51 -0400
> Kei Yamashita <kei@openmailbox.org> wrote:
>
> > The source tarball comes from Debian.
>
> The wmbattery version <http://http.debian.net/debian/pool/main/w/wmbattery/wmbattery_2.50.orig.tar.gz> that we use in Guix has a memory leak. It's been eating up all memory of my laptop for some time now, so I tracked it down.
>
> The fix would be:
>
> diff -ur orig/dockapps-30b9edb/upower.c dockapps-30b9edb/upower.c
> --- orig/dockapps-30b9edb/upower.c 2015-08-31 01:58:13.000000000 +0200
> +++ dockapps-30b9edb/upower.c 2016-05-12 07:21:27.550374114 +0200
> @@ -56,7 +56,8 @@
>
> int upower_supported(void)
> {
> - up = up_client_new();
> + if (!up)
> + up = up_client_new();
>
> if (!up) {
> return 0;
> @@ -78,7 +79,8 @@
> GPtrArray *devices = NULL;
> static int retries = 0;
>
> - up = up_client_new();
> + if (!up)
> + up = up_client_new();
>
> if (!up)
> return -1;
>
> I added Joey Hess, the author of the program, to Cc.
>
> @Joey Hess: what do you think?
--
see shy jo
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
next prev parent reply other threads:[~2016-05-13 15:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-04 21:04 [PATCH] gnu: Add wmbattery Kei Yamashita
2016-04-04 22:42 ` Danny Milosavljevic
2016-04-05 8:24 ` Leo Famulari
2016-04-05 8:52 ` Alex Kost
2016-05-13 10:25 ` Danny Milosavljevic
2016-05-13 15:17 ` Joey Hess [this message]
2016-05-15 2:38 ` Kei Yamashita
2016-05-17 21:05 ` Ludovic Courtès
2016-05-17 22:58 ` Kei Kebreau
2016-05-18 13:35 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160513151749.GA21802@kitenet.net \
--to=id@joeyh.name \
--cc=dannym@scratchpost.org \
--cc=dtorrance@monmouthcollege.edu \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.