[Top][All Lists]

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

Re: Crash during access_keymap

From: Richard M. Stallman
Subject: Re: Crash during access_keymap
Date: Tue, 15 Nov 2005 18:21:59 -0500

    I meant a kind of analysis to ensure that any literals inside a
    function are not modified.

I don't quite follow.  If they are pure, they cannot be modified; the
primitives that would do so will signal an error.  Unless they have

    To detect the case that the contents of the pure storage are changed
    accidentally.  It actually occurred when I tried preloading
    international/encoded-kb.elc.  Maybe CHECK_IMPURE should be added to

If that function can modify a string, it must call CHECK_IMPURE.
On a system where "pure" space really is read-only, trying to 
modify it would cause an immediate crash--good for debugging, but
not an elegant way to report the problem.

reply via email to

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