[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Spice Example RF_Amp



On Thu, 2009-08-06 at 07:53 -0400, Dan McMahill wrote:
> > # ngspice MSA-2643.cir 
> > Warning -approaching max data size: current size=5.488 kB, limit=0 bytes
> 
> I suspect the code for checking memory usage and limits is broken.  Are 
> you on somthing other than 32-bit i386?  Actually it works on an old 
> (ngspice-17) for me on an alpha but there could easy be machine and os 
> dep. code in the mix.

How do I get this patch into ngspice??  The mail list seems broken.  Or
maybe I did something wrong?

*** src/frontend/resource.c~	Fri Apr 17 14:59:05 2009
--- src/frontend/resource.c	Thu Aug  6 07:11:08 2009
***************
*** 549,555 ****
  #endif /*_WIN32_WINNT 0x0500*/
  #else
     FILE *fp;
!    char buffer[1024];
     size_t bytes_read;
     char *match;
     long mem_got;
--- 549,555 ----
  #endif /*_WIN32_WINNT 0x0500*/
  #else
     FILE *fp;
!    char buffer[2048];
     size_t bytes_read;
     char *match;
     long mem_got;




_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user