Re: [ng-spice-devel] spdefs.h patch (resend)
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: