Fix GTK+ crashes due to bad XDG_DATA_DIRS

Joe Marcus Clarke marcus at FreeBSD.org
Tue Dec 12 12:04:36 PST 2006


There is a problem with kde-xdg-env in that it adds a duplicate path
entry to XDG_DATA_DIRS when LOCALBASE == KDE_PREFIX.  This triggers
memory corruption in the xdgmime code used by GTK+ and gnome-vfs, and
can lead to strange crashes in apps like Firefox and Thunderbird.

This patch corrects this problem and adds a missing
LOCALBASE/share/gnome path to XDG_DATA_DIRS.  May I commit, or would one
of you do the honors?  Thanks.

http://www.marcuscom.com/downloads/kde-xdg-env.diff

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20061212/c5772cc6/attachment.pgp


More information about the freebsd-gnome mailing list