emacs-devel
[Top][All Lists]
Advanced

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

MPS: face-cache


From: Gerd Möllmann
Subject: MPS: face-cache
Date: Sat, 27 Apr 2024 22:20:48 +0200

FYI: Just found this while randomly debugging

  static uintptr_t
  lface_hash (Lisp_Object *v)
  {
    return (hash_string_case_insensitive (v[LFACE_FAMILY_INDEX])
            ^ hash_string_case_insensitive (v[LFACE_FOUNDRY_INDEX])
            ^ hash_string_case_insensitive (v[LFACE_FOREGROUND_INDEX])
            ^ hash_string_case_insensitive (v[LFACE_BACKGROUND_INDEX])
            ^ XHASH (v[LFACE_WEIGHT_INDEX])
            ^ XHASH (v[LFACE_SLANT_INDEX])
            ^ XHASH (v[LFACE_SWIDTH_INDEX])
            ^ XHASH (v[LFACE_HEIGHT_INDEX]));
  }

XHASH is address dependent, so it can't work. That should be igc_hash
for MPS.

Not today, though. Good night!



reply via email to

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