[Pkg-utopia-commits] r2389 - in /packages/unstable/consolekit/debian: changelog patches/03-cleanup_console_tags.patch
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Mon Jul 28 09:08:45 UTC 2008
Author: biebl
Date: Mon Jul 28 09:08:45 2008
New Revision: 2389
URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=2389
Log:
* 03-cleanup_console_tags.patch
- Properly initialize GError to avoid daemon crash if /var/run/console/
does not exist. Also, demote message about it from warning to debug,
since it is not an error condition at all. (Closes: #492686)
Patch by Martin Pitt, thanks.
Modified:
packages/unstable/consolekit/debian/changelog
packages/unstable/consolekit/debian/patches/03-cleanup_console_tags.patch
Modified: packages/unstable/consolekit/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/consolekit/debian/changelog?rev=2389&op=diff
==============================================================================
--- packages/unstable/consolekit/debian/changelog (original)
+++ packages/unstable/consolekit/debian/changelog Mon Jul 28 09:08:45 2008
@@ -1,3 +1,13 @@
+consolekit (0.2.10-2) UNRELEASED; urgency=high
+
+ * 03-cleanup_console_tags.patch
+ - Properly initialize GError to avoid daemon crash if /var/run/console/
+ does not exist. Also, demote message about it from warning to debug,
+ since it is not an error condition at all. (Closes: #492686)
+ Patch by Martin Pitt, thanks.
+
+ -- Michael Biebl <biebl at debian.org> Mon, 28 Jul 2008 11:03:43 +0200
+
consolekit (0.2.10-1) unstable; urgency=low
* New upstream release. (Closes: #464005, #489030)
Modified: packages/unstable/consolekit/debian/patches/03-cleanup_console_tags.patch
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/consolekit/debian/patches/03-cleanup_console_tags.patch?rev=2389&op=diff
==============================================================================
--- packages/unstable/consolekit/debian/patches/03-cleanup_console_tags.patch (original)
+++ packages/unstable/consolekit/debian/patches/03-cleanup_console_tags.patch Mon Jul 28 09:08:45 2008
@@ -12,14 +12,14 @@
+delete_console_tags (void)
+{
+ GDir *dir;
-+ GError *error;
++ GError *error = NULL;
+ const gchar *name;
+
+ g_debug ("Cleaning up %s", CONSOLE_TAGS_DIR);
+
+ dir = g_dir_open (CONSOLE_TAGS_DIR, 0, &error);
+ if (dir == NULL) {
-+ g_warning ("Couldn't open directory %s: %s", CONSOLE_TAGS_DIR,
++ g_debug ("Couldn't open directory %s: %s", CONSOLE_TAGS_DIR,
+ error->message);
+ g_error_free (error);
+ return;
More information about the Pkg-utopia-commits
mailing list