I don't know how to make patch files.

But the crash can be stopped by editing
file-chooser/gtkfilesystemgnomevfs.c

and modifying the code around line 964 so the it tests for NULL 
because the crash is in the strcmp() call



/* Returns whether the MIME type of a vfs_info is
"application/x-desktop" */
static gboolean
is_desktop_file (GnomeVFSFileInfo *vfs_info)
{
        if (gnome_vfs_file_info_get_mime_type (vfs_info) == NULL)
          return (1 == 0);

  return ((vfs_info->valid_fields &
GNOME_VFS_FILE_INFO_FIELDS_MIME_TYPE) != 0
          && strcmp (gnome_vfs_file_info_get_mime_type (vfs_info),
"application/x-desktop") == 0);
}





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to