Re: [ng-spice-devel] spdefs.h patch (resend)


To ng-spice-devel@ieee.ing.uniroma1.it
From Paolo Nenzi <pnenzi@ieee.ing.uniroma1.it>
Date Sat, 10 Feb 2001 00:18:49 +0100 (CET)
Delivered-To mailing list ng-spice-devel@ieee.ing.uniroma1.it
In-Reply-To <Pine.SOL.3.96.1010209150831.2896A-100000@bitter.mit.edu >
Mailing-List contact ng-spice-devel-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice-devel@ieee.ing.uniroma1.it

On Fri, 9 Feb 2001 mcmahill@mtl.mit.edu wrote:

> 
> 
> --- src/maths/sparse/spdefs.h.orig      Wed Feb  7 09:34:39 2001
> +++ src/maths/sparse/spdefs.h   Wed Feb  7 15:58:55 2001
> @@ -260,5 +260,5 @@
>  #ifndef HAVE_LIBGC
>  #define CALLOC(ptr,type,number)                   \
> -{ ptr = (type *) calloc(type, number);            \
> +{ ptr = (type *) calloc( number , sizeof(type) ); \
>  }
>  #else /* HAVE_LIBCG */


Oop, the patch was applied only in my "experimental" copy and not
committed to the CVS. 

Now is in CVS

Ciao,
Paolo


Partial thread listing: