http://bugs.gentoo.org/show_bug.cgi?id=52634

users were noticing weird results while using Eterm and they tracked it back 
to libast's MEMSET() macro in eterm/libast/include/libast.h:

    if (((unsigned long) count) >= 4 * sizeof(long)) { \
        /* fill l with c. */ \
        l = (c) | (c)<<8; \
        l |= l<<16; \
        MEMSET_LONG();

the problem being that on 64 bit archs, you'll need a little more << 
loving ... the patch provided by Jason McCarver is to add another line:
l |= l<<32; \
right before the MEMSET_LONG() call
http://bugs.gentoo.org/attachment.cgi?id=34976&action=view

perhaps the MEMSET_LONG() call itself will need updating ?
-mike


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to