[Top][All Lists]

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

Re: Crash during access_keymap

From: Kim F. Storm
Subject: Re: Crash during access_keymap
Date: Tue, 15 Nov 2005 10:57:14 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Richard M. Stallman" <address@hidden> writes:

>     Yeah, I only thought about the case that a pointer in the pure storage
>     are changed so as to point to an impure object during the execution of
>     a dumped one, but that may also occur in a dumping session.
> Pure objects should never be changed; that's why it is ok to make them
> pure.  The access primitives to modify slost in types that can be pure
> are supposed to detect such an attempt and signal errors, with
> If any such primitive fails to use CHECK_IMPURE, let's just fix it.

The following doesn't CHECK_IMPURE:

#define XSETCAR(c,n) (XCAR_AS_LVALUE(c) = (n))
#define XSETCDR(c,n) (XCDR_AS_LVALUE(c) = (n))

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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