rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* Update on memory leaks
       [not found] <9208150545.AA17514@netapp.netapp>
@ 1992-08-16  0:54 ` Scott Schwartz
  0 siblings, 0 replies; only message in thread
From: Scott Schwartz @ 1992-08-16  0:54 UTC (permalink / raw)
  To: Byron Rakitzis; +Cc: rc


It looks like it is Sun's yacc's fault.  It mallocs space for the parse
stack at the top of yyparse, and frees it when YYACCEPT or YYABORT is
called.  Unfortunately, longjmp defeats that strategy.  Sun's ansi yacc
mallocs once and saves the pointer in global.  Berkeley yacc statically
allocates things.  Bison uses all sorts of techniques, but it seems to
work ok.  



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1992-08-16  0:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <9208150545.AA17514@netapp.netapp>
1992-08-16  0:54 ` Update on memory leaks Scott Schwartz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).