Re: [Ecls-list] Segfault for invalid DIMS parameter to MAKE-ARRAY

2010-09-12 Thread Juan Jose Garcia-Ripoll
On Mon, Sep 6, 2010 at 2:46 AM, Mark Cox wrote: > + } else if (ecl_unlikely(!ECL_LISTP(dims))) { > + FEerror("DIMS is neither a FIXNUM nor a LIST. ~A",1,dims); > Included in CVS but now in a slightly different form. Juanjo -- Instituto de FĂ­sica Fundamental, CSIC c/ Serran

[Ecls-list] Segfault for invalid DIMS parameter to MAKE-ARRAY

2010-09-05 Thread Mark Cox
Hi, When evaluating (make-array #(3.5)), ECL currently segfaults. With the attached patch, make-array now produces an error when the DIMS parameter is neither a FIXNUM nor a LIST. Mark ===File ~/tmp/array.diff diff --git a/src/c/array.d b/src/c/array.d inde