r16206 - in /desktop/unstable/gnome-power-manager/debian: changelog patches/02-ups-invalid-free.patch
joss at users.alioth.debian.org
joss at users.alioth.debian.org
Sun Jun 8 18:45:14 UTC 2008
Author: joss
Date: Sun Jun 8 18:45:14 2008
New Revision: 16206
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=16206
Log:
02-ups-invalid-free.patch: patch from Avery Fay to fix invalid free
when the UPS level is too low. Closes: #482431.
Added:
desktop/unstable/gnome-power-manager/debian/patches/02-ups-invalid-free.patch
Modified:
desktop/unstable/gnome-power-manager/debian/changelog
Modified: desktop/unstable/gnome-power-manager/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-power-manager/debian/changelog?rev=16206&op=diff
==============================================================================
--- desktop/unstable/gnome-power-manager/debian/changelog (original)
+++ desktop/unstable/gnome-power-manager/debian/changelog Sun Jun 8 18:45:14 2008
@@ -1,3 +1,10 @@
+gnome-power-manager (2.22.1-2) UNRELEASED; urgency=low
+
+ * 02-ups-invalid-free.patch: patch from Avery Fay to fix invalid free
+ when the UPS level is too low. Closes: #482431.
+
+ -- Josselin Mouette <joss at debian.org> Sun, 08 Jun 2008 20:44:47 +0200
+
gnome-power-manager (2.22.1-1) unstable; urgency=low
* New upstream release.
Added: desktop/unstable/gnome-power-manager/debian/patches/02-ups-invalid-free.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-power-manager/debian/patches/02-ups-invalid-free.patch?rev=16206&op=file
==============================================================================
--- desktop/unstable/gnome-power-manager/debian/patches/02-ups-invalid-free.patch (added)
+++ desktop/unstable/gnome-power-manager/debian/patches/02-ups-invalid-free.patch Sun Jun 8 18:45:14 2008
@@ -1,0 +1,26 @@
+--- gnome-power-manager-2.22.1-orig/src/gpm-manager.c 2008-05-23 19:07:49.000000000 -0400
++++ gnome-power-manager-2.22.1-fixed/src/gpm-manager.c 2008-05-23 18:35:35.000000000 -0400
+@@ -1586,17 +1586,17 @@
+
+ /* use different text for different actions */
+ if (strcmp (action, ACTION_NOTHING) == 0) {
+- message = _("The UPS is below the critical level and "
++ message = g_strdup (_("The UPS is below the critical level and "
+ "this computer will <b>power-off</b> when the "
+- "UPS becomes completely empty.");
++ "UPS becomes completely empty."));
+
+ } else if (strcmp (action, ACTION_HIBERNATE) == 0) {
+- message = _("The UPS is below the critical level and "
+- "this computer is about to hibernate.");
++ message = g_strdup (_("The UPS is below the critical level and "
++ "this computer is about to hibernate."));
+
+ } else if (strcmp (action, ACTION_SHUTDOWN) == 0) {
+- message = _("The UPS is below the critical level and "
+- "this computer is about to shutdown.");
++ message = g_strdup (_("The UPS is below the critical level and "
++ "this computer is about to shutdown."));
+ }
+
+ g_free (action);
More information about the pkg-gnome-commits
mailing list