[Ecls-list] potential bug in dpp.c
Juan Jose Garcia-Ripoll
Juan.Ripoll at mpq.mpg.de
Tue Jan 8 06:17:05 UTC 2002
Gregory Lampshire wrote:
> Line 647:
> fprintf(out, "\tva_parse_key(narg-%d, ARGS, %d, KEYS, KEY_VARS, NULL,
> nreq+nopt, nkey, allow_other_keys_flag);
> I think the ARGS in the format string above should be whatever the rest_var
> is as declared a few lines above.
This is true, but the bug goes beyond that, as the value of the &rest
variable is clobbered by the keyword search process, so that &rest +
&key in C code lead to bogus programs. I will fix it in two days time.
More information about the ecl-devel