Re: gnome-vfs xdg patch for 2.10



It seems that my (few ) remaining crashes/freezes comes from gnome-vfs-mime-info.c

You patched gnome-vfs-mime.c but not gnome-vfs-mime-info.c in CVS 2.10. Is it volunteer ? Sorry, I'm not a developper and all that is not really obvious for me.

Could this patch solves   the problem for 2.10  ? I have to apply it to 50 users in a corporate environment, so I don't want to be wrong :-)


For 2.10 branch :


--- gnome-vfs-mime-info.c.orig  2005-09-26 13:54:55.138736000 +0200
+++ gnome-vfs-mime-info.c       2005-09-26 13:58:30.698233000 +0200
@@ -71,6 +71,8 @@

 static GHashTable *mime_entries = NULL;

+G_LOCK_EXTERN (gnome_vfs_mime_mutex);
+
 static gboolean
 does_string_contain_caps (const char *string)
 {
@@ -491,7 +493,9 @@
        MimeEntry *entry;
        char *path;

+G_LOCK (gnome_vfs_mime_mutex);
        umime = xdg_mime_unalias_mime_type (mime_type);
+G_UNLOCK (gnome_vfs_mime_mutex);

        entry = g_hash_table_lookup (mime_entries, umime);


Cordialement / Cheers.
 
-Olivier
CNS


Alexander Larsson wrote:
On Thu, 2005-09-22 at 13:49 +0200, Le Lain, Olivier wrote:
  
Hello,

This is related to the question I just asked there :  
http://bugzilla.gnome.org/show_bug.cgi?id=170947.
In a more general way, is there a chance there will be a "maintenance 
release" for gnome-vfs and nautilus 2.10 ?
I mean a nautilus and gnome-vfs 2.10.2 with all cvs patches available 
since 2.10.1 ?
    

We generally stop maintaining 2.x when 2.(x+2) is released, but it seems
prudent to do a last release of it. I'm a bit busy atm though, is anyone
else interested in doing this? Its pretty simple, especially if you have
gnome 2.10 installed.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a sword-wielding drug-addicted astronaut on a mission from God. She's a 
radical communist Valkyrie who believes she is the reincarnation of an ancient 
Egyptian queen. They fight crime! 

  


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]