bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56553: 29.0.50; ASAN error with fringe bitmaps on NS


From: Gerd Möllmann
Subject: bug#56553: 29.0.50; ASAN error with fringe bitmaps on NS
Date: Fri, 15 Jul 2022 15:55:40 +0200


> On 2022-07-15,, at 12:37 , Eli Zaretskii <eliz@gnu.org> wrote:
> 
>> From: Gerd Möllmann <gerd.moellmann@gmail.com>
>> Date: Fri, 15 Jul 2022 11:14:02 +0200
>> Cc: Eli Zaretskii <eliz@gnu.org>,
>> 56553@debbugs.gnu.org
>> 
>> 
>>> On 2022-07-15,, at 10:23 , Po Lu <luangruo@yahoo.com> wrote:
>> 
>>> Yes, you're right here.  I think that code does want to access the
>>> individual bytes.
>> 
>> Interestingly, just doing
>> 
>>        const char *bitmap_bytes = (const char *) bits;
>>        bool bit = bitmap_bytes[byte] & (0x80 >> x % 8);
>> 
>> here results in garbage fringe bitmaps beign displayed.  I'm stumped.
> 
> Is the machine little-endian or big-endian?

Good question!  I think it's little-endian, but I'm not 100% sure. 







reply via email to

[Prev in Thread] Current Thread [Next in Thread]