>>>> "Eric" == Eric Benson
<eric_a_benson(a)yahoo.com> writes: 
    Eric> I moved this code to optimize_compiled_function instead, so
    Eric> that the args array isn't created until the first time the
    Eric> function is called. This should be better overall in almost
    Eric> all cases, and it avoids this bug since the args arrays of
    Eric> most functions don't even exist when pdump is called.
Work up a patch against 21.5.  I doubt it will go into 21.4 any time
soon.  Send it to xemacs-patches(a)xemacs.org.  Don't forget change logs
(in lisp/ChangeLog and in src/ChangeLog).
In general we don't like moving stuff from Lisp to C, but since a fix
in Lisp here would require redumping anyway, it's almost like moving
code within the C core.
If possible, preserve the references to this thread in your patch post.
-- 
Institute of Policy and Planning Sciences     
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.