The current lesstif 0.95.2 release causes nedit 5.5 to bus error when pasting text under i386-apple-darwin and powerpc-apple-darwin while x86_64-apple-darwin works fine. This is because a set of braces from the original debian patches for fixing the 64-bit problems in lesstif were omitted when the patch was applied to lesstif cvs. The following change restores the missing braces and eliminates the bus errors while allowing nedit in all three architectures to paste text.
--- lesstif-0.95.2/lib/Xm-2.1/CutPaste.c.org 2009-08-27 21:44:12.000000000 -0400
+++ lesstif-0.95.2/lib/Xm-2.1/CutPaste.c 2009-08-27 21:45:25.000000000 -0400
@@ -1028,9 +1028,11 @@
/* XChangeProperty expects a buffer of longs when receiving 32 bits
data, MEUHH */
if (sizeof(long) != 4)
+ {
convert_buf = XtMalloc(len * sizeof(long));
for (i = 0; i < len; i++)
convert_buf[i] = data[i];
+ }
break;
case 16:
Agreed. Will commit this patch soon, together with an other patch available from Fedora.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).