1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-20 15:10:37 -08:00

(oblookup): Clear ARRAY_MARK_FLAG in obsize.

This commit is contained in:
Richard M. Stallman 1995-11-10 15:56:08 +00:00
parent 118d6ca9bb
commit 519418b37a

View file

@ -1961,6 +1961,8 @@ oblookup (obarray, ptr, size)
obarray = check_obarray (obarray);
obsize = XVECTOR (obarray)->size;
}
/* This is sometimes needed in the middle of GC. */
obsize &= ~ARRAY_MARK_FLAG;
/* Combining next two lines breaks VMS C 2.3. */
hash = hash_string (ptr, size);
hash %= obsize;