rpms/glib2/devel crash.patch,NONE,1.1 glib2.spec,1.173,1.174

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Thu Jul 3 23:00:22 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/glib2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18551

Modified Files:
	glib2.spec 
Added Files:
	crash.patch 
Log Message:
Fix a crash


crash.patch:

--- NEW FILE crash.patch ---
diff -up glib-2.17.3/gio/gdesktopappinfo.c.crash glib-2.17.3/gio/gdesktopappinfo.c
--- glib-2.17.3/gio/gdesktopappinfo.c.crash	2008-07-03 18:57:41.000000000 -0400
+++ glib-2.17.3/gio/gdesktopappinfo.c	2008-07-03 18:57:47.000000000 -0400
@@ -241,7 +241,6 @@ g_desktop_app_info_new_from_keyfile (GKe
 	}
       g_free (t);
     }
-  g_free (try_exec);
 
   info = g_object_new (G_TYPE_DESKTOP_APP_INFO, NULL);
   info->filename = NULL;


Index: glib2.spec
===================================================================
RCS file: /cvs/extras/rpms/glib2/devel/glib2.spec,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -r1.173 -r1.174
--- glib2.spec	3 Jul 2008 15:57:57 -0000	1.173
+++ glib2.spec	3 Jul 2008 22:59:36 -0000	1.174
@@ -3,7 +3,7 @@
 Summary: A library of handy utility functions
 Name: glib2
 Version: 2.17.3
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtk.org
@@ -25,6 +25,9 @@
 # https://bugzilla.gnome.org/show_bug.cgi?id=529694
 Patch3: gio-2.16-selinux-set-support.diff
 
+# Fixed in upstream svn
+Patch4: crash.patch
+
 %description 
 GLib is the low-level core library that forms the basis
 for projects such as GTK+ and GNOME. It provides data structure
@@ -58,6 +61,7 @@
 %setup -q -n glib-%{version}
 %patch2 -p1 -b .only-pass-uri-to-gio-apps
 %patch3 -p0 -b .selinux
+%patch4 -p1 -b .crash
 
 %build
 %configure --disable-gtk-doc --enable-static 
@@ -132,6 +136,9 @@
 %{_libdir}/lib*.a
 
 %changelog
+* Thu Jul  3 2008 Matthias Clasen <mclasen at redhat.com> - 2.17.3-3
+- Fix a stupid crash
+
 * Wed Jul  2 2008 Matthias Clasen <mclasen at redhat.com> - 2.17.3-1
 - Update to 2.17.3
 




More information about the fedora-extras-commits mailing list