"Richard M. Stallman" <[EMAIL PROTECTED]> 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
> CHECK_IMPURE
>
> 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 <[EMAIL PROTECTED]> http://www.cua.dk



_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to