Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Mart Raudsepp (leio)" <leio@g.o>
Subject: gentoo-x86 commit in dev-libs/glib/files: glib-2.18.1-gdesktopappinfo-memleak-fix.patch glib-2.18.1-workaround-gio-test-failure-without-userpriv.patch
Date: Thu, 25 Sep 2008 09:40:07 +0000
leio        08/09/25 09:40:07

  Added:                glib-2.18.1-gdesktopappinfo-memleak-fix.patch
                        glib-2.18.1-workaround-gio-test-failure-without-userpriv.patch
  Log:
  Major version bump. Supports latest version of shared-mime spec, emblems on icons, subparsers in GMarkup, and more
  (Portage version: 2.2_rc9/cvs/Linux 2.6.26-gentoo-r1 x86_64)

Revision  Changes    Path
1.1                  dev-libs/glib/files/glib-2.18.1-gdesktopappinfo-memleak-fix.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/files/glib-2.18.1-gdesktopappinfo-memleak-fix.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/files/glib-2.18.1-gdesktopappinfo-memleak-fix.patch?rev=1.1&content-type=text/plain

Index: glib-2.18.1-gdesktopappinfo-memleak-fix.patch
===================================================================
2008-09-20  Matthias Clasen

* gdesktopappinfo.c (expand_macro_single): Plug a memory leak

--- branches/glib-2-18/gio/gdesktopappinfo.c	2008/09/21 00:00:18	7520
+++ branches/glib-2-18/gio/gdesktopappinfo.c	2008/09/21 00:04:37	7521
@@ -480,7 +480,7 @@
 {
   GFile *file;
   char *result = NULL;
-  char *path;
+  char *path, *name;
 
   file = g_file_new_for_uri (uri);
   path = g_file_get_path (file);
@@ -500,12 +500,20 @@
     case 'd':
     case 'D':
       if (path)
-	result = g_shell_quote (g_path_get_dirname (path));
+        {
+          name = g_path_get_dirname (path);
+	  result = g_shell_quote (name);
+          g_free (name);
+        }
       break;
     case 'n':
     case 'N':
       if (path)
-	result = g_shell_quote (g_path_get_basename (path));
+        {
+          name = g_path_get_basename (path);
+	  result = g_shell_quote (name);
+          g_free (name);
+        }
       break;
     }
 



1.1                  dev-libs/glib/files/glib-2.18.1-workaround-gio-test-failure-without-userpriv.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/files/glib-2.18.1-workaround-gio-test-failure-without-userpriv.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/files/glib-2.18.1-workaround-gio-test-failure-without-userpriv.patch?rev=1.1&content-type=text/plain

Index: glib-2.18.1-workaround-gio-test-failure-without-userpriv.patch
===================================================================
Temporary workaround for gio tests failure when ran without FEATURES=userpriv
until upstream bug #552912 is fixed

--- gio/tests/live-g-file.c.orig	2008-09-25 05:44:12.848556034 +0300
+++ gio/tests/live-g-file.c	2008-09-25 06:12:34.248726237 +0300
@@ -769,11 +769,14 @@
 	      if (posix_compat)
 		{
 		  /*  target directory is not accessible (no execute flag)  */
+#if 0
+/* Fails when ran as root */
 		  do_copy_move (root, item, TEST_DIR_NO_ACCESS,
 				TEST_NO_ACCESS);
 		  /*  target directory is readonly  */
 		  do_copy_move (root, item, TEST_DIR_NO_WRITE,
 				TEST_NO_ACCESS);
+#endif
 		}
 	    }
 	}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in media-sound/omptagger: ChangeLog omptagger-1.0.2.ebuild omptagger-1.0.1.ebuild omptagger-1.0.ebuild
Next by thread:
gentoo-x86 commit in dev-libs/glib: ChangeLog glib-2.18.1.ebuild
Previous by date:
gentoo-x86 commit in profiles: package.mask
Next by date:
gentoo-x86 commit in dev-libs/glib: ChangeLog glib-2.18.1.ebuild


Updated Feb 21, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.