• Poul-Henning Kamp's avatar
    Overhaul compiler to get rid of memory leaks and other bogons. · 1024202a
    Poul-Henning Kamp authored
    Add a memlist to the tokenlist and a function which allocates
    with malloc(3) and hangs the piece on the memlist of tokenlist.
    At the end of compilation, we ditch everything on the list.
    
    Handle vrt_obj.h like the other #includes, and stuff these
    into a vsb instead of directly to a file.
    
    Free decoded token string, if any.
    
    Pull creation and destruction of tokenlist into separate functions
    for code clarity.  Remember to destry everything in the tokenlist.
    
    Pull invocation of cc(1) into a separate function and change the
    way we do it, so we get any cc(1) groans and whines back in the
    vsb so a CLI user will see them.  More errorchecks than before.
    
    More comments throughout.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1289 d4fa192b-c00b-0410-8231-f00ffab90ce4
    1024202a
Name
Last commit
Last update
bin Loading commit data...
debian Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
man Loading commit data...
redhat Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
svn2cl.xsl Loading commit data...