Fix a bug that causes application crashes
This commit is contained in:
parent
2739a72ac2
commit
01e4363df3
@ -1,7 +1,7 @@
|
||||
Summary: Backends for the gio framework in GLib
|
||||
Name: gvfs
|
||||
Version: 0.2.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.gtk.org
|
||||
@ -35,6 +35,7 @@ BuildRequires: automake autoconf
|
||||
BuildRequires: libtool
|
||||
Patch1: gvfs-0.2.2-archive-integration.patch
|
||||
Patch2: gvfs-64clean.patch
|
||||
Patch3: regexxer-crash.patch
|
||||
|
||||
%description
|
||||
The gvfs package provides backend implementations for the gio
|
||||
@ -65,6 +66,7 @@ to access the gvfs filesystems.
|
||||
%setup -q
|
||||
%patch1 -p0 -b .archive-integration
|
||||
%patch2 -p1 -b .64clean
|
||||
%patch3 -p1 -b .regexxer-crash
|
||||
|
||||
%build
|
||||
|
||||
@ -178,6 +180,9 @@ update-desktop-database &> /dev/null ||:
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Apr 14 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.3-3
|
||||
- Fix a bug that causes application crashes (#441084)
|
||||
|
||||
* Fri Apr 11 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.3-2
|
||||
- Fix a crash of the fuse daemon on 64bit
|
||||
|
||||
|
13
regexxer-crash.patch
Normal file
13
regexxer-crash.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -up gvfs-0.2.3/common/gmounttracker.c.regexxer-crash gvfs-0.2.3/common/gmounttracker.c
|
||||
--- gvfs-0.2.3/common/gmounttracker.c.regexxer-crash 2008-04-14 00:41:08.000000000 -0400
|
||||
+++ gvfs-0.2.3/common/gmounttracker.c 2008-04-14 00:41:26.000000000 -0400
|
||||
@@ -236,7 +236,8 @@ g_mount_tracker_finalize (GObject *objec
|
||||
|
||||
tracker = G_MOUNT_TRACKER (object);
|
||||
|
||||
- g_mutex_free (tracker->lock);
|
||||
+ if (tracker->lock)
|
||||
+ g_mutex_free (tracker->lock);
|
||||
|
||||
g_list_foreach (tracker->mounts,
|
||||
(GFunc)g_mount_info_unref, NULL);
|
Loading…
Reference in New Issue
Block a user