eboard 0.9.5 - x86_64 GUI crash fix
Brought to you by:
bergo
When eboard is compiled on x86_64, trying to access
the preferences item, "find text", and most other GUI
dialogs cause eboard to crash.
The reason is that the eboard 0.9.5 code uses a
varargs function GTK::show to call gtk_widget_show.
The last argument should be the NULL pointer. The
developer uses the 0 synonym for NULL - which is
almost always correct, unless it is used as an unnamed
argument for a varargs function... Now 0 is expanded
to a 32-bit value, instead of a 64-bit one, crashing
eboard. The thread at http://gcc.gnu.org/ml/gcc/2004-
08/msg00973.htm is informative.
x86_64 GUI crash fix for eboard 0.9.5
Logged In: NO
I forgot to note the same problem also affects
PatternBinder::add, both at 0.9.5 and at the CVS code. This
is trivially fixed in the same manner as the patch below.
Logged In: NO
I forgot to note the same problem also affects
PatternBinder::add, both at 0.9.5 and at the CVS code. This
is trivially fixed in the same manner as the patch below.