Mercurial > hg > xemacs-beta
changeset 1739:9ddedfc70c4a
[xemacs-hg @ 2003-10-10 18:04:23 by james]
Fix minor C++ breakage introduced by Eric Benson's patch.
author | james |
---|---|
date | Fri, 10 Oct 2003 18:04:25 +0000 |
parents | f43f9ca6c7d9 |
children | cf42e3b47b41 |
files | src/ChangeLog src/alloc.c |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Fri Oct 10 12:39:45 2003 +0000 +++ b/src/ChangeLog Fri Oct 10 18:04:25 2003 +0000 @@ -1,3 +1,8 @@ +2003-10-10 Jerry James <james@xemacs.org> + + * alloc.c (make_compiled_function): Fix C++ breakage introduced by + 2003-07-25 patch. + 2003-07-25 Eric Benson <eric_a_benson@yahoo.com> Delay the allocation and initialization of the args array in
--- a/src/alloc.c Fri Oct 10 12:39:45 2003 +0000 +++ b/src/alloc.c Fri Oct 10 18:04:25 2003 +0000 @@ -1505,7 +1505,8 @@ f->instructions = Qzero; f->constants = Qzero; f->arglist = Qnil; - f->args = f->max_args = f->min_args = f->args_in_array = 0; + f->args = NULL; + f->max_args = f->min_args = f->args_in_array = 0; f->doc_and_interactive = Qnil; #ifdef COMPILED_FUNCTION_ANNOTATION_HACK f->annotated = Qnil;