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: Eli Zaretskii
Subject: bug#56553: 29.0.50; ASAN error with fringe bitmaps on NS
Date: Fri, 15 Jul 2022 13:37:01 +0300

> 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?





reply via email to

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