[Bug 37760] Re: All GNOME programs segfault immediately on AMD64

dhd dhuggins at fastmail.us
Sun Apr 2 19:08:20 UTC 2006


This was a really stupid bug and very easy to fix.  Here is the patch:

--- at-spi-1.7.6/atk-bridge/bridge.c~   2006-02-27 12:28:13.000000000 -0500
+++ at-spi-1.7.6/atk-bridge/bridge.c    2006-04-02 15:05:27.000000000 -0400
@@ -311,7 +311,7 @@
                canonical_display_name = g_strdup (display_env);
                display_p = strrchr (canonical_display_name, ':');
                screen_p = strrchr (canonical_display_name, '.');
-               if (screen_p && display_p && ((guint) screen_p > (guint) display_p))
+               if (screen_p && display_p && ((gulong) screen_p > (gulong) display_p))
                {
                    *screen_p = '\0';
                }

-- 
All GNOME programs segfault immediately on AMD64
https://launchpad.net/malone/bugs/37760




More information about the desktop-bugs mailing list